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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the new Locale to use for the page elements.Returns the old Locale of the page elements.Returns the template for the pages that should be converted.Returns the VFS folder in OpenCms to start the conversion from.boolean
Returns the flag indicating if resources in sub folders should be changed, too.void
setIncludeSubFolders
(boolean includeSubFolders) Sets the flag indicating if resources in sub folders should be changed, too.void
setNewLocale
(String newLocale) Sets the new Locale to use for the page elements.void
setOldLocale
(String oldLocale) Sets the old Locale of the page elements.void
setTemplate
(String template) Sets the template for the pages that should be converted.void
setVfsFolder
(String vfsFolder) Sets the VFS folder in OpenCms to start the conversion from.
-
Constructor Details
-
CmsElementChangeLocaleSettings
public CmsElementChangeLocaleSettings()Default constructor.
-
-
Method Details
-
getNewLocale
Returns the new Locale to use for the page elements.- Returns:
- the new Locale to use for the page elements
-
getOldLocale
Returns the old Locale of the page elements.- Returns:
- the old Locale of the page elements
-
getTemplate
Returns the template for the pages that should be converted.- Returns:
- the template for the pages that should be converted
-
getVfsFolder
Returns the VFS folder in OpenCms to start the conversion from.- Returns:
- the VFS folder in OpenCms to start the conversion from
-
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
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
Sets the new Locale to use for the page elements.- Parameters:
newLocale
- the new Locale to use for the page elements
-
setOldLocale
Sets the old Locale of the page elements.- Parameters:
oldLocale
- the old Locale of the page elements
-
setTemplate
Sets the template for the pages that should be converted.- Parameters:
template
- the template for the pages that should be converted
-
setVfsFolder
Sets the VFS folder in OpenCms to start the conversion from.- Parameters:
vfsFolder
- the VFS folder in OpenCms to start the conversion from
-