| com.sun.portal.admin.common.AttrOptionConstants
AttrOptionConstants | public interface AttrOptionConstants (Code) | | The constants defined here are used by both, the client as well as the
server. As an example, the cli needs to know some of the options
to perform validation and massage the data to be presented to mbean.
The mbean needs to know some options like component name so that it
can invoke the appropriate component handler. Then the component handler
needs to know the options like attribute-name etc.
|
Field Summary | |
String | OPT_ADD | String | OPT_ATTR_NAME | String | OPT_ATTR_NAMES Key to name Set
Used by plural getAttributes methods to pass in a Set of
attr names. | String | OPT_COMPONENT | String | OPT_DN Key to the dn string
DN of the node, if any. | String | OPT_GLOBAL Boolean flag to indicate global attr type
Not supposed to be available from the cli
as the user is not expected to know the type.
The handler should set the appropriate value before calling super
methods. | String | OPT_INHERIT Flag to indicate that the value is not provided for set operation
and it should be used from the parent
Used only for user attrs. | String | OPT_ORG Boolean flag to indicate org type of attr
Not supposed to be available from the cli
as the user is not expected to know the type.
The handler should set the appropriate value before calling super
methods. | String | OPT_REMOVE |
OPT_ADD | String OPT_ADD(Code) | | Key to a List of values to be added to a list type of an attr
|
OPT_ATTR_NAME | String OPT_ATTR_NAME(Code) | | Key to String attr name
Used by singular get/set methods to pass in the attr name
Clients set this as a friendly name into the map
Handler use this to convert the friendly name to real name
|
OPT_ATTR_NAMES | String OPT_ATTR_NAMES(Code) | | Key to name Set
Used by plural getAttributes methods to pass in a Set of
attr names. This is a set of friendly names
|
OPT_COMPONENT | String OPT_COMPONENT(Code) | | Key to String service name
Clients set this as a friendly name into the map
Handler use this to convert the friendly name to real name
|
OPT_DN | String OPT_DN(Code) | | Key to the dn string
DN of the node, if any. Should be null for global type of attr
and for setting the default values of org/dyn type attrs.
Must be user's dn for user type of attrs.
|
OPT_GLOBAL | String OPT_GLOBAL(Code) | | Boolean flag to indicate global attr type
Not supposed to be available from the cli
as the user is not expected to know the type.
The handler should set the appropriate value before calling super
methods. For example, getAttribute method of component handler
can set this in the options map before calling super.getAttribute
|
OPT_INHERIT | String OPT_INHERIT(Code) | | Flag to indicate that the value is not provided for set operation
and it should be used from the parent
Used only for user attrs.
|
OPT_ORG | String OPT_ORG(Code) | | Boolean flag to indicate org type of attr
Not supposed to be available from the cli
as the user is not expected to know the type.
The handler should set the appropriate value before calling super
methods. For example, getAttribute method of component handler
can set this in the options map before calling super.getAttribute
|
OPT_REMOVE | String OPT_REMOVE(Code) | | Key to a List of values to be removed from a list type of an attr
|
|
|