public class DisinheritResponse extends GenericResponse
Constructor and Description |
---|
DisinheritResponse()
Create an empty instance
|
DisinheritResponse(Message message,
ResponseInfo responseInfo)
Create an instance with message and response info
|
DisinheritResponse(ResponseInfo responseInfo,
Boolean exclude,
Boolean disinheritDefault,
List<Integer> disinherit,
List<Integer> inheritable)
Create an instance with response info and data
|
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
|
Boolean |
isDisinheritDefault()
Indicates whether the object should be disinherited by default in new channels.
|
Boolean |
isExclude()
True if the object is be excluded from multichannelling, false if not
|
void |
setDisinherit(List<Integer> disinherit)
Set node IDs to disinherit object
|
void |
setDisinheritDefault(Boolean disinheritDefault)
Set whether the object should be disinherited by default in new channels.
|
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
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
public DisinheritResponse()
public DisinheritResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic DisinheritResponse(ResponseInfo responseInfo, Boolean exclude, Boolean disinheritDefault, List<Integer> disinherit, List<Integer> inheritable)
responseInfo
- response infoexclude
- exclusion status flagdisinherit
- disinherited node IDsinheritable
- inheritable node IDspublic Boolean isExclude()
public void setExclude(Boolean exclude)
exclude
- true to excludepublic Boolean isDisinheritDefault()
true
if the object should be disinherited in new channels,
false
otherwise.public void setDisinheritDefault(Boolean disinheritDefault)
disinheritDefault
- Set to true
if the object should be
disinherited in new channels.public List<Integer> getDisinherit()
public void setDisinherit(List<Integer> disinherit)
disinherit
- set of node IDspublic List<Integer> getInheritable()
Copyright © 2024 Gentics Software. All rights reserved.