com.filenet.wcm.apps.server.util.prefs

Class CompoundDocumentAccess

  1. java.lang.Object
  2. extended bycom.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
  3. extended bycom.filenet.wcm.apps.server.util.prefs.CompoundDocumentAccess
All implemented interfaces:
java.io.Serializable, java.lang.Cloneable

  1. public class CompoundDocumentAccess
  2. extends com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
Stores the Compound Document Acesss data
See Also:
Serialized Form

Constructor Summary

Constructor and Description
CompoundDocumentAccess()

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
clone()
  1. java.util.List
getAccessRoles()
  1. java.lang.String[]
getAccessRolesArray()
  1. java.lang.String
getClassId()
  1. boolean
getIncludeSubClasses()
  1. protected
  2. void
initialize()
  1. protected
  2. void
persist()
  1. protected
  2. void
saveToXML(java.io.Writer w)
  1. void
setAccessRoles(java.util.List accessRoles)
  1. void
setClassId(java.lang.String id)
  1. void
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

  1. public CompoundDocumentAccess()

Method Detail

initialize

  1. protected void initialize()
Description copied from class: com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
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

  1. 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

  1. protected void saveToXML(java.io.Writer w)
  2. 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

  1. public java.lang.String getClassId( )

setClassId

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

getIncludeSubClasses

  1. public boolean getIncludeSubClasses( )

setIncludeSubClasses

  1. public void setIncludeSubClasses( boolean yes)

getAccessRoles

  1. public java.util.List getAccessRoles( )

getAccessRolesArray

  1. public java.lang.String[] getAccessRolesArray( )

setAccessRoles

  1. public void setAccessRoles(java.util.List accessRoles)

clone

  1. public java.lang.Object clone()
  2. throws java.lang.CloneNotSupportedException
Overrides:
clone in class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
Throws:
java.lang.CloneNotSupportedException