com.waveset.object
Class UserUIConfig

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.UserUIConfig
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class UserUIConfig
extends AbstractXmlObject


Field Summary
protected static UserUIConfig _singleton
           
static java.lang.String ADMIN_DISPLAY_ATTRIBUTE_WRAPPER
           
static java.lang.String APPLET_COLUMNS_WRAPPER
           
static java.lang.String APPLET_SORT_COLUMN_WRAPPER
           
static java.lang.String ATT_NAME
           
static java.lang.String CAPABILITY_GROUP_CONTENTS_WRAPPER
           
static java.lang.String CAPABILITY_GROUPS_WRAPPER
           
static java.lang.String code_id
           
static java.lang.String COLUMN_LABEL
           
static java.lang.String COLUMN_SORTBY
           
static java.lang.String COLUMN_WIDTH
           
static java.lang.String DISPLAY_BRACKET_ON_BRANCH
           
static java.lang.String DISPLAY_NAME_LIST_DELIMINATOR
           
static java.lang.String ELEMENT
          Our XML element name.
static java.lang.String FIND_RESULTS_SORT_COLUMN_WRAPPER
           
static java.lang.String FIND_RESULTS_WRAPPER
           
static java.lang.String FIND_USER_DEFAULT_SEARCH_ATTR_WRAPPER
           
static java.lang.String FIND_USER_SEARCH_ATTRS_WRAPPER
           
static java.lang.String FIND_USER_SEARCH_OPERATORS_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ATTRIBUTE1_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ATTRIBUTE2_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ATTRIBUTE3_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ATTRIBUTE4_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ATTRIBUTE5_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_CAPABILITIES_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_DISABLED_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ORGANIZATION_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_PROVISIONING_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_RESOURCES_SEARCH_WRAPPER
           
static java.lang.String FIND_USER_SHOW_ROLE_SEARCH_WRAPPER
           
static java.lang.String LIST_VIEW_ATTRIBUTES_WRAPPER
           
static java.lang.String MAX_NUMBER_CHILDREN_PER_NODE
           
static java.lang.String PAGES_FOR_SEARCH
           
static java.lang.String PAGES_WITH_TASK_BAR_WRAPPER
           
static java.lang.String PAGES_WITH_TOP_BUTTONS_WRAPPER
           
static java.lang.String POLICY_ACCOUNT_ATTRIBUTE_NAMES_WRAPPER
           
static java.lang.String POLICY_OTHER_ATTRIBUTE_NAMES_WRAPPER
           
static java.lang.String POLICY_PASSWORD_ATTRIBUTE_NAMES_WRAPPER
           
static java.lang.String POLICY_SPECIAL_CHARS_WRAPPER
           
static java.lang.String QUERYABLE_ATTTR_NAMES_WRAPPER
           
static java.lang.String REPO_INDEX_ATTTRS_WRAPPER
           
static java.lang.String ROOT_NODE_WINDOW_SIZE
           
static java.lang.String SEARCH_EXPANSION_THRESHOLD
           
static java.lang.String SHOW_LIST_CACHE_CLEAR_BUTTON_WRAPPER
           
static java.lang.String SUBNODE_WINDOW_SIZE
           
static java.lang.String SUMMARY_ATTTR_NAMES_WRAPPER
           
static java.lang.String SUMMARY_ATTTR_RESOURCE_LIMIT_WRAPPER
           
static java.lang.String SUMMARY_ATTTR_TYPES_WRAPPER
           
static java.lang.String USE_PAGED_RESULTS
           
static java.lang.String USER_LIST_VIEWER_WRAPPER
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
UserUIConfig()
          Build an empty object, ready for filling.
UserUIConfig(org.w3c.dom.Element e)
          Build a UserUIConfig object by parsing its DOM representation.
 
Method Summary
protected static void checkUIConfig(UserUIConfig ui)
           
protected static void createDefaultValues(UserUIConfig conf)
           
 java.lang.String getAdminDisplayAttribute()
           
 java.util.List getAppletColumnDefs()
           
 java.util.List getAppletColumns()
          Deprecated. as of 3.1SP8/4.1 Use #getAppletColumnDefs() instead.
 int getAppletSortColumn()
           
 java.util.List getCapabilityGroup(java.lang.String name)
           
 java.util.HashMap getCapabilityGroupDisplayNames()
           
 java.util.Set getCapabilityGroupNames()
           
 java.util.Map getCapabilityGroups()
           
 java.lang.String getElementName()
          Return our XML element name, required by XmlObject.
 java.util.List getFindMatchOperatorDisplayNameKeys()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 java.util.List getFindMatchOperators()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 java.util.List getFindResultsColumns()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 int getFindResultsSortColumn()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 java.lang.String getFindUserDefaultSearchAttribute()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 java.util.List getFindUserSearchAttributes()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowAttribute(int attributeIndex)
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowCapabilitiesSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowDisabledSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowOrganizationSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowProvisioningSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowResourcesSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 boolean getFindUserShowRoleSearch()
          Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.
 java.util.Map getListViewAttributes()
           
 java.util.List getPagesWithButtonsOnTop()
           
 java.util.List getPagesWithTaskBar()
           
 java.util.List getPolicyAccountAttributeNames()
           
 java.util.List getPolicyOtherAttributeNames()
           
 java.util.List getPolicyPasswordAttributeNames()
           
 java.lang.String getPolicySpecialChars()
           
 java.util.List getQueryableAttributeNames()
           
 java.util.List getRepoIndexAttributes()
           
 boolean getShowListCacheClearButton()
           
 java.util.List getSummaryAttributeNames()
           
 int getSummaryAttributeResourceLimit()
           
 java.util.List getSummaryAttributeTypes()
           
static UserUIConfig getUIConfig()
           
 java.lang.String getUserListViewer()
           
 boolean hasTaskBar(java.lang.String page)
           
 boolean hasTopButtons(java.lang.String page)
           
protected static Configuration makeDefaultValues()
           
static void removeDups(java.util.List l, boolean reportDups, java.lang.String message)
           
 void setListViewAttributes(java.util.Map listViewAttributes)
           
 void setPolicyOtherAttributeNames(java.util.ArrayList names)
           
 void setPolicyPasswordAttributeNames(java.util.ArrayList names)
           
 void setUserListViewer(java.lang.String userListViewer)
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize the object to an XML buffer.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

ELEMENT

public static final java.lang.String ELEMENT
Our XML element name.

See Also:
Constant Field Values

SUMMARY_ATTTR_TYPES_WRAPPER

public static final java.lang.String SUMMARY_ATTTR_TYPES_WRAPPER
See Also:
Constant Field Values

SUMMARY_ATTTR_NAMES_WRAPPER

public static final java.lang.String SUMMARY_ATTTR_NAMES_WRAPPER
See Also:
Constant Field Values

SUMMARY_ATTTR_RESOURCE_LIMIT_WRAPPER

public static final java.lang.String SUMMARY_ATTTR_RESOURCE_LIMIT_WRAPPER
See Also:
Constant Field Values

QUERYABLE_ATTTR_NAMES_WRAPPER

public static final java.lang.String QUERYABLE_ATTTR_NAMES_WRAPPER
See Also:
Constant Field Values

REPO_INDEX_ATTTRS_WRAPPER

public static final java.lang.String REPO_INDEX_ATTTRS_WRAPPER
See Also:
Constant Field Values

APPLET_COLUMNS_WRAPPER

public static final java.lang.String APPLET_COLUMNS_WRAPPER
See Also:
Constant Field Values

APPLET_SORT_COLUMN_WRAPPER

public static final java.lang.String APPLET_SORT_COLUMN_WRAPPER
See Also:
Constant Field Values

FIND_RESULTS_WRAPPER

public static final java.lang.String FIND_RESULTS_WRAPPER
See Also:
Constant Field Values

FIND_RESULTS_SORT_COLUMN_WRAPPER

public static final java.lang.String FIND_RESULTS_SORT_COLUMN_WRAPPER
See Also:
Constant Field Values

FIND_USER_SEARCH_ATTRS_WRAPPER

public static final java.lang.String FIND_USER_SEARCH_ATTRS_WRAPPER
See Also:
Constant Field Values

FIND_USER_SEARCH_OPERATORS_WRAPPER

public static final java.lang.String FIND_USER_SEARCH_OPERATORS_WRAPPER
See Also:
Constant Field Values

FIND_USER_DEFAULT_SEARCH_ATTR_WRAPPER

public static final java.lang.String FIND_USER_DEFAULT_SEARCH_ATTR_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_PROVISIONING_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_PROVISIONING_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_DISABLED_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_DISABLED_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_RESOURCES_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_RESOURCES_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ATTRIBUTE1_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ATTRIBUTE1_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ATTRIBUTE2_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ATTRIBUTE2_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ATTRIBUTE3_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ATTRIBUTE3_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ATTRIBUTE4_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ATTRIBUTE4_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ATTRIBUTE5_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ATTRIBUTE5_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ROLE_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ROLE_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_ORGANIZATION_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_ORGANIZATION_SEARCH_WRAPPER
See Also:
Constant Field Values

FIND_USER_SHOW_CAPABILITIES_SEARCH_WRAPPER

public static final java.lang.String FIND_USER_SHOW_CAPABILITIES_SEARCH_WRAPPER
See Also:
Constant Field Values

SHOW_LIST_CACHE_CLEAR_BUTTON_WRAPPER

public static final java.lang.String SHOW_LIST_CACHE_CLEAR_BUTTON_WRAPPER
See Also:
Constant Field Values

PAGES_WITH_TOP_BUTTONS_WRAPPER

public static final java.lang.String PAGES_WITH_TOP_BUTTONS_WRAPPER
See Also:
Constant Field Values

PAGES_WITH_TASK_BAR_WRAPPER

public static final java.lang.String PAGES_WITH_TASK_BAR_WRAPPER
See Also:
Constant Field Values

CAPABILITY_GROUPS_WRAPPER

public static final java.lang.String CAPABILITY_GROUPS_WRAPPER
See Also:
Constant Field Values

CAPABILITY_GROUP_CONTENTS_WRAPPER

public static final java.lang.String CAPABILITY_GROUP_CONTENTS_WRAPPER
See Also:
Constant Field Values

POLICY_ACCOUNT_ATTRIBUTE_NAMES_WRAPPER

public static final java.lang.String POLICY_ACCOUNT_ATTRIBUTE_NAMES_WRAPPER
See Also:
Constant Field Values

POLICY_PASSWORD_ATTRIBUTE_NAMES_WRAPPER

public static final java.lang.String POLICY_PASSWORD_ATTRIBUTE_NAMES_WRAPPER
See Also:
Constant Field Values

POLICY_OTHER_ATTRIBUTE_NAMES_WRAPPER

public static final java.lang.String POLICY_OTHER_ATTRIBUTE_NAMES_WRAPPER
See Also:
Constant Field Values

POLICY_SPECIAL_CHARS_WRAPPER

public static final java.lang.String POLICY_SPECIAL_CHARS_WRAPPER
See Also:
Constant Field Values

ADMIN_DISPLAY_ATTRIBUTE_WRAPPER

public static final java.lang.String ADMIN_DISPLAY_ATTRIBUTE_WRAPPER
See Also:
Constant Field Values

LIST_VIEW_ATTRIBUTES_WRAPPER

public static final java.lang.String LIST_VIEW_ATTRIBUTES_WRAPPER
See Also:
Constant Field Values

USER_LIST_VIEWER_WRAPPER

public static final java.lang.String USER_LIST_VIEWER_WRAPPER
See Also:
Constant Field Values

COLUMN_LABEL

public static final java.lang.String COLUMN_LABEL
See Also:
Constant Field Values

COLUMN_WIDTH

public static final java.lang.String COLUMN_WIDTH
See Also:
Constant Field Values

COLUMN_SORTBY

public static final java.lang.String COLUMN_SORTBY
See Also:
Constant Field Values

DISPLAY_NAME_LIST_DELIMINATOR

public static final java.lang.String DISPLAY_NAME_LIST_DELIMINATOR
See Also:
Constant Field Values

MAX_NUMBER_CHILDREN_PER_NODE

public static final java.lang.String MAX_NUMBER_CHILDREN_PER_NODE
See Also:
Constant Field Values

PAGES_FOR_SEARCH

public static final java.lang.String PAGES_FOR_SEARCH
See Also:
Constant Field Values

SUBNODE_WINDOW_SIZE

public static final java.lang.String SUBNODE_WINDOW_SIZE
See Also:
Constant Field Values

ROOT_NODE_WINDOW_SIZE

public static final java.lang.String ROOT_NODE_WINDOW_SIZE
See Also:
Constant Field Values

USE_PAGED_RESULTS

public static final java.lang.String USE_PAGED_RESULTS
See Also:
Constant Field Values

DISPLAY_BRACKET_ON_BRANCH

public static final java.lang.String DISPLAY_BRACKET_ON_BRANCH
See Also:
Constant Field Values

SEARCH_EXPANSION_THRESHOLD

public static final java.lang.String SEARCH_EXPANSION_THRESHOLD
See Also:
Constant Field Values

_singleton

protected static UserUIConfig _singleton

ATT_NAME

public static final java.lang.String ATT_NAME
See Also:
Constant Field Values
Constructor Detail

