com.ibm.ecm.configuration
Class ViewerDefConfig
- java.lang.Object
- com.ibm.ecm.configuration.ConfigurationObject
- com.ibm.ecm.configuration.ViewerDefConfig
- public class ViewerDefConfig
- extends ConfigurationObject
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 |
---|
ViewerDefConfig(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)
|
|
getIsPreviewViewer()
|
|
getLabel()
|
|
getLaunchInSeparateWindow()
|
|
getLaunchUrl()
|
|
getObjectType()
|
|
getServerTypes()
|
|
getViewerClass()
|
|
getViewerName()
|
|
setIsPreviewViewer(boolean isPreviewViewer)
|
|
setLabel(java.lang.String label)
|
|
setLaunchInSeparateWindow(java.lang.String launchSeparate)
|
|
setLaunchUrl(java.lang.String launchUrl)
|
|
setServerTypes(java.lang.String serverTypes)
|
|
setViewerClass(java.lang.String viewerClass)
|
|
setViewerName(java.lang.String viewerName)
|
|
upgrade()
|
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, toJSON, toString, writeConfigurationToFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
ViewerDefConfig
- public ViewerDefConfig(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.
upgrade
- public void upgrade()
getLaunchUrl
- public java.lang.String getLaunchUrl( )
setLaunchUrl
- public void setLaunchUrl(java.lang.String launchUrl)
getServerTypes
- public java.lang.String getServerTypes( )
setServerTypes
- public void setServerTypes(java.lang.String serverTypes)
getViewerName
- public java.lang.String getViewerName( )
setViewerName
- public void setViewerName(java.lang.String viewerName)
getLabel
- public java.lang.String getLabel( )
setLabel
- public void setLabel(java.lang.String label)
getLaunchInSeparateWindow
- public java.lang.String getLaunchInSeparateWindow( )
setLaunchInSeparateWindow
- public void setLaunchInSeparateWindow( java.lang.String launchSeparate)
getViewerClass
- public java.lang.String getViewerClass( )
setViewerClass
- public void setViewerClass(java.lang.String viewerClass)
getIsPreviewViewer
- public boolean getIsPreviewViewer( )
setIsPreviewViewer
- public void setIsPreviewViewer( boolean isPreviewViewer)
ConfigurationObject