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