Class DisinheritInfo

java.lang.Object
com.gentics.contentnode.rest.model.response.DisinheritInfo

public class DisinheritInfo extends Object
  • Constructor Details

    • DisinheritInfo

      public DisinheritInfo()
      Create an empty instance
    • DisinheritInfo

      public DisinheritInfo(Boolean exclude, List<Integer> disinherit, List<Integer> inheritable)
      Create an instance with response info and data
      Parameters:
      exclude - exclusion status flag
      disinherit - disinherited node IDs
      inheritable - inheritable node IDs
  • Method Details

    • 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
    • setInheritable

      public void setInheritable(List<Integer> inheritable)
      Set the node IDs where this object can be inherited
      Parameters:
      inheritable - list of node IDs