Class TemplateInNode
java.lang.Object
com.gentics.contentnode.rest.model.Template
com.gentics.contentnode.rest.model.TemplateInNode
- All Implemented Interfaces:
Serializable
Template in a node
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList of node names to which this template is assignedint
ID of the node to which the template is assignedvoid
setAssignedNodes
(List<String> assignedNodes) Set assigned node namesvoid
setNodeId
(int nodeId) Set the node IDMethods inherited from class com.gentics.contentnode.rest.model.Template
equals, getCdate, getChannelId, getChannelSetId, getCreator, getDescription, getEdate, getEditor, getFolderId, getGlobalId, getId, getInheritedFrom, getMarkupLanguage, getMasterId, getMasterNode, getName, getObjectTags, getPath, getSource, getTemplateTags, isInherited, isLocked, isMaster, setCdate, setChannelId, setChannelSetId, setCreator, setDescription, setEdate, setEditor, setFolderId, setGlobalId, setId, setInherited, setInheritedFrom, setLocked, setMarkupLanguage, setMaster, setMasterId, setMasterNode, setName, setObjectTags, setPath, setSource, setTemplateTags
-
Constructor Details
-
TemplateInNode
public TemplateInNode()
-
-
Method Details
-
getNodeId
public int getNodeId()ID of the node to which the template is assigned- Returns:
- node ID
-
setNodeId
public void setNodeId(int nodeId) Set the node ID- Parameters:
nodeId
- node ID
-
getAssignedNodes
List of node names to which this template is assigned- Returns:
- node names
-
setAssignedNodes
Set assigned node names- Parameters:
assignedNodes
- node names
-