Class TemplateCreateRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.TemplateCreateRequest
- All Implemented Interfaces:
Serializable
Request to create a new template
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIDs of folders, where the template shall be created (at least one folder has to be set)Optional node ID to create template in a channelTemplate to createsetFolderIds
(Set<String> folderIds) Set folder IDsSet the node IDsetTemplate
(Template template) Set the template
-
Field Details
-
folderIds
Set of folder IDs (may be globalIds)
-
-
Constructor Details
-
TemplateCreateRequest
public TemplateCreateRequest()
-
-
Method Details
-
getNodeId
Optional node ID to create template in a channel- Returns:
- node ID
-
setNodeId
Set the node ID- Parameters:
nodeId
- node ID- Returns:
- fluent API
-
getFolderIds
IDs of folders, where the template shall be created (at least one folder has to be set)- Returns:
- folder IDs
-
setFolderIds
Set folder IDs- Parameters:
folderIds
- folder IDs- Returns:
- fluent API
-
getTemplate
Template to create- Returns:
- template
-
setTemplate
Set the template- Parameters:
template
- template- Returns:
- fluent API
-