Enterprise Information Portal APIs

com.ibm.mm.beans
Class CMBUserRequestEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.mm.beans.CMBEventBase
              |
              +--com.ibm.mm.beans.CMBUserRequestEvent
All Implemented Interfaces:
CMBBaseConstant, java.io.Serializable

public class CMBUserRequestEvent
extends CMBEventBase

Event for for broadcasting user management function requests.

Since:
6.1
See Also:
CMBUserManagement, CMBUserRequestListener, Serialized Form

Field Summary
static int CMB_REQUEST_USER_ADD_MAP
          Event type ID: request adding a new user mapping on a back-end server.
static int CMB_REQUEST_USER_CHANGE_PW
          Event type ID: request changing back-end password.
static int CMB_REQUEST_USER_DEL_MAP
          Event type ID: request removing a user mapping on a back-end server.
static int CMB_REQUEST_USER_NATIVE_ID
          Event type ID: request native id, eventData contains serverName
static int CMB_REQUEST_USER_SERVERS
          Event type ID: request the list of back-end servers this user can connect to.
static int CMB_REQUEST_USER_UPDATE_MAP
          Event type ID: request updating user mapping on a back-end server
 
Fields inherited from class com.ibm.mm.beans.CMBEventBase
CMB_REPLY_NO_CONNECTION
 
Fields inherited from class java.util.EventObject
source
 
Fields inherited from interface com.ibm.mm.beans.CMBBaseConstant
ANNOTATION_MIME_TYPE, CMB_CLASS_ICM_DOC_MODEL, CMB_CLASS_ICM_DOC_PART, CMB_CLASS_ITEM, CMB_CLASS_RESOURCE_ITEM, CMB_CLASS_UNDEFINED, CMB_CONNTYPE_DYNAMIC, CMB_CONNTYPE_LOCAL, CMB_CONNTYPE_REMOTE, CMB_CONTENT_ATTRONLY, CMB_CONTENT_CHILDREN, CMB_CONTENT_ITEMTREE, CMB_CONTENT_LINKS_INBOUND, CMB_CONTENT_LINKS_OUTBOUND, CMB_CONTENT_YES, CMB_DATATYPE_COLLECTION, CMB_DATATYPE_COLLECTION_DDO, CMB_DATATYPE_COLLECTION_XDO, CMB_DATATYPE_DATAOBJECTBASE, CMB_DATATYPE_DATE, CMB_DATATYPE_DECIMAL, CMB_DATATYPE_DOUBLE, CMB_DATATYPE_FLOAT, CMB_DATATYPE_FSTRING, CMB_DATATYPE_ITEM, CMB_DATATYPE_ITEM_COLLECTION, CMB_DATATYPE_LONG, CMB_DATATYPE_OBJECT, CMB_DATATYPE_OBJECT_COLLECTION, CMB_DATATYPE_SHORT, CMB_DATATYPE_TIME, CMB_DATATYPE_TIMESTAMP, CMB_DATATYPE_UNDEFINED, CMB_DATATYPE_VSTRING, CMB_DSTYPE_CM, CMB_DSTYPE_DB2, CMB_DSTYPE_DES, CMB_DSTYPE_DJ, CMB_DSTYPE_DL, CMB_DSTYPE_DOMDOC, CMB_DSTYPE_FED, CMB_DSTYPE_FN, CMB_DSTYPE_IC, CMB_DSTYPE_ICM, CMB_DSTYPE_IP390, CMB_DSTYPE_JDBC, CMB_DSTYPE_OD, CMB_DSTYPE_VI400, CMB_EIP_LOGOUT, CMB_OBJTYPE_CMBITEM, CMB_OBJTYPE_CMBOBJECT, CMB_OP_AND, CMB_OP_BETWEEN, CMB_OP_CONTAINS_TEXT, CMB_OP_CONTAINS_TEXT_IN_CONTENT, CMB_OP_EQUAL, CMB_OP_GREATER, CMB_OP_GREATER_EQUAL, CMB_OP_IN, CMB_OP_LESS, CMB_OP_LESS_EQUAL, CMB_OP_LIKE, CMB_OP_NOT, CMB_OP_NOT_BETWEEN, CMB_OP_NOT_EQUAL, CMB_OP_NOT_IN, CMB_OP_NOT_LIKE, CMB_OP_OR, CMB_OP_UNDEFINED, CMB_QS_TYPE_COMBINED, CMB_QS_TYPE_DES, CMB_QS_TYPE_FEDERATED, CMB_QS_TYPE_IMAGE, CMB_QS_TYPE_PARAMETRIC, CMB_QS_TYPE_SQL, CMB_QS_TYPE_TEMPLATE, CMB_QS_TYPE_TEXT, CMB_QS_TYPE_UNKNOWN, CMB_QS_TYPE_XPATH, CMB_ST_SKIP_ALWAYS, CMB_ST_SKIP_NEVER, CMB_ST_SKIP_WITH_PROMPT, CMB_STATUS_FAILED, CMB_STATUS_OK, CMB_STATUS_RESULT_END, CMB_STATUS_RESULT_MORE, CMB_STATUS_RESULT_NEW, CMB_TIMESTAMP_UNDEFINED, CMB_TYPE_DOCUMENT, CMB_TYPE_FOLDER, CMB_TYPE_ITEM, CMB_TYPE_UNKNOWN, CMB_USERID_UNDEFINED, CMB_VERSION_CONTROL_ALWAYS_NEW, CMB_VERSION_CONTROL_BY_APP, CMB_VERSION_CONTROL_NEVER, CMB_VERSION_KEYWORD, CMB_VERSION_LATEST, CMB_VERSION_NEW, PROP_CACHE_ENABLED, PROP_CC2MIME_URL, PROP_CONNECTION, PROP_CONNECTION_TYPE, PROP_DATA_MANAGEMENT_ENABLED, PROP_DSTYPE, PROP_LOCAL_SERVER, PROP_NAME, PROP_NEW_PASSWORD, PROP_PASSWORD, PROP_PORT_NUMBER, PROP_QUERY_CALLBACK_THRESHOLD, PROP_QUERY_MAX_RESULTS, PROP_RESULT_PAGESIZE, PROP_RMI_HOSTNAME, PROP_SCHEMA_MANAGEMENT_ENABLED, PROP_SEARCH_ASYNCH, PROP_SEARCH_MULTI_CHARS_WILDCARD, PROP_SEARCH_PARAMETRIC_WILDCARD, PROP_SEARCH_SINGLE_CHAR_WILDCARD, PROP_SEARCH_SKIP_SERVER, PROP_SEARCH_TIMEOUT, PROP_SERVER_NAME, PROP_SV_CONNECTION_TYPE, PROP_SV_PORT_NUMBER, PROP_SV_RMI_HOSTNAME, PROP_TRACE_ENABLED, PROP_USERID
 
