|
|||||||||||
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 String |
ATTR_NAME_DELETE_GROUP_NAME
Attribute name : "DEL_DeleteGroupName" |
static 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 | |
---|---|
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. |
String |
getAddToGroup()
Retrieves the name of the group the user is added to. |
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. |
String |
getDefaultAddToGroup()
Retrieves the |
int |
getDefaultDeleteMailFile()
|
Integer |
getDeleteMailFile()
|
String |
getDeleteMailFileActionValue()
Retrives the value of the delete mail action. |
String |
getUserFullName()
Retrives user's full name. |
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(String aAddToGroup)
Sets add to group value |
void |
setDefaultAddToGroup(String aDefaultAddToGroup)
Sets default add to group value |
void |
setDefaultDeleteMailFile(int aDefaultDeleteMailFile)
Sets default delete mail file value |
void |
setDeleteMailFile(Integer aDeleteMailFile)
Sets delete mail value |
void |
setUserFullName(String aUserFullName)
Sets user's full name. |
void |
setUserMailFile(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 String ATTR_NAME_DELETE_MAIL_FILE
public static final 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 Exception
aParent
- DominoUsersConnector that created this Domino Action object
Exception
- if parent session is not validMethod Detail |
---|
public int getDefaultDeleteMailFile()
public void setDefaultDeleteMailFile(int aDefaultDeleteMailFile) throws Exception
aDefaultDeleteMailFile
- value to set
Exception
- if parameter is not supported.public String getDefaultAddToGroup()
public void setDefaultAddToGroup(String aDefaultAddToGroup) throws Exception
aDefaultAddToGroup
- value to set
Exception
- if group value does not existpublic Integer getDeleteMailFile()
public void setDeleteMailFile(Integer aDeleteMailFile)
aDeleteMailFile
- value to setpublic String getAddToGroup()
public void setAddToGroup(String aAddToGroup)
aAddToGroup
- value to setpublic String getUserFullName()
public void setUserFullName(String aUserFullName)
aUserFullName
- name to set.public String getUserMailFile()
public void setUserMailFile(String aUserMailFile)
aUserMailFile
- value to setpublic 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.public String getDeleteMailFileActionValue()
public String getAddToGroupActionValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |