Class DisplaySettings
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DisplaySettings
-
- All Implemented Interfaces:
java.io.Serializable
public class DisplaySettings extends java.lang.Object implements java.io.Serializable
Class storing personalized display settings. This class implementsSerializable
not only for transferring it's content remotely but also to store it in the database. Thus, CHANGES IN THIS CLASS MIGHT LEAD TO A LOST OF PERSONAL SETTINGS. In all cases deserialization leads to an exception the default settings is used.NOTE: This class has to be Java serializable and GWT serializable.
NOTE: Object of this class should be always managed by DisplaySettingsManager on client side.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplaySettings()
DisplaySettings(DisplaySettings other)
Copy constructor (shallow copy).
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addEntityVisit(EntityVisit entityVisit)
Deprecated.Should be used only by DisplaySettingsManager.void
addPortlet(PortletConfiguration portletConfiguration)
Deprecated.Should be used only by DisplaySettingsManager.void
clearCustomWebAppSettings()
Deprecated.java.util.Map<java.lang.String,java.util.List<ColumnSetting>>
getColumnSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Collection<java.lang.String>
getCustomWebAppIds()
java.util.Map<java.lang.String,java.lang.String>
getCustomWebAppSettings(java.lang.String webAppId)
Deprecated.Don't use in generic web client - will be overwritten.java.lang.String
getDefaultProject()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,java.lang.String>
getDropDownSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.lang.String
getLastHistoryTokenOrNull()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,java.lang.Boolean>
getPanelCollapsedSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,java.lang.Integer>
getPanelSizeSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,PortletConfiguration>
getPortletConfigurations()
Deprecated.Should be used only by DisplaySettingsManager.RealNumberFormatingParameters
getRealNumberFormatingParameters()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,java.lang.String>
getTabSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.util.Map<java.lang.String,java.io.Serializable>
getTechnologySpecificSettings()
Deprecated.Should be used only by DisplaySettingsManager.java.util.List<EntityVisit>
getVisits()
Deprecated.Should be used only by DisplaySettingsManager.boolean
isDebuggingModeEnabled()
Deprecated.Should be used only by DisplaySettingsManager.boolean
isIgnoreLastHistoryToken()
Deprecated.Should be used only by DisplaySettingsManager.boolean
isLegacyMedadataUIEnabled()
Deprecated.Should be used only by DisplaySettingsManager.void
overwriteColumnSettings(DisplaySettings customDisplaySettings)
Deprecated.Don't use in generic web client - will be overwritten.void
overwriteCustomWebAppSettings(DisplaySettings customDisplaySettings)
Deprecated.Don't use in generic web client - will be overwritten.void
removeCustomWebAppSettings(java.lang.String webAppId)
void
setCustomWebAppSettings(java.lang.String webAppId, java.util.Map<java.lang.String,java.lang.String> settings)
Deprecated.Don't use in generic web client - will be overwritten.void
setDebuggingModeEnabled(boolean isDebugging)
Deprecated.Should be used only by DisplaySettingsManager.void
setDefaultProject(java.lang.String defaultProject)
Deprecated.Should be used only by DisplaySettingsManager.void
setIgnoreLastHistoryToken(boolean ignoreLastHistoryToken)
Deprecated.Should be used only by DisplaySettingsManager.void
setLastHistoryTokenOrNull(java.lang.String lastHistoryOrNull)
Deprecated.Should be used only by DisplaySettingsManager.void
setLegacyMedadataUIEnabled(boolean legacyMedadataUIEnabled)
Deprecated.Should be used only by DisplaySettingsManager.
-
-
-
Constructor Detail
-
DisplaySettings
public DisplaySettings()
-
DisplaySettings
public DisplaySettings(DisplaySettings other)
Copy constructor (shallow copy).
-
-
Method Detail
-
getTechnologySpecificSettings
@Deprecated public java.util.Map<java.lang.String,java.io.Serializable> getTechnologySpecificSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getColumnSettings
@Deprecated public final java.util.Map<java.lang.String,java.util.List<ColumnSetting>> getColumnSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getTabSettings
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTabSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getPanelCollapsedSettings
@Deprecated public java.util.Map<java.lang.String,java.lang.Boolean> getPanelCollapsedSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getPanelSizeSettings
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getPanelSizeSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getDropDownSettings
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getDropDownSettings()
Deprecated.Should be used only by DisplaySettingsManager.
-
getRealNumberFormatingParameters
@Deprecated public RealNumberFormatingParameters getRealNumberFormatingParameters()
Deprecated.Should be used only by DisplaySettingsManager.
-
isDebuggingModeEnabled
@Deprecated public boolean isDebuggingModeEnabled()
Deprecated.Should be used only by DisplaySettingsManager.Are error messages in debugging format or user format?
-
setDebuggingModeEnabled
@Deprecated public void setDebuggingModeEnabled(boolean isDebugging)
Deprecated.Should be used only by DisplaySettingsManager.Are error messages in debugging format or user format?
-
getLastHistoryTokenOrNull
@Deprecated public java.lang.String getLastHistoryTokenOrNull()
Deprecated.Should be used only by DisplaySettingsManager.
-
setLastHistoryTokenOrNull
@Deprecated public void setLastHistoryTokenOrNull(java.lang.String lastHistoryOrNull)
Deprecated.Should be used only by DisplaySettingsManager.
-
isIgnoreLastHistoryToken
@Deprecated public boolean isIgnoreLastHistoryToken()
Deprecated.Should be used only by DisplaySettingsManager.
-
getDefaultProject
public java.lang.String getDefaultProject()
Deprecated.Should be used only by DisplaySettingsManager.
-
setDefaultProject
@Deprecated public void setDefaultProject(java.lang.String defaultProject)
Deprecated.Should be used only by DisplaySettingsManager.
-
isLegacyMedadataUIEnabled
@Deprecated public boolean isLegacyMedadataUIEnabled()
Deprecated.Should be used only by DisplaySettingsManager.
-
setLegacyMedadataUIEnabled
@Deprecated public void setLegacyMedadataUIEnabled(boolean legacyMedadataUIEnabled)
Deprecated.Should be used only by DisplaySettingsManager.
-
setIgnoreLastHistoryToken
@Deprecated public void setIgnoreLastHistoryToken(boolean ignoreLastHistoryToken)
Deprecated.Should be used only by DisplaySettingsManager.
-
addEntityVisit
@Deprecated public void addEntityVisit(EntityVisit entityVisit)
Deprecated.Should be used only by DisplaySettingsManager.
-
getVisits
@Deprecated public java.util.List<EntityVisit> getVisits()
Deprecated.Should be used only by DisplaySettingsManager.
-
addPortlet
@Deprecated public void addPortlet(PortletConfiguration portletConfiguration)
Deprecated.Should be used only by DisplaySettingsManager.
-
getPortletConfigurations
@Deprecated public java.util.Map<java.lang.String,PortletConfiguration> getPortletConfigurations()
Deprecated.Should be used only by DisplaySettingsManager.
-
getCustomWebAppIds
public java.util.Collection<java.lang.String> getCustomWebAppIds()
-
removeCustomWebAppSettings
public void removeCustomWebAppSettings(java.lang.String webAppId)
-
getCustomWebAppSettings
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCustomWebAppSettings(java.lang.String webAppId)
Deprecated.Don't use in generic web client - will be overwritten.
-
setCustomWebAppSettings
@Deprecated public void setCustomWebAppSettings(java.lang.String webAppId, java.util.Map<java.lang.String,java.lang.String> settings)
Deprecated.Don't use in generic web client - will be overwritten.
-
overwriteCustomWebAppSettings
@Deprecated public void overwriteCustomWebAppSettings(DisplaySettings customDisplaySettings)
Deprecated.Don't use in generic web client - will be overwritten.
-
overwriteColumnSettings
@Deprecated public void overwriteColumnSettings(DisplaySettings customDisplaySettings)
Deprecated.Don't use in generic web client - will be overwritten.
-
clearCustomWebAppSettings
@Deprecated public void clearCustomWebAppSettings()
Deprecated.
-
-