com.filenet.wcm.apps.server.util.prefs
Class PrimaryView
- java.lang.Object
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
com.filenet.wcm.apps.server.util.prefs.PrimaryView
All implemented interfaces:
java.io.Serializable, java.lang.Cloneable
- public class PrimaryView
- extends com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject
See Also:
Constructor Summary
| Constructor and Description |
|---|
PrimaryView()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getAnchor(java.util.Locale locale)
|
|
getId()
|
|
getLabel()
|
|
getRoles()
|
|
getRootDescriptors()
|
|
getTreeNodeKey()
|
|
getURL()
|
|
initialize()
|
|
isDisplayedInSitePreferences()
|
|
isGuestAllowed()
|
|
isPrimaryView()
|
|
isVisible()
|
|
saveToXML(java.io.Writer w)
|
|
setRoles(java.util.Set roles)
|
|
setRoles(java.lang.String[] roles)
|
|
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
- public PrimaryView()
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
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 isDisplayedInSitePreferences
- public boolean isDisplayedInSitePreferences( )
getAnchor
- public com.filenet.wcm.toolkit.server.util.ui.WcmAnchor getAnchor( java.util.Locale locale)
getTreeNodeKey
- public java.lang.String getTreeNodeKey( )
isVisible
- public boolean isVisible()
setVisible
- public void setVisible(boolean visible)
getURL
- public java.lang.String getURL( )
getId
- public java.lang.String getId()
getRoles
- public java.util.Set getRoles()
setRoles
- public void setRoles(java.util.Set roles)
setRoles
- public void setRoles(java.lang.String[] roles)
getRootDescriptors
- public java.lang.String[] getRootDescriptors( )
getLabel
- public com.filenet.wcm.toolkit.server.util.prefs.PrefsLabel getLabel( )
isGuestAllowed
- public boolean isGuestAllowed()
isPrimaryView
- public boolean isPrimaryView()
com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject