Class DisinheritInfo
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.DisinheritInfo
-
public class DisinheritInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description DisinheritInfo()
Create an empty instanceDisinheritInfo(Boolean exclude, List<Integer> disinherit, List<Integer> inheritable)
Create an instance with response info and data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getDisinherit()
IDs of nodes/channels, in which the object will not be inherited.List<Integer>
getInheritable()
IDs of nodes/channels, where this object (actually its master) can be inheritedBoolean
isExclude()
True if the object is be excluded from multichannelling, false if notvoid
setDisinherit(List<Integer> disinherit)
Set node IDs to disinherit objectvoid
setExclude(Boolean exclude)
Set true to exclude object from multichannellingvoid
setInheritable(List<Integer> inheritable)
Set the node IDs where this object can be inherited
-
-
-
Method Detail
-
isExclude
public Boolean isExclude()
True if the object is be excluded from multichannelling, false if not- Returns:
- true for exclusion
-
setExclude
public void setExclude(Boolean exclude)
Set true to exclude object from multichannelling- Parameters:
exclude
- true to exclude
-
getDisinherit
public List<Integer> 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
public void setDisinherit(List<Integer> disinherit)
Set node IDs to disinherit object- Parameters:
disinherit
- set of node IDs
-
getInheritable
public List<Integer> getInheritable()
IDs of nodes/channels, where this object (actually its master) can be inherited- Returns:
- list of node IDs
-
-