|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.DirectoryObject
com.ibm.itim.dataservices.model.pim.SharedAccessPolicy
public class SharedAccessPolicy
Value Object class that holds the attribute information of a shared access policy in
the data model. The value object does not contain the membership and entitlement information.
To get the membership and entitlement information,
use SharedAccessPolicyEntity.getMemberships()
and SharedAccessPolicyEntity.getEntitlements()
instead.
Field Summary | |
---|---|
static int |
ONELEVEL_SCOPE
scope of the same level as the target |
static java.lang.String |
POLICY_ATTR_DESCRIPTION
String constant for description attribute name |
static java.lang.String |
POLICY_ATTR_ENABLED
String constant for enabled attribute name |
static java.lang.String |
POLICY_ATTR_NAME
String constant for name attribute name |
static java.lang.String |
POLICY_ATTR_PARENT_CONTAINER
String constant for organizational container name |
static java.lang.String |
POLICY_ATTR_SCOPE
String constant for the scope attribute name |
static java.lang.String |
POLICY_ATTR_URI
String constant for URI attribute name |
static java.lang.String |
PROFILE_NAME
The profile name for shared access policy |
static java.lang.String |
SHARED_ACCESS_POLICY_ATTR_ENTITLEMENT
String constant for the entitlement attribute name |
static java.lang.String |
SHARED_ACCESS_POLICY_ATTR_MEMBERSHIP
String constant for the membership attribute name |
static int |
SUBTREE_SCOPE
scope of the same level as the target or sub tree level if found |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME |
Fields inherited from interface com.ibm.itim.util.Sortable |
---|
ATTR_NAME |
Constructor Summary | |
---|---|
SharedAccessPolicy()
The default constructor. |
|
SharedAccessPolicy(AttributeValues attrs)
Constructs object with attribute information. |
|
SharedAccessPolicy(DirectoryObject dirObj)
Copy constructor for directory object |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object policy)
Compares the object passed in with itself. |
java.lang.String |
getDescription()
Returns the value of the description attribute. |
long |
getID()
Returns the value of the erglobalid attribute. |
java.lang.String |
getName()
Returns the value of the name attribute. |
DistinguishedName |
getParentDN()
Returns the organizational container DN. |
int |
getScope()
Returns the value of the scope attribute. |
int |
hashCode()
Returns a hash value that can be used in hash tables. |
boolean |
isEnabled()
Returns the value of the enabled attribute. |
void |
setDescription(java.lang.String aDescription)
Sets the value of the description attribute. |
void |
setEnabled(boolean enabled)
Sets the value of the enabled attribute. |
void |
setName(java.lang.String aName)
Sets the value of the name attribute. |
void |
setScope(int scope)
Sets the value of the scope attribute. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROFILE_NAME
public static java.lang.String POLICY_ATTR_PARENT_CONTAINER
public static final java.lang.String POLICY_ATTR_NAME
public static final java.lang.String POLICY_ATTR_DESCRIPTION
public static final java.lang.String POLICY_ATTR_URI
public static final java.lang.String POLICY_ATTR_ENABLED
public static final java.lang.String POLICY_ATTR_SCOPE
public static final java.lang.String SHARED_ACCESS_POLICY_ATTR_MEMBERSHIP
public static final java.lang.String SHARED_ACCESS_POLICY_ATTR_ENTITLEMENT
public static final int ONELEVEL_SCOPE
public static final int SUBTREE_SCOPE
Constructor Detail |
---|
public SharedAccessPolicy()
public SharedAccessPolicy(AttributeValues attrs)
attrs
- AttributeValues holding the attributes of the role.public SharedAccessPolicy(DirectoryObject dirObj)
Method Detail |
---|
public long getID()
public java.lang.String getName()
getName
in class DirectoryObject
public void setName(java.lang.String aName)
aName
- the new value of the name attribute.public java.lang.String getDescription()
public void setDescription(java.lang.String aDescription)
aDescription
- the new value of the Description attributepublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the new boolean value of the Enabled attribute.public int getScope()
public void setScope(int scope)
scope
- The new value of the scope attribute, must be ONELEVEL_SCOPE or SUBTREE_SCOPE.public DistinguishedName getParentDN()
public boolean equals(java.lang.Object policy)
equals
in class java.lang.Object
policy
- The object to be compared
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |