Class CmsElementChangeLocaleSettings

java.lang.Object
org.opencms.workplace.tools.content.CmsElementChangeLocaleSettings

Settings object that provides the settings to convert page locales from one locale to another.

Since:
6.0.1
  • Constructor Details

  • Method Details

    • getNewLocale

      public String getNewLocale()
      Returns the new Locale to use for the page elements.

      Returns:
      the new Locale to use for the page elements
    • getOldLocale

      public String getOldLocale()
      Returns the old Locale of the page elements.

      Returns:
      the old Locale of the page elements
    • getTemplate

      public String getTemplate()
      Returns the template for the pages that should be converted.

      Returns:
      the template for the pages that should be converted
    • getVfsFolder

      public String getVfsFolder()
      Returns the VFS folder in OpenCms to start the conversion from.

      Returns:
      the VFS folder in OpenCms to start the conversion from
    • isIncludeSubFolders

      public boolean isIncludeSubFolders()
      Returns the flag indicating if resources in sub folders should be changed, too.

      Returns:
      the flag indicating if resources in sub folders should be changed, too
    • setIncludeSubFolders

      public void setIncludeSubFolders(boolean includeSubFolders)
      Sets the flag indicating if resources in sub folders should be changed, too.

      Parameters:
      includeSubFolders - the flag indicating if resources in sub folders should be changed, too
    • setNewLocale

      public void setNewLocale(String newLocale)
      Sets the new Locale to use for the page elements.

      Parameters:
      newLocale - the new Locale to use for the page elements
    • setOldLocale

      public void setOldLocale(String oldLocale)
      Sets the old Locale of the page elements.

      Parameters:
      oldLocale - the old Locale of the page elements
    • setTemplate

      public void setTemplate(String template)
      Sets the template for the pages that should be converted.

      Parameters:
      template - the template for the pages that should be converted
    • setVfsFolder

      public void setVfsFolder(String vfsFolder)
      Sets the VFS folder in OpenCms to start the conversion from.

      Parameters:
      vfsFolder - the VFS folder in OpenCms to start the conversion from