public class AccessInfo extends java.lang.Object implements java.io.Serializable, Access
| Modifier and Type | Field and Description |
|---|---|
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.
|
ACCESS_ATTR_ADDITIONAL_INFO, ACCESS_ATTR_APPROVAL_PROCESS_ID, ACCESS_ATTR_BADGE, ACCESS_ATTR_CATEGORY, ACCESS_ATTR_DESC, ACCESS_ATTR_ICON, ACCESS_ATTR_NAME, ACCESS_ATTR_NOTIFY_DEPROVISION, ACCESS_ATTR_NOTIFY_PROVISION, ACCESS_ATTR_OPTION, ACCESS_ATTR_OWNER, ACCESS_ATTR_TAG, ACCESS_ATTR_TYPE| Constructor and Description |
|---|
AccessInfo(java.lang.String name,
java.lang.String type)
Constructs the object with access's name and type.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getAdditionalInfo()
Return Special kind of information in case regular description is not sufficient enough.
|
AttributeValues |
getAttributes()
Returns A list of attribute value pair that holds the access information.
|
java.util.Set<Badge> |
getBadges()
Return Set of badges - labels with display format information (style)
|
java.lang.String |
getIconURI()
Return URI pointing to access icon
|
ProvisioningConfiguration |
getProvisioningConfiguration()
Returns the provisioning configuration of the access.
|
java.util.Set<java.lang.String> |
getTags()
Return keywords for describing access for search purposes
|
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 |
setAdditionalInfo(java.lang.String additionalInfo) |
void |
setBadges(java.util.Set<Badge> badges) |
void |
setIconURI(java.lang.String iconURI) |
void |
setProvisioningConfiguration(ProvisioningConfiguration theProvisioningConfiguration)
Sets the provisioning configuration.
|
void |
setTags(java.util.Set<java.lang.String> tags) |
public static final int NO_ACCESS
public static final int ACCESS_ENABLED
public static final int COMMON_ACCESS
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:
public java.lang.String getAccessDescription()
AccessgetAccessDescription in interface Accesspublic void setAccessDescription(java.lang.String theAccessDescription)
theAccessDescription - the description of the access.public java.lang.String getAccessId()
AccessgetAccessId in interface Accesspublic java.lang.String getAccessName()
AccessgetAccessName in interface Accesspublic void setAccessName(java.lang.String theAccessName)
theAccessName - the name of the access.public DistinguishedName getAccessOwner()
AccessgetAccessOwner in interface Accesspublic void setAccessOwner(DistinguishedName theAccessOwner)
theAccessOwner - The distinguished name of the owner.public java.lang.String getAccessType()
AccessgetAccessType in interface Accesspublic void setAccessType(java.lang.String theAccessType)
theAccessType - The type of the access.public ProvisioningConfiguration getProvisioningConfiguration()
AccessgetProvisioningConfiguration in interface AccessProvisioningConfigurationpublic void setProvisioningConfiguration(ProvisioningConfiguration theProvisioningConfiguration)
theProvisioningConfiguration - The provisioning configuration to be set.public boolean isAccessEnabled()
AccessisAccessEnabled in interface Accesspublic boolean isCommonAccess()
AccessisCommonAccess in interface Accesspublic void setAccessOption(int theAccessOption)
theAccessOption - A valid value is NO_ACCESS, ACCESS_ENABLED, or COMMON_ACCESS.public int getAccessOption()
public AttributeValues getAttributes()
public java.util.Set<java.lang.String> getTags()
Accesspublic java.util.Set<Badge> getBadges()
Accesspublic java.lang.String getIconURI()
AccessgetIconURI in interface Accesspublic java.lang.String getAdditionalInfo()
AccessgetAdditionalInfo in interface Accesspublic void setAdditionalInfo(java.lang.String additionalInfo)
public void setBadges(java.util.Set<Badge> badges)
public void setTags(java.util.Set<java.lang.String> tags)
public void setIconURI(java.lang.String iconURI)