|
|||||||||||
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.policy.DirectoryPolicy
com.ibm.itim.dataservices.model.policy.SeparationOfDutyPolicy
public class SeparationOfDutyPolicy
This class is the value object for the separation of duty policy entity.
SeparationOfDutyRule
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
OWNER
The attribute for storing the owner of the policy |
static java.lang.String |
PROFILE_NAME
The profile name for SeparationOfDutyPolicy |
static java.lang.String |
SEPARATION_OF_DUTY_RULE
The attribute for storing the Separation Of Duty Rule information |
Fields inherited from class com.ibm.itim.dataservices.model.policy.DirectoryPolicy |
---|
POLICY_ATTR_CAPTION, POLICY_ATTR_DESCRIPTION, POLICY_ATTR_ENABLED, POLICY_ATTR_ISDRAFT, POLICY_ATTR_KEY_WORDS, POLICY_ATTR_NAME, POLICY_ATTR_PRIORITY |
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 | |
---|---|
SeparationOfDutyPolicy()
Default constructor |
|
SeparationOfDutyPolicy(java.lang.String name,
java.lang.String description,
boolean enabled,
java.util.Collection<SeparationOfDutyRule> rules)
The separation of duty value object constructor with full set of parameters. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object policy)
Very crude version of equals. |
java.util.Collection<DistinguishedName> |
getOwnerDNs()
Get the collection of DistinguishedName that are defined as the owner for this policy |
java.lang.String |
getProfileName()
Returns the name of the profile associated to the object |
java.util.Collection<SeparationOfDutyRule> |
getRules()
Get the collection of SeparationOfDutyRules that are defined for this policy |
int |
hashCode()
|
void |
removeOwnerDNs()
Removes the owner(s) of the policy. |
void |
setOwnerDNs(java.util.Collection<DistinguishedName> owners)
Sets the value of the owner attribute. |
void |
setRules(java.util.Collection<SeparationOfDutyRule> rules)
Sets the value of the separation of duty rules attribute. |
Methods inherited from class com.ibm.itim.dataservices.model.policy.DirectoryPolicy |
---|
getCaption, getDescription, getKeywords, getName, getParentDN, isEnabled, setCaption, setDescription, setEnabled, setKeywords, setName |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, 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 final java.lang.String SEPARATION_OF_DUTY_RULE
public static final java.lang.String OWNER
Constructor Detail |
---|
public SeparationOfDutyPolicy()
public SeparationOfDutyPolicy(java.lang.String name, java.lang.String description, boolean enabled, java.util.Collection<SeparationOfDutyRule> rules)
name
- The policy namedescription
- The policy descriptionenabled
- The policy statusrules
- A collection of SeparationOfDutyRule objectsMethod Detail |
---|
public java.lang.String getProfileName()
DirectoryObject
getProfileName
in class DirectoryObject
public void setRules(java.util.Collection<SeparationOfDutyRule> rules)
rules
- The collection of SeparationOfDutyRules to set for this policy.public java.util.Collection<SeparationOfDutyRule> getRules()
public void setOwnerDNs(java.util.Collection<DistinguishedName> owners)
rules
- The collection of DistinguishedNames to set as the owners for this policy.public java.util.Collection<DistinguishedName> getOwnerDNs()
public void removeOwnerDNs()
public boolean equals(java.lang.Object policy)
equals
in class java.lang.Object
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 |