Class FolderCreateRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FolderCreateRequest
Request object for a request to create a folder
- Author:
- norbert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap of translated descriptions (keys are the language codes)getName()
Map of translated names (keys are the language codes)Map of translated publish directories (keys are the language codes)boolean
boolean
void
setDescription
(String description) void
setDescriptionI18n
(Map<String, String> descriptionI18n) Set translated descriptionsvoid
setFailOnDuplicate
(boolean failOnDuplicate) void
setLanguage
(String language) void
setMotherId
(String motherId) void
void
setNameI18n
(Map<String, String> nameI18n) Set translated namesvoid
void
setPublishDir
(String publishDir) void
setPublishDirI18n
(Map<String, String> publishDirI18n) Set translated publish directoriesvoid
setStartpage
(boolean startpage) void
setTemplateId
(Integer templateId)
-
Constructor Details
-
FolderCreateRequest
public FolderCreateRequest()Constructor used by JAXB
-
-
Method Details
-
getPublishDir
- Returns:
- the publishDir
-
setPublishDir
- Parameters:
publishDir
- the publishDir to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
isFailOnDuplicate
public boolean isFailOnDuplicate()- Returns:
- the failOnDuplicate
-
setFailOnDuplicate
public void setFailOnDuplicate(boolean failOnDuplicate) - Parameters:
failOnDuplicate
- the failOnDuplicate to set
-
getName
-
setName
-
setMotherId
-
getMotherId
-
isStartpage
public boolean isStartpage() -
setStartpage
public void setStartpage(boolean startpage) -
setTemplateId
-
getTemplateId
-
getLanguage
-
setLanguage
-
getNodeId
-
setNodeId
-
getNameI18n
Map of translated names (keys are the language codes)- Returns:
- name map
-
setNameI18n
Set translated names- Parameters:
nameI18n
- map of translations
-
getDescriptionI18n
Map of translated descriptions (keys are the language codes)- Returns:
- description map
-
setDescriptionI18n
Set translated descriptions- Parameters:
descriptionI18n
- map of translations
-
getPublishDirI18n
Map of translated publish directories (keys are the language codes)- Returns:
- publish directory map
-
setPublishDirI18n
Set translated publish directories- Parameters:
publishDirI18n
- map of translations
-