com.filenet.wcm.apps.server.util.prefs
Class CompoundDocumentAccess
- java.lang.Object
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
com.filenet.wcm.apps.server.util.prefs.CompoundDocumentAccess
All implemented interfaces:
java.io.Serializable, java.lang.Cloneable
- public class CompoundDocumentAccess
- extends com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
See Also:
Constructor Summary
| Constructor and Description |
|---|
CompoundDocumentAccess()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
clone()
|
|
getAccessRoles()
|
|
getAccessRolesArray()
|
|
getClassId()
|
|
getIncludeSubClasses()
|
|
initialize()
|
|
persist()
|
|
saveToXML(java.io.Writer w)
|
|
setAccessRoles(java.util.List accessRoles)
|
|
setClassId(java.lang.String id)
|
|
setIncludeSubClasses(boolean yes)
|
| Methods inherited from class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject |
|---|
clear, clearAttributes, convertToBoolean, convertToBoolean, convertToInt, convertToLong, convertToPrefsLabel, convertToPrefsLabelArray, equals, get, getAttribute, getBoolean, getElementKey, getInt, getLabel, getLabelArray, getList, getLocalizedString, getString, getStringArray, getVersion, load, load, load, load, loadLabel, loadPreferences, loadPreferences, loadPreferences, put, put, put, put, put, put, put, put, registerKey, remove, removeAttribute, removeLocalizedString, setAttribute, setElementKey, setVersion, toByteArrayXML, toXML, writeEndSettingTag, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeSetting, writeStartSettingTag, writeStartSettingTag, writeXML, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
CompoundDocumentAccess
- public CompoundDocumentAccess()
Method Detail
initialize
- protected void initialize()
In sub-classes, read the values from internal map using get methods into member variables.
Overrides:
initialize in class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
persist
- protected void persist()
Description copied from class:
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
In sub-classes, write the values from member variables into the internal map using put method.
Do this if you are not overwriting saveToXML method.
Overrides:
persist in class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
saveToXML
- protected void saveToXML(java.io.Writer w)
- throws java.io.IOException
Description copied from class:
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
Overwrite this method if you want to hanlde saving data yourself. Make sure to call clear() method after
you are done, so the internal map is cleared, and values are not saved twice
Overrides:
saveToXML in class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
Parameters:
w - Writer object Throws:
java.io.IOException - if any IO errors occur when writing the xml getClassId
- public java.lang.String getClassId( )
setClassId
- public void setClassId(java.lang.String id)
getIncludeSubClasses
- public boolean getIncludeSubClasses( )
setIncludeSubClasses
- public void setIncludeSubClasses( boolean yes)
getAccessRoles
- public java.util.List getAccessRoles( )
getAccessRolesArray
- public java.lang.String[] getAccessRolesArray( )
setAccessRoles
- public void setAccessRoles(java.util.List accessRoles)
clone
- public java.lang.Object clone()
- throws java.lang.CloneNotSupportedException
Overrides:
clone in class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
Throws:
java.lang.CloneNotSupportedException
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject