Class PageFilenameSuggestRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.page.PageFilenameSuggestRequest
All Implemented Interfaces:
Serializable

public class PageFilenameSuggestRequest extends Object implements Serializable
Request object for suggesting a filename
See Also:
  • 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

      public Integer getNodeId()
      ID of the node/channel of the folder
      Returns:
      node ID
    • setNodeId

      public void setNodeId(Integer nodeId)
      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

      public String getLanguage()
      Optional language code
      Returns:
      language code
    • setLanguage

      public void setLanguage(String language)
      Set language code
      Parameters:
      language - code
    • getPageName

      public String getPageName()
      Optional page name. If no fileName is given, the suggested fileName will be constructed from the pageName.
      Returns:
      page name
    • setPageName

      public void setPageName(String pageName)
      Set page name
      Parameters:
      pageName - page name
    • getFileName

      public String getFileName()
      Optional fileName. If given, the suggested fileName will be a sanitized version of the given fileName.
      Returns:
      filename
    • setFileName

      public void setFileName(String fileName)
      Set the filename
      Parameters:
      fileName - filename