com.ibm.ecm.configuration
Class FavoriteConfig
- java.lang.Object
- com.ibm.ecm.configuration.ConfigurationObject
- com.ibm.ecm.configuration.FavoriteConfig
All implemented interfaces:
java.lang.Comparable
- public class FavoriteConfig
- extends ConfigurationObject
- implements java.lang.Comparable
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 |
---|
FavoriteConfig(org.apache.commons.configuration.Configuration configuration,java.lang.String idPrefix,java.lang.String objectId)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
compareTo(java.lang.Object other)
|
|
getAlias()
|
|
getDataType(java.lang.String key)
|
|
getHasContentFlag()
|
|
getItemId()
|
|
getMimeType()
|
|
getObjectType()
|
|
getRepositoryId()
|
|
getRepositoryLabel()
|
|
getSubType()
|
|
getSyncDevices()
|
|
getSyncEnabled()
|
|
getSyncId()
|
|
getSyncRepositoryId()
|
|
getTemplate()
|
|
getType()
|
|
getVersionSerieId()
|
|
isHidden()
|
|
setAlias(java.lang.String alias)
|
|
setHasContentFlag(boolean hasContentFlag)
|
|
setHidden(boolean hidden)
|
|
setItemId(java.lang.String itemId)
|
|
setMimeType(java.lang.String mimetype)
|
|
setRepositoryId(java.lang.String id)
|
|
setRepositoryLabel(java.lang.String label)
|
|
setSubType(java.lang.String subType)
|
|
setSyncDevices(java.lang.String syncDevices)
|
|
setSyncEnabled(boolean syncEnabled)
|
|
setSyncId(long syncId)
|
|
setSyncRepositoryId(long syncRepositoryId)
|
|
setTemplate(java.lang.String template)
|
|
setType(java.lang.String type)
|
|
setVersionSerieId(java.lang.String vsId)
|
toJSON()
Override parent class implementation.
|
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, toString, writeConfigurationToFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
FavoriteConfig
- public FavoriteConfig(org.apache.commons.configuration.Configuration configuration,
- java.lang.String idPrefix,
- java.lang.String objectId)
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.
getRepositoryId
- public java.lang.String getRepositoryId( )
setRepositoryId
- public void setRepositoryId(java.lang.String id)
getRepositoryLabel
- public java.lang.String getRepositoryLabel( )
setRepositoryLabel
- public void setRepositoryLabel( java.lang.String label)
getAlias
- public java.lang.String getAlias( )
setAlias
- public void setAlias(java.lang.String alias)
getItemId
- public java.lang.String getItemId( )
setItemId
- public void setItemId(java.lang.String itemId)
getType
- public java.lang.String getType( )
setType
- public void setType(java.lang.String type)
compareTo
- public int compareTo(java.lang.Object other)
Specified by:
compareTo
in interface java.lang.Comparable
setTemplate
- public void setTemplate(java.lang.String template)
getTemplate
- public java.lang.String getTemplate( )
setMimeType
- public void setMimeType(java.lang.String mimetype)
getMimeType
- public java.lang.String getMimeType( )
setVersionSerieId
- public void setVersionSerieId(java.lang.String vsId)
getVersionSerieId
- public java.lang.String getVersionSerieId( )
getHasContentFlag
- public boolean getHasContentFlag( )
setHasContentFlag
- public void setHasContentFlag(boolean hasContentFlag)
getSyncEnabled
- public boolean getSyncEnabled()
Returns:
Since:
2.0.3
setSyncEnabled
- public void setSyncEnabled(boolean syncEnabled)
Parameters:
syncEnabled
- Since:
2.0.3
getSyncId
- public long getSyncId()
Returns:
Since:
2.0.3
setSyncId
- public void setSyncId(long syncId)
Parameters:
syncId
- Since:
2.0.3
getSyncDevices
- public java.lang.String getSyncDevices( )
Returns:
Since:
2.0.3
setSyncDevices
- public void setSyncDevices(java.lang.String syncDevices)
Since:
2.0.3
getSyncRepositoryId
- public long getSyncRepositoryId( )
Returns:
Since:
2.0.3.1
setSyncRepositoryId
- public void setSyncRepositoryId( long syncRepositoryId)
Parameters:
syncRepositoryId
- Since:
2.0.3.1
setHidden
- public void setHidden(boolean hidden)
isHidden
- public boolean isHidden()
setSubType
- public void setSubType(java.lang.String subType)
getSubType
- public java.lang.String getSubType( )
toJSON
- public JSONObject toJSON()
Override parent class implementation.
Overrides:
toJSON
in class ConfigurationObject
Returns:
A JSONObject of this configuration
ConfigurationObject