Class DisinheritInfo
java.lang.Object
com.gentics.contentnode.rest.model.response.DisinheritInfo
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty instanceCreate an instance with response info and data -
Method Summary
Modifier and TypeMethodDescriptionIDs of nodes/channels, in which the object will not be inherited.IDs of nodes/channels, where this object (actually its master) can be inheritedTrue if the object is be excluded from multichannelling, false if notvoidsetDisinherit(List<Integer> disinherit) Set node IDs to disinherit objectvoidsetExclude(Boolean exclude) Set true to exclude object from multichannellingvoidsetInheritable(List<Integer> inheritable) Set the node IDs where this object can be inherited
-
Constructor Details
-
DisinheritInfo
public DisinheritInfo()Create an empty instance -
DisinheritInfo
Create an instance with response info and data- Parameters:
exclude- exclusion status flagdisinherit- disinherited node IDsinheritable- inheritable node IDs
-
-
Method Details
-
isExclude
True if the object is 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
-
getInheritable
IDs of nodes/channels, where this object (actually its master) can be inherited- Returns:
- list of node IDs
-
setInheritable
Set the node IDs where this object can be inherited- Parameters:
inheritable- list of node IDs
-