Class DisinheritRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.DisinheritRequest
- All Implemented Interfaces:
Serializable
Request to set the multichannelling exclusion and disinheriting status of an object
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIDs of nodes/channels, in which the object will not be inherited.True if the object should be disinherited by default in new channels (default:false).True if the object shall be excluded from multichannelling, false if notTrue if exclusion and disinheriting shall be set recursively (if set on folders), false if notIDs of nodes/channels, in which the object will be inherited.voidsetDisinherit(List<Integer> disinherit) Set node IDs to disinherit objectvoidsetDisinheritDefault(Boolean disinheritDefault) Set the default disinheriting behavior.voidsetExclude(Boolean exclude) Set true to exclude object from multichannellingvoidsetRecursive(Boolean recursive) Set true for recursive setting of exclusion/disinheritingvoidsetReinherit(List<Integer> reinherit) Set node IDs to reinherit object
-
Constructor Details
-
DisinheritRequest
public DisinheritRequest()Empty constructor
-
-
Method Details
-
getExclude
True if the object shall be excluded from multichannelling, false if not- Returns:
- true for exclusion
-
setExclude
Set true to exclude object from multichannelling- Parameters:
exclude- true to exclude
-
getDisinherit
IDs of nodes/channels, in which the object will not be inherited. This will be ignored, if the object is excluded from multichannelling- Returns:
- set of node IDs
-
setDisinherit
Set node IDs to disinherit object- Parameters:
disinherit- set of node IDs
-
getReinherit
IDs of nodes/channels, in which the object will be inherited. This will be ignored, if the object is excluded from multichannelling- Returns:
- set of node IDs
-
setReinherit
Set node IDs to reinherit object- Parameters:
reinherit- set of node IDs
-
getRecursive
True if exclusion and disinheriting shall be set recursively (if set on folders), false if not- Returns:
- true for recursive
-
setRecursive
Set true for recursive setting of exclusion/disinheriting- Parameters:
recursive- true for recursive
-
getDisinheritDefault
True if the object should be disinherited by default in new channels (default:false).- Returns:
trueif disinheriting is the default for new channels,falseotherwise.
-
setDisinheritDefault
Set the default disinheriting behavior.- Parameters:
disinheritDefault- Set totrueif disinheriting should be the default behavior for new channels.
-