Class DisinheritRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.DisinheritRequest
All Implemented Interfaces:
Serializable

public class DisinheritRequest extends Object implements Serializable
Request to set the multichannelling exclusion and disinheriting status of an object
See Also:
  • Constructor Details

    • DisinheritRequest

      public DisinheritRequest()
      Empty constructor
  • Method Details

    • getExclude

      public Boolean getExclude()
      True if the object shall 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
    • getReinherit

      public List<Integer> 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

      public void setReinherit(List<Integer> reinherit)
      Set node IDs to reinherit object
      Parameters:
      reinherit - set of node IDs
    • getRecursive

      public Boolean getRecursive()
      True if exclusion and disinheriting shall be set recursively (if set on folders), false if not
      Returns:
      true for recursive
    • setRecursive

      public void setRecursive(Boolean recursive)
      Set true for recursive setting of exclusion/disinheriting
      Parameters:
      recursive - true for recursive
    • getDisinheritDefault

      public Boolean getDisinheritDefault()
      True if the object should be disinherited by default in new channels (default: false).
      Returns:
      true if disinheriting is the default for new channels, false otherwise.
    • setDisinheritDefault

      public void setDisinheritDefault(Boolean disinheritDefault)
      Set the default disinheriting behavior.
      Parameters:
      disinheritDefault - Set to true if disinheriting should be the default behavior for new channels.