Package org.opencms.ui.apps
Class CmsFileExplorerSettings
- java.lang.Object
-
- org.opencms.ui.apps.CmsFileExplorerSettings
-
- All Implemented Interfaces:
java.io.Serializable
,I_CmsAppSettings
public class CmsFileExplorerSettings extends java.lang.Object implements java.io.Serializable, I_CmsAppSettings
Stores the file explorer settings.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsFileExplorerSettings()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CmsResourceTableProperty>
getCollapsedColumns()
Returns the collapsed column ids.java.lang.String
getSettingsString()
Returns the string representation of the current setting state.CmsResourceTableProperty
getSortColumnId()
Gets the sort column id.boolean
isSortAscending()
Returns the sort order.void
restoreSettings(java.lang.String storedSettings)
Restores the settings from the given string.void
setCollapsedColumns(java.util.List<CmsResourceTableProperty> collapsedColumns)
Sets the collapsed columns.void
setSortAscending(boolean sortAscending)
Sets the sort order.void
setSortColumnId(CmsResourceTableProperty sortColumnId)
Sets the sort column.
-
-
-
Constructor Detail
-
CmsFileExplorerSettings
public CmsFileExplorerSettings()
Constructor.Will initialize the default settings.
-
-
Method Detail
-
getCollapsedColumns
public java.util.List<CmsResourceTableProperty> getCollapsedColumns()
Returns the collapsed column ids.- Returns:
- the collapsed column ids
-
getSettingsString
public java.lang.String 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:
I_CmsAppSettings.getSettingsString()
-
getSortColumnId
public CmsResourceTableProperty getSortColumnId()
Gets the sort column id.- Returns:
- the sort column id
-
isSortAscending
public boolean isSortAscending()
Returns the sort order.- Returns:
- the sort order
-
restoreSettings
public void restoreSettings(java.lang.String storedSettings)
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:
I_CmsAppSettings.restoreSettings(java.lang.String)
-
setCollapsedColumns
public void setCollapsedColumns(java.util.List<CmsResourceTableProperty> collapsedColumns)
Sets the collapsed columns.- Parameters:
collapsedColumns
- the collapsed columns
-
setSortAscending
public void setSortAscending(boolean sortAscending)
Sets the sort order.- Parameters:
sortAscending
- the sort order
-
setSortColumnId
public void setSortColumnId(CmsResourceTableProperty sortColumnId)
Sets the sort column.- Parameters:
sortColumnId
- the sort column
-
-