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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the collapsed column ids.Returns the string representation of the current setting state.Gets the sort column id.Gets the uncollapsed column ids, or null if they are not set.booleanReturns the sort order.voidrestoreSettings(String storedSettings) Restores the settings from the given string.voidsetCollapsedColumns(List<CmsResourceTableProperty> collapsedColumns) Sets the collapsed columns.voidsetSortAscending(boolean sortAscending) Sets the sort order.voidsetSortColumnId(CmsResourceTableProperty sortColumnId) Sets the sort column.voidsetUncollapsedColumns(List<CmsResourceTableProperty> uncollapsedColumns) Sets the uncollapsed columns.
-
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_CmsAppSettingsReturns the string representation of the current setting state.Will be used to restore the settings.
- Specified by:
getSettingsStringin interfaceI_CmsAppSettings- Returns:
- the settings string
- See Also:
-
getSortColumnId
Gets the sort column id.- Returns:
- the sort column id
-
getUncollapsedColumns
Gets the uncollapsed column ids, or null if they are not set.- Returns:
- the uncollapsed columns
-
isSortAscending
Returns the sort order.- Returns:
- the sort order
-
restoreSettings
Description copied from interface:I_CmsAppSettingsRestores the settings from the given string.- Specified by:
restoreSettingsin 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
-
setUncollapsedColumns
Sets the uncollapsed columns.- Parameters:
uncollapsedColumns- the uncollapsed columns
-