public class ObjectProfileCategory extends java.lang.Object implements ObjectProfileCategoryConstant, ManagableProfile, java.io.Serializable
ManagableCategoryConstant.BLACKLIST_ENTITY_TYPES| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_PERSONS
Parent category for both BPPerson and Person categories (abstract)
|
ACCESS_TYPE, ACCOUNT_TEMPLATE, ADOPTION_POLICY, AGENT_OPERATION, ATTRIBUTE_CONSTRAINT, BPUNIT, CATEGORIES_FOR_LIFE_CYCLE_MGT, CONFIG, CONTAINER, CUSTOM_PROCESS, DYNAMIC_ROLE, FORM_TEMPLATE, GLOBAL_ACCOUNT_TEMPLATE, GROUP, HOST_SELECTION_POLICY, IDENTITY_POLICY, JOIN_DIRECTIVE, JOINDIRECTIVE, LIFECYCLE_PROFILE, LOCATION, OBJECT_PROFILE, ORG, ORGROLE, ORGUNIT, ORPHANED_ACCOUNT, OWNERSHIP_TYPE, PASSWORD_POLICY, PRIVILEGE_RULE, PROVISIONING_POLICY, RECERTIFICATION_POLICY, ROLE, SECURITY_DOMAIN, SEPARATION_OF_DUTY_POLICY, SEPARATION_OF_DUTY_RULE, SERVICE, SERVICE_MODEL, SERVICE_PROFILE, SYSTEM_ROLE, SYSTEM_USER, TENANT, USERACCESSACCOUNT, BPPERSON, GLOBAL, PERSON| Constructor and Description |
|---|
ObjectProfileCategory()
No argument constructor needed for serializable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(ObjectProfileOperation oper)
Adds a new operation to the list of supported operations for the entity
|
void |
addRule(LifecycleRule rule)
Adds a new lifecycle rule to the list of supported lifecycle rules for
the entity type.
|
static java.lang.String[] |
getCategories()
Returns all pre-defined categories in a String array.
|
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the object if there is any
|
java.lang.String |
getName()
Returns the name of the object
|
ObjectProfileOperation |
getOperation(java.lang.String name)
Returns a specific operation by name
|
java.util.Collection |
getOperationNames()
Returns the supported operations for the entity
|
java.util.Collection |
getOperations()
Returns the supported operations for the entity
|
LifecycleRule |
getRule(long ruleID)
Returns the supported lifecycle rules for the entity type for a given id.
|
java.util.Collection |
getRules()
Returns the supported lifecycle rules for the entity type.
|
DistinguishedName |
getTenantDN() |
void |
removeOperation(java.lang.String operationName)
Removes an operation from the list of supported operations
|
void |
removeRule(long ruleID)
Removes the supported rules for the entity type.
|
void |
setDistinguishedName(DistinguishedName dn)
deprecated client cannot the the distinguished name
|
void |
setName(java.lang.String name) |
void |
setOperation(ObjectProfileOperation oper)
Modifies a specific operation by name
|
void |
setOperations(java.util.Collection operations)
Sets the supported operations for the entity
|
void |
setRule(LifecycleRule rule)
Sets the supported rule for the profile.
|
void |
setRules(java.util.Collection rules)
Sets the supported rules for the entity type.
|
public static final java.lang.String ALL_PERSONS
public ObjectProfileCategory()
public static java.lang.String[] getCategories()
public DistinguishedName getDistinguishedName()
ManagableProfilegetDistinguishedName in interface ManagableProfilepublic void setDistinguishedName(DistinguishedName dn)
public DistinguishedName getTenantDN()
public java.lang.String getName()
ManagableProfilegetName in interface ManagableProfilepublic void setName(java.lang.String name)
public java.util.Collection getOperations()
getOperations in interface ManagableProfilepublic java.util.Collection getOperationNames()
getOperationNames in interface ManagableProfilepublic ObjectProfileOperation getOperation(java.lang.String name)
getOperation in interface ManagableProfilename - The name of the operationpublic void setOperations(java.util.Collection operations)
throws java.lang.ClassCastException
setOperations in interface ManagableProfileoperations - Collection of supported ObjectProfileOperationjava.lang.ClassCastExceptionpublic void addOperation(ObjectProfileOperation oper)
addOperation in interface ManagableProfileoper - operation Operation name to add.public void setOperation(ObjectProfileOperation oper) throws ObjectNotFoundException
setOperation in interface ManagableProfileoper - The new operation definitionObjectNotFoundExceptionpublic void removeOperation(java.lang.String operationName)
throws ObjectNotFoundException,
ModelException
removeOperation in interface ManagableProfileoperationName - Operation name to remove.ObjectNotFoundExceptionModelExceptionpublic java.util.Collection getRules()
getRules in interface ManagableProfilepublic void setRules(java.util.Collection rules)
throws java.lang.ClassCastException
setRules in interface ManagableProfilerules - Collection of supported LifecycleRulejava.lang.ClassCastExceptionpublic void setRule(LifecycleRule rule)
setRule in interface ManagableProfilerule - A modified lifecycle rule.public LifecycleRule getRule(long ruleID)
getRule in interface ManagableProfileruleID - the identification number of the lifecycle rule.
The identification number is obtained from getRules().public void addRule(LifecycleRule rule)
addRule in interface ManagableProfilerule - A new lifecycle rule.public void removeRule(long ruleID)
throws ObjectNotFoundException
removeRule in interface ManagableProfileruleID - identifier of supported LifecycleRuleObjectNotFoundException - Thrown if unable to locate the lifecycle rule.