|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.dominoUsers.UserDeletion
public class UserDeletion
This class performs a user deletion from Domino.
Field Summary | |
---|---|
static java.lang.String |
ATTR_NAME_DELETE_GROUP_NAME
Attribute name : "DEL_DeleteGroupName" |
static java.lang.String |
ATTR_NAME_DELETE_MAIL_FILE
Attribute name : "DEL_DeleteMailFile" |
static int |
DELETE_MAIL_FILE_DATABASE
Attribute value : 1 |
static int |
DELETE_MAIL_FILE_DONT
Attribute value : 0 |
static int |
DELETE_MAIL_FILE_REPLICAS
Attribute value : 2 |
Constructor Summary | |
---|---|
UserDeletion(DominoUsersConnector aParent)
Class constructor |
Method Summary | |
---|---|
java.lang.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. |
java.lang.String |
getAddToGroup()
Retrieves the name of the group the user is added to. |
java.lang.String |
getAddToGroupActionValue()
Retrieves the name of the group the user is added to , if value is not found the name of the default group is returned. |
java.lang.String |
getDefaultAddToGroup()
Retrieves the |
int |
getDefaultDeleteMailFile()
|
java.lang.Integer |
getDeleteMailFile()
|
java.lang.String |
getDeleteMailFileActionValue()
Retrives the value of the delete mail action. |
java.lang.String |
getUserFullName()
Retrives user's full name. |
java.lang.String |
getUserMailFile()
Retrieves mail file. |
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. |
void |
setAddToGroup(java.lang.String aAddToGroup)
Sets add to group value |
void |
setDefaultAddToGroup(java.lang.String aDefaultAddToGroup)
Sets default add to group value |
void |
setDefaultDeleteMailFile(int aDefaultDeleteMailFile)
Sets default delete mail file value |
void |
setDeleteMailFile(java.lang.Integer aDeleteMailFile)
Sets delete mail value |
void |
setUserFullName(java.lang.String aUserFullName)
Sets user's full name. |
void |
setUserMailFile(java.lang.String aUserMailFile)
Sets mail file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ATTR_NAME_DELETE_MAIL_FILE
public static final java.lang.String ATTR_NAME_DELETE_GROUP_NAME
public static final int DELETE_MAIL_FILE_DONT
public static final int DELETE_MAIL_FILE_DATABASE
public static final int DELETE_MAIL_FILE_REPLICAS
Constructor Detail |
---|
public UserDeletion(DominoUsersConnector aParent) throws java.lang.Exception
aParent
- DominoUsersConnector that created this Domino Action object
java.lang.Exception
- if parent session is not validMethod Detail |
---|
public int getDefaultDeleteMailFile()
public void setDefaultDeleteMailFile(int aDefaultDeleteMailFile) throws java.lang.Exception
aDefaultDeleteMailFile
- value to set
java.lang.Exception
- if parameter is not supported.public java.lang.String getDefaultAddToGroup()
public void setDefaultAddToGroup(java.lang.String aDefaultAddToGroup) throws java.lang.Exception
aDefaultAddToGroup
- value to set
java.lang.Exception
- if group value does not existpublic java.lang.Integer getDeleteMailFile()
public void setDeleteMailFile(java.lang.Integer aDeleteMailFile)
aDeleteMailFile
- value to setpublic java.lang.String getAddToGroup()
public void setAddToGroup(java.lang.String aAddToGroup)
aAddToGroup
- value to setpublic java.lang.String getUserFullName()
public void setUserFullName(java.lang.String aUserFullName)
aUserFullName
- name to set.public java.lang.String getUserMailFile()
public void setUserMailFile(java.lang.String aUserMailFile)
aUserMailFile
- value to setpublic Entry extractAndStoreData(Entry aEntry) throws java.lang.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.
java.lang.Exception
- if an error that cannot be handled occurs while operating.public boolean mustPerform(Entry aEntry) throws java.lang.Exception
mustPerform
in interface IDominoAction
aEntry
- The Entry object which Attributes hold the necessary
information whether to perform the Domino Action.
java.lang.Exception
- if an error that cannot be handled occurs while operating.public java.lang.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 java.lang.Exception
perform
in interface IDominoAction
java.lang.Exception
- if an error that cannot be handled occurs while operating.public void resetData() throws java.lang.Exception
resetData
in interface IDominoAction
java.lang.Exception
- if an error that cannot be handled occurs while operating.public java.lang.String getDeleteMailFileActionValue()
public java.lang.String getAddToGroupActionValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |