| com.sun.portal.fabric.mbeans.PortalMBean
All known Subclasses: com.sun.portal.fabric.mbeans.Portal,
getAttributes | public Map getAttributes(Map optionsMap) throws PSMBeanException(Code) | | The cli handles only one attr at a time. So this method
will only be consumed by console which needs many attrs to be
displayed on one screen.
Returns attributes at the specific dn or at top level
If global, then dn should not be specified
If org and dn is not specified, then its org default
If neither global nor org, then its dynamic
If neither global nor org and no dn, then its dynamic default
If neither global nor org and dn is user dn, then its user attrs
The optionsMap contains these in addition to component
specific options:
OPT_COMPONENT = "component";
OPT_ATTR_NAMES = "attribute-names";
OPT_DN = "dn";
OPT_GLOBAL = "global";
OPT_ORG = "org";
These constants are defined in
com.sun.portal.admin.common.AttrOptionConstants
The names passed and returned are friendly names
Parameters: optionsMap - a map containing key-value pairs for options map of name-values for the attribute where values is a List throws: PSMBeanException - if there was error in retrieving the value |
setAttributes | public void setAttributes(Map nameValues, Map optionsMap) throws PSMBeanException(Code) | | Sets the value(s) for multiple attributes passed in the map
This method does not support add/remove/inherit. It is only
to set the values. Consumed by console. Not used by clis.
The optionsMap contains these in addition to component
specific options
operation = set
//common basic options
OPT_COMPONENT = "component";
OPT_DN = "dn";
OPT_GLOBAL = "global";
OPT_ORG = "org";
OPT_COMPONENT is the friendly service name
The nameValues map consists of mapping between friendly attr name
and its value which is a List
Parameters: nameValues - map of name-ListValues Parameters: optionsMap - a map containing key-value pairs for options throws: PSMBeanException - if there was an error in setting the value |
|
|