|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.dominoUsers.UserAccess
public class UserAccess
This class performs a user access to Domino.
Field Summary | |
---|---|
static String |
ATTR_NAME_DENY_GROUP_NAME
Attribute name : "ACC_DenyGroupName" |
static String |
ATTR_NAME_SET_TYPE
Attribute name : "ACC_SetType" |
static int |
ATTR_VALUE_SET_TYPE_DISABLE
Attribute name : 0 |
static int |
ATTR_VALUE_SET_TYPE_ENABLE
Attribute name : 1 |
Constructor Summary | |
---|---|
UserAccess(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. |
Integer |
getAccessType()
Retrieves acces type. |
String |
getDenyGroupName()
Retrieves deny group name. |
String |
getUserFullName()
Retrieves user's full name. |
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 |
setAccessType(Integer aAccessType)
Sets access type. |
void |
setDenyGroupName(String aDenyGroupName)
Sets deny group name. |
void |
setUserFullName(String aUserFullName)
Sets user's full name |
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_SET_TYPE
public static final String ATTR_NAME_DENY_GROUP_NAME
public static final int ATTR_VALUE_SET_TYPE_DISABLE
public static final int ATTR_VALUE_SET_TYPE_ENABLE
Constructor Detail |
---|
public UserAccess(DominoUsersConnector aParent) throws Exception
aParent
- The DominoUsersConnector that created this Domino Action
object
Exception
- if parent session is not validMethod Detail |
---|
public Integer getAccessType()
public void setAccessType(Integer aAccessType)
aAccessType
- '0' disable , '1' enable.public String getDenyGroupName()
public void setDenyGroupName(String aDenyGroupName)
aDenyGroupName
- namepublic String getUserFullName()
public void setUserFullName(String aUserFullName)
aUserFullName
- full namepublic 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 |