UserUIConfig

public UserUIConfig()
Build an empty object, ready for filling.


UserUIConfig

public UserUIConfig(org.w3c.dom.Element e)
             throws WavesetException
Build a UserUIConfig object by parsing its DOM representation. Required by XmlObject.

Method Detail

getElementName

public java.lang.String getElementName()
Return our XML element name, required by XmlObject.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

checkUIConfig

protected static void checkUIConfig(UserUIConfig ui)
                             throws WavesetException
Throws:
WavesetException

removeDups

public static void removeDups(java.util.List l,
                              boolean reportDups,
                              java.lang.String message)

getUIConfig

public static UserUIConfig getUIConfig()
                                throws WavesetException
Throws:
WavesetException

getSummaryAttributeTypes

public java.util.List getSummaryAttributeTypes()

getSummaryAttributeNames

public java.util.List getSummaryAttributeNames()

getSummaryAttributeResourceLimit

public int getSummaryAttributeResourceLimit()

getQueryableAttributeNames

public java.util.List getQueryableAttributeNames()

getAppletColumns

public java.util.List getAppletColumns()
Deprecated. as of 3.1SP8/4.1 Use #getAppletColumnDefs() instead.


getAppletColumnDefs

public java.util.List getAppletColumnDefs()

getFindResultsColumns

public java.util.List getFindResultsColumns()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserSearchAttributes

public java.util.List getFindUserSearchAttributes()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindMatchOperators

public java.util.List getFindMatchOperators()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindMatchOperatorDisplayNameKeys

public java.util.List getFindMatchOperatorDisplayNameKeys()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getRepoIndexAttributes

public java.util.List getRepoIndexAttributes()

getAppletSortColumn

public int getAppletSortColumn()

getFindResultsSortColumn

public int getFindResultsSortColumn()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserDefaultSearchAttribute

public java.lang.String getFindUserDefaultSearchAttribute()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowProvisioningSearch

public boolean getFindUserShowProvisioningSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowDisabledSearch

public boolean getFindUserShowDisabledSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowResourcesSearch

public boolean getFindUserShowResourcesSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowAttribute

public boolean getFindUserShowAttribute(int attributeIndex)
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowRoleSearch

public boolean getFindUserShowRoleSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowOrganizationSearch

public boolean getFindUserShowOrganizationSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getFindUserShowCapabilitiesSearch

public boolean getFindUserShowCapabilitiesSearch()
Deprecated. 4.1SP2 This configuration is now handled by the form; this value cannot be trusted.


getShowListCacheClearButton

public boolean getShowListCacheClearButton()

getPagesWithButtonsOnTop

public java.util.List getPagesWithButtonsOnTop()

getPagesWithTaskBar

public java.util.List getPagesWithTaskBar()

hasTopButtons

public boolean hasTopButtons(java.lang.String page)

hasTaskBar

public boolean hasTaskBar(java.lang.String page)

getCapabilityGroups

public java.util.Map getCapabilityGroups()

getCapabilityGroupNames

public java.util.Set getCapabilityGroupNames()

getCapabilityGroupDisplayNames

public java.util.HashMap getCapabilityGroupDisplayNames()

getCapabilityGroup

public java.util.List getCapabilityGroup(java.lang.String name)

getPolicyAccountAttributeNames

public java.util.List getPolicyAccountAttributeNames()

getPolicyPasswordAttributeNames

public java.util.List getPolicyPasswordAttributeNames()

setPolicyPasswordAttributeNames

public void setPolicyPasswordAttributeNames(java.util.ArrayList names)

getPolicyOtherAttributeNames

public java.util.List getPolicyOtherAttributeNames()

setPolicyOtherAttributeNames

public void setPolicyOtherAttributeNames(java.util.ArrayList names)

getPolicySpecialChars

public java.lang.String getPolicySpecialChars()

getAdminDisplayAttribute

public java.lang.String getAdminDisplayAttribute()

setListViewAttributes

public void setListViewAttributes(java.util.Map listViewAttributes)

getListViewAttributes

public java.util.Map getListViewAttributes()

setUserListViewer

public void setUserListViewer(java.lang.String userListViewer)

getUserListViewer

public java.lang.String getUserListViewer()

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Serialize the object to an XML buffer.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject

createDefaultValues

protected static void createDefaultValues(UserUIConfig conf)
                                   throws WavesetException
Throws:
WavesetException

makeDefaultValues

protected static Configuration makeDefaultValues()
                                          throws WavesetException
Throws:
WavesetException