public class MultiDisinheritResponse extends GenericResponse
Constructor and Description |
---|
MultiDisinheritResponse()
Create an empty instance
|
MultiDisinheritResponse(List<Message> messages,
ResponseInfo responseInfo)
Create an instance with message and response info
|
MultiDisinheritResponse(ResponseInfo responseInfo,
Boolean exclude,
List<Integer> disinherit,
List<Integer> partialDisinherit,
List<Integer> inheritable)
Create an instance
|
Modifier and Type | Method and 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 inherited
|
List<Integer> |
getPartialDisinherit()
IDs of nodes/channels, in which some objects will not be inherited.
|
Boolean |
isExclude()
Flag for exclusion status of all objects.
|
void |
setDisinherit(List<Integer> disinherit)
Set node IDs to disinherit object
|
void |
setExclude(Boolean exclude)
Set true to exclude object from multichannelling
|
void |
setInheritable(List<Integer> inheritable)
Set the node IDs where this object can be inherited
|
void |
setPartialDisinherit(List<Integer> partialDisinherit)
Set node IDs for partially disinherited object
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
public MultiDisinheritResponse()
public MultiDisinheritResponse(List<Message> messages, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic MultiDisinheritResponse(ResponseInfo responseInfo, Boolean exclude, List<Integer> disinherit, List<Integer> partialDisinherit, List<Integer> inheritable)
responseInfo
- response infoexclude
- 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 IDspublic Boolean isExclude()
public void setExclude(Boolean exclude)
exclude
- true to excludepublic List<Integer> getDisinherit()
public void setDisinherit(List<Integer> disinherit)
disinherit
- set of node IDspublic List<Integer> getPartialDisinherit()
public void setPartialDisinherit(List<Integer> partialDisinherit)
partialDisinherit
- set of node IDspublic List<Integer> getInheritable()
Copyright © 2024 Gentics Software. All rights reserved.