public interface NodeResource extends AuthenticatedResource
Modifier and Type | Method and Description |
---|---|
GenericResponse |
activateFeatures(String nodeId,
NodeFeatureRequest request)
Activate the given list of features (features not listed will not be changed)
|
GenericResponse |
deactivateFeatures(String nodeId,
NodeFeatureRequest request)
Deactivate the given list of features (features not listed will not be changed)
|
NodeFeatureResponse |
getFeatures(String nodeId)
Load the activated features
|
NodeLoadResponse |
load(String nodeId,
boolean update)
Load a single node
|
GenericResponse |
setFeatures(String nodeId,
NodeFeatureRequest request)
Set the given list of features.
|
setSessionId
NodeLoadResponse load(String nodeId, boolean update)
nodeId
- id of the node to load. This can be either the localid or a globalidupdate
- true when the folder is fetched for updating. Currently, nodes
cannot be locked in the backend, but it is still recommended
to set this parameter to true when the node shall be modified.NodeFeatureResponse getFeatures(String nodeId)
nodeId
- id of the nodeGenericResponse activateFeatures(String nodeId, NodeFeatureRequest request)
nodeId
- id of the node. This can be either the localid or the globalidGenericResponse deactivateFeatures(String nodeId, NodeFeatureRequest request)
nodeId
- id of the node. This can be either the localid or the globalidGenericResponse setFeatures(String nodeId, NodeFeatureRequest request)
nodeId
- id of the node. This can be either the localid or the globalidCopyright © 2015 Gentics Software. All rights reserved.