com.ibm.ecm.configuration

Class InterfaceTextConfig

  1. java.lang.Object
  2. extended bycom.ibm.ecm.configuration.ConfigurationObject
  3. extended bycom.ibm.ecm.configuration.InterfaceTextConfig

  1. public class InterfaceTextConfig
  2. extends ConfigurationObject

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
LABEL_DATA
  1. static
  2. java.lang.String
LOCALE_DATA
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
InterfaceTextConfig(org.apache.commons.configuration.Configuration configuration,java.lang.String idPrefix,java.lang.String id)

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getClassicLabelKey()
  1. protected
  2. java.lang.Class
getDataType(java.lang.String key)
  1. java.lang.String
getDesktopId()
  1. java.lang.String
getDisplayedIn()
  1. InterfaceTextLabelConfig
getLabelData()
  1. java.lang.String
getLabelKey()
  1. InterfaceTextLocaleConfig
getLocaleData()
  1. java.lang.String
getObjectType()
  1. java.lang.String
getRepositoryId()
  1. java.lang.String
getRepositoryType()
  1. java.lang.String
getTooltipKey()
  1. java.lang.String
getType()
  1. boolean
isTypeAction()
  1. void
setClassicLabelKey(java.lang.String classicLabelKey)
  1. void
setDesktopId(java.lang.String id)
  1. void
setDisplayedIn(java.lang.String displayedIn)
  1. void
setLabelKey(java.lang.String labelKey)
  1. void
setRepositoryId(java.lang.String id)
  1. void
setRepositoryType(java.lang.String type)
  1. void
setTooltipKey(java.lang.String tooltipKey)
  1. void
setType(java.lang.String type)
  1. void
setUserData(java.lang.String[] userData)
  1. protected
  2. boolean
skipThisPropertyWhenSaving(java.lang.String key)
propertiesToString has been removed and replaced by this method.
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, stringToArray, stringToList, toJSON, toString, writeConfigurationToFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

LOCALE_DATA

  1. public static final java.lang.String LOCALE_DATA
See Also:

LABEL_DATA

  1. public static final java.lang.String LABEL_DATA
See Also:

Constructor Detail

InterfaceTextConfig

  1. public InterfaceTextConfig(org.apache.commons.configuration.Configuration configuration,
  2. java.lang.String idPrefix,
  3. java.lang.String id)

Method Detail

getObjectType

  1. public java.lang.String getObjectType( )
Description copied from class: ConfigurationObject
Abstract method to return object type.
Specified by:
Returns:
a string object type back, for example "desktop", "repository"...

getDataType

  1. 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:
Returns:
a Class instance describing the datatype of the property.

getLocaleData

  1. public InterfaceTextLocaleConfig getLocaleData( )

getLabelData

  1. public InterfaceTextLabelConfig getLabelData( )

skipThisPropertyWhenSaving

  1. protected boolean skipThisPropertyWhenSaving( java.lang.String key)
propertiesToString has been removed and replaced by this method. We don't need to two methods to do saving just in case other developers are not aware of it and made changes to the main but not the derived class one.
Overrides:
Parameters:
key - - A string value of property name.
Returns:
a boolean value, true to skip this property in saving and false is otherwise.

getLabelKey

  1. public java.lang.String getLabelKey( )

setLabelKey

  1. public void setLabelKey(java.lang.String labelKey)

getTooltipKey

  1. public java.lang.String getTooltipKey( )

setTooltipKey

  1. public void setTooltipKey(java.lang.String tooltipKey)

getType

  1. public java.lang.String getType( )

setType

  1. public void setType(java.lang.String type)

isTypeAction

  1. public boolean isTypeAction()

getRepositoryType

  1. public java.lang.String getRepositoryType( )

setRepositoryType

  1. public void setRepositoryType(java.lang.String type)

getRepositoryId

  1. public java.lang.String getRepositoryId( )

setRepositoryId

  1. public void setRepositoryId(java.lang.String id)

getDesktopId

  1. public java.lang.String getDesktopId( )

setDesktopId

  1. public void setDesktopId(java.lang.String id)

getDisplayedIn

  1. public java.lang.String getDisplayedIn( )

setDisplayedIn

  1. public void setDisplayedIn(java.lang.String displayedIn)

getClassicLabelKey

  1. public java.lang.String getClassicLabelKey( )

setClassicLabelKey

  1. public void setClassicLabelKey( java.lang.String classicLabelKey)

setUserData

  1. public void setUserData(java.lang.String[] userData)