Constructor Summary
CMBUserRequestEvent(java.lang.Object source, int id)
          Constructor.
CMBUserRequestEvent(java.lang.Object source, int id, java.lang.String server)
          Constructor.
CMBUserRequestEvent(java.lang.Object source, int id, java.lang.String server, java.lang.String userid, java.lang.String passwd)
          Constructor.
CMBUserRequestEvent(java.lang.Object source, int id, java.lang.String server, java.lang.String userid, java.lang.String passwd, java.lang.String newPasswd)
          Constructor.
 
Method Summary
 java.lang.String getNewPassword()
          Gets back-end server new password
 java.lang.String getPassword()
          Gets server password
 java.lang.String getServer()
          Gets server name
 java.lang.String getUserid()
          Gets native userid
 
Methods inherited from class com.ibm.mm.beans.CMBEventBase
getData, getExtraData, getID, getStatus
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CMB_REQUEST_USER_NATIVE_ID

public static final int CMB_REQUEST_USER_NATIVE_ID
Event type ID: request native id, eventData contains serverName

CMB_REQUEST_USER_SERVERS

public static final int CMB_REQUEST_USER_SERVERS
Event type ID: request the list of back-end servers this user can connect to.

CMB_REQUEST_USER_ADD_MAP

public static final int CMB_REQUEST_USER_ADD_MAP
Event type ID: request adding a new user mapping on a back-end server.

CMB_REQUEST_USER_DEL_MAP

public static final int CMB_REQUEST_USER_DEL_MAP
Event type ID: request removing a user mapping on a back-end server.

CMB_REQUEST_USER_UPDATE_MAP

public static final int CMB_REQUEST_USER_UPDATE_MAP
Event type ID: request updating user mapping on a back-end server

CMB_REQUEST_USER_CHANGE_PW

public static final int CMB_REQUEST_USER_CHANGE_PW
Event type ID: request changing back-end password.
Constructor Detail

CMBUserRequestEvent

public CMBUserRequestEvent(java.lang.Object source,
                           int id)
Constructor.
Parameters:
source - the event source
id - the event type

CMBUserRequestEvent

public CMBUserRequestEvent(java.lang.Object source,
                           int id,
                           java.lang.String server)
Constructor.
Parameters:
source - the event source
id - the event type
server - the server name

CMBUserRequestEvent

public CMBUserRequestEvent(java.lang.Object source,
                           int id,
                           java.lang.String server,
                           java.lang.String userid,
                           java.lang.String passwd,
                           java.lang.String newPasswd)
Constructor.
Parameters:
source - the event source
id - the event type = CMB_REQUEST_USER_CHANGE_PW
server - the server name
userid - the server userid
passwd - current password
newPasswd - new password

CMBUserRequestEvent

public CMBUserRequestEvent(java.lang.Object source,
                           int id,
                           java.lang.String server,
                           java.lang.String userid,
                           java.lang.String passwd)
Constructor. For use with CMB_REQUEST_USER_ADD_MAP and CMB_REQUEST_USER_UPDATE_MAP event ids.
Parameters:
source - the event source
id - the event type
server - the server name
userid - userid on the server
passwd - password on the server
Method Detail

getServer

public java.lang.String getServer()
Gets server name
Returns:
name of back-end server

getUserid

public java.lang.String getUserid()
Gets native userid
Returns:
native userid

getNewPassword

public java.lang.String getNewPassword()
Gets back-end server new password
Returns:
new password

getPassword

public java.lang.String getPassword()
Gets server password
Returns:
native password

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.