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
Constructors -
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)booleanbooleanvoidsetDescription(String description) voidsetDescriptionI18n(Map<String, String> descriptionI18n) Set translated descriptionsvoidsetFailOnDuplicate(boolean failOnDuplicate) voidsetLanguage(String language) voidsetMotherId(String motherId) voidvoidsetNameI18n(Map<String, String> nameI18n) Set translated namesvoidvoidsetPublishDir(String publishDir) voidsetPublishDirI18n(Map<String, String> publishDirI18n) Set translated publish directoriesvoidsetStartpage(boolean startpage) voidsetTemplateId(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
-