|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.domain.AccessInfo
public class AccessInfo
This is a value object that contains information about the Access. Access is a generic interface to represent an access and access provisioning configuration. All the attributes of erAccessItem are MAY attributes and therefore any client using this API should know that the API will accept null and empty values without throwing any exceptions.
Field Summary | |
---|---|
static int |
ACCESS_ENABLED
Access option: Access is enabled for the user request. |
static int |
COMMON_ACCESS
Access option: Access is enabled for the user request and it is commonly requested. |
static int |
NO_ACCESS
Access option: Access is disabled for the user request. |
Fields inherited from interface com.ibm.itim.dataservices.model.domain.access.Access |
---|
ACCESS_ATTR_APPROVAL_PROCESS_ID, ACCESS_ATTR_DESC, ACCESS_ATTR_NAME, ACCESS_ATTR_NOTIFY_DEPROVISION, ACCESS_ATTR_NOTIFY_PROVISION, ACCESS_ATTR_OPTION, ACCESS_ATTR_OWNER, ACCESS_ATTR_TYPE |
Constructor Summary | |
---|---|
AccessInfo(java.lang.String name,
java.lang.String type)
Constructs the object with access's name and type. |
Method Summary | |
---|---|
java.lang.String |
getAccessDescription()
Returns the access description. |
java.lang.String |
getAccessId()
Returns the unique id for the access. |
java.lang.String |
getAccessName()
Returns the access name. |
int |
getAccessOption()
Returns the access option. |
DistinguishedName |
getAccessOwner()
Returns the DisginuishedName of the access administration owner. |
java.lang.String |
getAccessType()
Returns the access type. |
AttributeValues |
getAttributes()
Returns A list of attribute value pair that holds the access information. |
ProvisioningConfiguration |
getProvisioningConfiguration()
Returns the provisioning configuration of the access. |
boolean |
isAccessEnabled()
Returns true if access is enabled for user request, false otherwise. |
boolean |
isCommonAccess()
Returns true if access is enabled for user request and it is commonly requested, false otherwise. |
void |
setAccessDescription(java.lang.String theAccessDescription)
Sets the access description. |
void |
setAccessName(java.lang.String theAccessName)
Sets the access name. |
void |
setAccessOption(int theAccessOption)
Sets the access option. |
void |
setAccessOwner(DistinguishedName theAccessOwner)
Sets the owner of the access. |
void |
setAccessType(java.lang.String theAccessType)
Sets the access type. |
void |
setProvisioningConfiguration(ProvisioningConfiguration theProvisioningConfiguration)
Sets the provisioning configuration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_ACCESS
public static final int ACCESS_ENABLED
public static final int COMMON_ACCESS
Constructor Detail |
---|
public AccessInfo(java.lang.String name, java.lang.String type)
name
- the name of the access.type
- the type of the access. The type might be one of these default access types:
Method Detail |
---|
public java.lang.String getAccessDescription()
Access
getAccessDescription
in interface Access
public void setAccessDescription(java.lang.String theAccessDescription)
theAccessDescription
- the description of the access.public java.lang.String getAccessId()
Access
getAccessId
in interface Access
public java.lang.String getAccessName()
Access
getAccessName
in interface Access
public void setAccessName(java.lang.String theAccessName)
theAccessName
- the name of the access.public DistinguishedName getAccessOwner()
Access
getAccessOwner
in interface Access
public void setAccessOwner(DistinguishedName theAccessOwner)
theAccessOwner
- The distinguished name of the owner.public java.lang.String getAccessType()
Access
getAccessType
in interface Access
public void setAccessType(java.lang.String theAccessType)
theAccessType
- The type of the access.public ProvisioningConfiguration getProvisioningConfiguration()
Access
getProvisioningConfiguration
in interface Access
ProvisioningConfiguration
public void setProvisioningConfiguration(ProvisioningConfiguration theProvisioningConfiguration)
theProvisioningConfiguration
- The provisioning configuration to be set.public boolean isAccessEnabled()
Access
isAccessEnabled
in interface Access
public boolean isCommonAccess()
Access
isCommonAccess
in interface Access
public void setAccessOption(int theAccessOption)
theAccessOption
- A valid value is NO_ACCESS, ACCESS_ENABLED, or COMMON_ACCESS.public int getAccessOption()
public AttributeValues getAttributes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |