|
|||||||||||
| 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 java.lang.String |
ATTR_NAME_DENY_GROUP_NAME
Attribute name : "ACC_DenyGroupName" |
static java.lang.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 | |
|---|---|
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.Integer |
getAccessType()
Retrieves acces type. |
java.lang.String |
getDenyGroupName()
Retrieves deny group name. |
java.lang.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(java.lang.Integer aAccessType)
Sets access type. |
void |
setDenyGroupName(java.lang.String aDenyGroupName)
Sets deny group name. |
void |
setUserFullName(java.lang.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 java.lang.String ATTR_NAME_SET_TYPE
public static final java.lang.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 java.lang.Exception
aParent - The DominoUsersConnector that created this Domino Action
object
java.lang.Exception - if parent session is not valid| Method Detail |
|---|
public java.lang.Integer getAccessType()
public void setAccessType(java.lang.Integer aAccessType)
aAccessType - '0' disable , '1' enable.public java.lang.String getDenyGroupName()
public void setDenyGroupName(java.lang.String aDenyGroupName)
aDenyGroupName - namepublic java.lang.String getUserFullName()
public void setUserFullName(java.lang.String aUserFullName)
aUserFullName - full name
public 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 IDominoActionaEntry - 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 IDominoActionaEntry - 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 IDominoActionand 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 IDominoActionjava.lang.Exception - if an error that cannot be handled occurs while operating.
public void resetData()
throws java.lang.Exception
resetData in interface IDominoActionjava.lang.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 | ||||||||||