|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.dominoUsers.UserRegistration
public class UserRegistration
This class performs a user registration from Domino.
Field Summary | |
---|---|
static String |
ATTR_NAME_REG_ALT_ORG_UNIT
Attribute name - "REG_AltOrgUnit". |
static String |
ATTR_NAME_REG_ALT_ORG_UNIT_LANG
Attribute name - "REG_AltOrgUnitLang". |
static String |
ATTR_NAME_REG_CERT_PASSWORD
Attribute name - "REG_CertPassword". |
static String |
ATTR_NAME_REG_CERTIFIER_ID_FILE
Attribute name - "REG_CertifierIDFile". |
static String |
ATTR_NAME_REG_CREATE_MAIL_DB
Attribute name - "REG_CreateMailDb". |
static String |
ATTR_NAME_REG_EXPIRATION
Attribute name - "REG_Expiration". |
static String |
ATTR_NAME_REG_FORWARD
Attribute name - "REG_Forward". |
static String |
ATTR_NAME_REG_ID_FILE
Attribute name - "REG_IdFile". |
static String |
ATTR_NAME_REG_ID_TYPE
Attribute name - "REG_IDType". |
static String |
ATTR_NAME_REG_IS_NORTH_AMERICAN
Attribute name - "REG_IsNorthAmerican". |
static String |
ATTR_NAME_REG_MIN_PASSWORD_LENGTH
Attribute name - "REG_MinPasswordLength". |
static String |
ATTR_NAME_REG_ORG_UNIT
Attribute name - "REG_OrgUnit". |
static String |
ATTR_NAME_REG_PERFORM
Attribute name - "REG_Perform". |
static String |
ATTR_NAME_REG_REGISTRATION_LOG
Attribute name - "REG_RegistrationLog". |
static String |
ATTR_NAME_REG_REGISTRATION_SERVER
Attribute name - "REG_RegistrationServer". |
static String |
ATTR_NAME_REG_SERVER
Attribute name - "REG_Server". |
static String |
ATTR_NAME_REG_STORE_ID_IN_ADDRESS_BOOK
Attribute name - "REG_StoreIDInAddressBook". |
static String |
ATTR_NAME_REG_USER_PW
Attribute name - "REG_UserPw". |
static int |
ATTR_VALUE_ID_TYPE_CERTIFIER
Attribute value for ID type - certifier. |
static int |
ATTR_VALUE_ID_TYPE_FLAT_ID
Attribute value for ID type - flat id. |
static int |
ATTR_VALUE_ID_TYPE_HIERARCHICAL_ID
Attribute value for ID type - hierarchical id. |
Constructor Summary | |
---|---|
UserRegistration(DominoUsersConnector aParent)
Class contructor |
Method Summary | |
---|---|
String |
canPerform()
Inspects the data stored in the local data holders and determines if it is consistent and the Domino Action can be performed. |
Entry |
extractAndStoreData(Entry aEntry)
This method extracts and stores data. |
boolean |
mustPerform(Entry aEntry)
Inspects the Attributes of the given Entry and determines if the Domino Action has to be performed. |
void |
perform()
Performs the Domino Action useing the data from the local data holders. |
void |
resetData()
Resets the local data holders to empty/default values according the business logic of the Domino Action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATTR_NAME_REG_PERFORM
public static final String ATTR_NAME_REG_ID_FILE
public static final String ATTR_NAME_REG_USER_PW
public static final String ATTR_NAME_REG_SERVER
public static final String ATTR_NAME_REG_CERTIFIER_ID_FILE
public static final String ATTR_NAME_REG_CERT_PASSWORD
public static final String ATTR_NAME_REG_FORWARD
public static final String ATTR_NAME_REG_ALT_ORG_UNIT
public static final String ATTR_NAME_REG_ALT_ORG_UNIT_LANG
public static final String ATTR_NAME_REG_CREATE_MAIL_DB
public static final String ATTR_NAME_REG_EXPIRATION
public static final String ATTR_NAME_REG_ID_TYPE
public static final String ATTR_NAME_REG_IS_NORTH_AMERICAN
public static final String ATTR_NAME_REG_MIN_PASSWORD_LENGTH
public static final String ATTR_NAME_REG_ORG_UNIT
public static final String ATTR_NAME_REG_REGISTRATION_LOG
public static final String ATTR_NAME_REG_REGISTRATION_SERVER
public static final String ATTR_NAME_REG_STORE_ID_IN_ADDRESS_BOOK
public static final int ATTR_VALUE_ID_TYPE_FLAT_ID
public static final int ATTR_VALUE_ID_TYPE_HIERARCHICAL_ID
public static final int ATTR_VALUE_ID_TYPE_CERTIFIER
Constructor Detail |
---|
public UserRegistration(DominoUsersConnector aParent) throws Exception
aParent
- the DominoUsersConnector that created this Domino Action
object
Exception
- if parent session is not valid.Method Detail |
---|
public Entry extractAndStoreData(Entry aEntry) throws Exception
(1) Extract data from the given Entry according to the fixed schema of Attributes;
(2) Stores this data into local data holders;
extractAndStoreData
in interface IDominoAction
aEntry
- The Entry object to extract data from.
Exception
- if an error that cannot be handled occurs while operating.public boolean mustPerform(Entry aEntry) throws Exception
mustPerform
in interface IDominoAction
aEntry
- The Entry object which Attributes hold the necessary
information whether to perform the Domino Action.
Exception
- if an error that cannot be handled occurs while operating.public String canPerform()
canPerform
in interface IDominoAction
and a non-empty string message explaining the problem, if the data is not consistent and the Action cannot be performed.
public void perform() throws Exception
perform
in interface IDominoAction
Exception
- if an error that cannot be handled occurs while operating.public void resetData() throws Exception
resetData
in interface IDominoAction
Exception
- if an error that cannot be handled occurs while operating.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |