Class MultiDisinheritResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.MultiDisinheritResponse
All Implemented Interfaces:
Serializable

public class MultiDisinheritResponse extends com.gentics.contentnode.rest.model.response.GenericResponse
Response containing disinherit information for multiple objects
See Also:
  • Constructor Details

    • MultiDisinheritResponse

      public MultiDisinheritResponse()
      Create an empty instance
    • MultiDisinheritResponse

      public MultiDisinheritResponse(List<com.gentics.contentnode.rest.model.response.Message> messages, com.gentics.contentnode.rest.model.response.ResponseInfo responseInfo)
      Create an instance with message and response info
      Parameters:
      message - message
      responseInfo - response info
    • MultiDisinheritResponse

      public MultiDisinheritResponse(com.gentics.contentnode.rest.model.response.ResponseInfo responseInfo, Boolean exclude, List<Integer> disinherit, List<Integer> partialDisinherit, List<Integer> inheritable)
      Create an instance
      Parameters:
      responseInfo - response info
      exclude - exclusion flag (may be null)
      disinherit - list if disinherited node IDs (for all objects)
      partialDisinherit - list of partially disinherited node IDs (some objects are disinherited there)
      inheritable - list of inheritable node IDs
  • Method Details

    • isExclude

      public Boolean isExclude()
      Flag for exclusion status of all objects. True if the object is be excluded from multichannelling, false if not, null if the exclusion status of the objects is not equal.
      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
    • getPartialDisinherit

      public List<Integer> getPartialDisinherit()
      IDs of nodes/channels, in which some objects will not be inherited. This will be ignored, if the object is excluded from multichannelling
      Returns:
      set of node IDs
    • setPartialDisinherit

      public void setPartialDisinherit(List<Integer> partialDisinherit)
      Set node IDs for partially disinherited object
      Parameters:
      partialDisinherit - 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