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

Class PrimaryView

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

  1. public class PrimaryView
  2. extends com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
See Also:
Serialized Form

Constructor Summary

Constructor and Description
PrimaryView()

Method Summary

Modifier and Type Method and Description
  1. com.filenet.wcm.toolkit.server.util.ui.WcmAnchor
getAnchor(java.util.Locale locale)
  1. java.lang.String
getId()
  1. com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel
getLabel()
  1. java.util.Set
getRoles()
  1. java.lang.String[]
getRootDescriptors()
  1. java.lang.String
getTreeNodeKey()
  1. java.lang.String
getURL()
  1. protected
  2. void
initialize()
  1. boolean
isDisplayedInSitePreferences()
  1. boolean
isGuestAllowed()
  1. boolean
isPrimaryView()
  1. boolean
isVisible()
  1. protected
  2. void
saveToXML(java.io.Writer w)
  1. void
setRoles(java.util.Set roles)
  1. void
setRoles(java.lang.String[] roles)
  1. void
setVisible(boolean visible)
Methods inherited from class com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
clear, clearAttributes, clone, 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, persist, 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

PrimaryView

  1. public PrimaryView()

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

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

isDisplayedInSitePreferences

  1. public boolean isDisplayedInSitePreferences( )

getAnchor

  1. public com.filenet.wcm.toolkit.server.util.ui.WcmAnchor getAnchor( java.util.Locale locale)

getTreeNodeKey

  1. public java.lang.String getTreeNodeKey( )

isVisible

  1. public boolean isVisible()

setVisible

  1. public void setVisible(boolean visible)

getURL

  1. public java.lang.String getURL( )

getId

  1. public java.lang.String getId()

getRoles

  1. public java.util.Set getRoles()

setRoles

  1. public void setRoles(java.util.Set roles)

setRoles

  1. public void setRoles(java.lang.String[] roles)

getRootDescriptors

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

getLabel

  1. public com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel getLabel( )

isGuestAllowed

  1. public boolean isGuestAllowed()

isPrimaryView

  1. public boolean isPrimaryView()