com.ibm.ecm.configuration
Class DesktopFeatureConfig
- java.lang.Object
- com.ibm.ecm.configuration.ConfigurationObject
- com.ibm.ecm.configuration.DesktopFeatureConfig
- public class DesktopFeatureConfig
- extends ConfigurationObject
Since:
2.0.3
Field Summary
Fields inherited from class com.ibm.ecm.configuration.ConfigurationObject |
---|
ARRAY_DELIMITER, cloned, KEY_DELIMITER, LIST_ESC_CHAR, LIST_ESCAPE, LIST_SEPARATOR, MODIFIER, properties |
Constructor Summary
Constructor and Description |
---|
DesktopFeatureConfig(org.apache.commons.configuration.Configuration configuration,java.lang.String idPrefix,java.lang.String id)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getDataType(java.lang.String key)
|
|
getDefaultRepository()
|
|
getDocumentInfoPaneDefaultOpen()
|
|
getDocumentInfoPaneOpenOnSelection()
|
|
getFeatureConfiguration()
|
|
getObjectType()
|
|
getShowDocumentInfoPane()
|
|
getShowMyCheckouts()
|
|
getShowRepositories()
|
|
getShowTreeView()
|
|
getShowViews()
|
|
setDefaultRepository(java.lang.String defaultRepository)
|
|
setDocumentInfoPaneDefaultOpen(boolean documentInfoPaneDefaultOpen)
|
|
setDocumentInfoPaneOpenOnSelection(boolean documentInfoPaneOpenOnSelection)
|
|
setFeatureConfiguration(java.lang.String featureConfiguration)
|
|
setShowDocumentInfoPane(boolean showDocumentInfoPane)
|
|
setShowMyCheckouts(boolean showMyCheckouts)
|
|
setShowRepositories(java.lang.String[] repositories)
|
|
setShowTreeView(boolean showTreeView)
|
|
setShowViews(java.lang.String[] views)
|
toJSON()
|
|
|
toString()
|
Methods inherited from class com.ibm.ecm.configuration.ConfigurationObject |
---|
addValueToList, arrayToString, covertEmptyStringtoNull, delete, dump, getConfigurationObject, getDataTypeValue, getIdPrefix, getKey, getList, getMap, getName, getObjectId, getPropertyNames, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, isEmpty, load, propertiesToString, removeValuesFromList, removeValuesFromList, save, setDefaultValue, setProperty, setValues, setValues, setValues, skipThisPropertyWhenSaving, stringToArray, stringToList, writeConfigurationToFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
DesktopFeatureConfig
- public DesktopFeatureConfig(org.apache.commons.configuration.Configuration configuration,
- java.lang.String idPrefix,
- java.lang.String id)
Method Detail
getObjectType
- public java.lang.String getObjectType( )
Abstract method to return object type.
Specified by:
getObjectType
in class ConfigurationObject
Returns:
a string object type back, for example "desktop", "repository"...
getDataType
- protected java.lang.Class getDataType( java.lang.String key)
Description copied from class:
ConfigurationObject
Returns the datatype of a configuration property. This is implemented in subclasses and is used to properly
serialize the properties. The default implementation returns null which indicates that compatible behavior should
be used, which inspects the property value itself and guesses at the type of the property.
Overrides:
getDataType
in class ConfigurationObject
Returns:
a Class instance describing the datatype of the property.
getDefaultRepository
- public java.lang.String getDefaultRepository( )
setDefaultRepository
- public void setDefaultRepository( java.lang.String defaultRepository)
getShowTreeView
- public boolean getShowTreeView( )
setShowTreeView
- public void setShowTreeView(boolean showTreeView)
getShowDocumentInfoPane
- public boolean getShowDocumentInfoPane( )
setShowDocumentInfoPane
- public void setShowDocumentInfoPane( boolean showDocumentInfoPane)
getDocumentInfoPaneDefaultOpen
- public boolean getDocumentInfoPaneDefaultOpen( )
setDocumentInfoPaneDefaultOpen
- public void setDocumentInfoPaneDefaultOpen( boolean documentInfoPaneDefaultOpen)
getDocumentInfoPaneOpenOnSelection
- public boolean getDocumentInfoPaneOpenOnSelection( )
setDocumentInfoPaneOpenOnSelection
- public void setDocumentInfoPaneOpenOnSelection( boolean documentInfoPaneOpenOnSelection)
getFeatureConfiguration
- public java.lang.String getFeatureConfiguration( )
setFeatureConfiguration
- public void setFeatureConfiguration( java.lang.String featureConfiguration)
getShowRepositories
- public java.lang.String[] getShowRepositories( )
setShowRepositories
- public void setShowRepositories( java.lang.String[] repositories)
getShowViews
- public java.lang.String[] getShowViews( )
setShowViews
- public void setShowViews(java.lang.String[] views)
setShowMyCheckouts
- public void setShowMyCheckouts( boolean showMyCheckouts)
getShowMyCheckouts
- public boolean getShowMyCheckouts( )
toString
- public java.lang.String toString( )
Description copied from class:
ConfigurationObject
Override to return the object ID of this configuration back.
Overrides:
toString
in class ConfigurationObject
toJSON
- public JSONObject toJSON()
Description copied from class:
ConfigurationObject
Convert this configuration object to JSON object to be stream back to client. Since toJSON is using properties
object directly therefore any default value is not applicable in this case. All added property after ICN 2.0.0 is
required to add itself into upgrade method to support this method.
Overrides:
toJSON
in class ConfigurationObject
Returns:
A JSONObject of this configuration
ConfigurationObject