Package org.opencms.ui.apps
Class CmsFileExplorerSettings
java.lang.Object
org.opencms.ui.apps.CmsFileExplorerSettings
- All Implemented Interfaces:
Serializable
,I_CmsAppSettings
Stores the file explorer settings.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the collapsed column ids.Returns the string representation of the current setting state.Gets the sort column id.boolean
Returns the sort order.void
restoreSettings
(String storedSettings) Restores the settings from the given string.void
setCollapsedColumns
(List<CmsResourceTableProperty> collapsedColumns) Sets the collapsed columns.void
setSortAscending
(boolean sortAscending) Sets the sort order.void
setSortColumnId
(CmsResourceTableProperty sortColumnId) Sets the sort column.
-
Constructor Details
-
CmsFileExplorerSettings
public CmsFileExplorerSettings()Constructor.Will initialize the default settings.
-
-
Method Details
-
getCollapsedColumns
Returns the collapsed column ids.- Returns:
- the collapsed column ids
-
getSettingsString
Description copied from interface:I_CmsAppSettings
Returns the string representation of the current setting state.Will be used to restore the settings.
- Specified by:
getSettingsString
in interfaceI_CmsAppSettings
- Returns:
- the settings string
- See Also:
-
getSortColumnId
Gets the sort column id.- Returns:
- the sort column id
-
isSortAscending
Returns the sort order.- Returns:
- the sort order
-
restoreSettings
Description copied from interface:I_CmsAppSettings
Restores the settings from the given string.- Specified by:
restoreSettings
in interfaceI_CmsAppSettings
- Parameters:
storedSettings
- the stored settings- See Also:
-
setCollapsedColumns
Sets the collapsed columns.- Parameters:
collapsedColumns
- the collapsed columns
-
setSortAscending
Sets the sort order.- Parameters:
sortAscending
- the sort order
-
setSortColumnId
Sets the sort column.- Parameters:
sortColumnId
- the sort column
-