Class PageFilenameSuggestRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.page.PageFilenameSuggestRequest
- All Implemented Interfaces:
Serializable
Request object for suggesting a filename
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional fileName.int
ID of the folder of the pageOptional language codeID of the node/channel of the folderOptional page name.int
ID of the page's templatevoid
setFileName
(String fileName) Set the filenamevoid
setFolderId
(int folderId) Set the folder IDvoid
setLanguage
(String language) Set language codevoid
Set the node IDvoid
setPageName
(String pageName) Set page namevoid
setTemplateId
(int templateId) Set the template ID
-
Constructor Details
-
PageFilenameSuggestRequest
public PageFilenameSuggestRequest()
-
-
Method Details
-
getFolderId
public int getFolderId()ID of the folder of the page- Returns:
- folder ID
-
setFolderId
public void setFolderId(int folderId) Set the folder ID- Parameters:
folderId
- folder ID
-
getNodeId
ID of the node/channel of the folder- Returns:
- node ID
-
setNodeId
Set the node ID- Parameters:
nodeId
- node ID
-
getTemplateId
public int getTemplateId()ID of the page's template- Returns:
- template ID
-
setTemplateId
public void setTemplateId(int templateId) Set the template ID- Parameters:
templateId
- template ID
-
getLanguage
Optional language code- Returns:
- language code
-
setLanguage
Set language code- Parameters:
language
- code
-
getPageName
Optional page name. If no fileName is given, the suggested fileName will be constructed from the pageName.- Returns:
- page name
-
setPageName
Set page name- Parameters:
pageName
- page name
-
getFileName
Optional fileName. If given, the suggested fileName will be a sanitized version of the given fileName.- Returns:
- filename
-
setFileName
Set the filename- Parameters:
fileName
- filename
-