com.ibm.itim.dataservices.model
Class ObjectProfileCategory

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.ObjectProfileCategory
All Implemented Interfaces:
ManagableCategoryConstant, ManagableProfile, ObjectProfileCategoryConstant, java.io.Serializable

public class ObjectProfileCategory
extends java.lang.Object
implements ObjectProfileCategoryConstant, ManagableProfile, java.io.Serializable

This class provides a list of pre-defined categories within the platform's data model.

See Also:
Serialized Form

Fields inherited from interface com.ibm.itim.dataservices.model.ObjectProfileCategoryConstant
ATTRIBUTE_CONSTRAINT, BPUNIT, CATEGORIES_FOR_LIFE_CYCLE_MGT, CONTAINER, CUSTOM_PROCESS, DYNAMIC_ROLE, FORM_TEMPLATE, HOST_SELECTION_POLICY, IDENTITY_POLICY, JOIN_DIRECTIVE, LOCATION, OBJECT_PROFILE, ORG, ORGUNIT, ORPHANED_ACCOUNT, PASSWORD_POLICY, PROVISIONING_POLICY, ROLE, SECURITY_DOMAIN, SERVICE, SERVICE_MODEL, SERVICE_PROFILE, SYSTEM_ROLE, SYSTEM_USER, TENANT
 
Fields inherited from interface com.ibm.itim.dataservices.model.ManagableCategoryConstant
ACCOUNT, BPPERSON, GLOBAL, PERSON
 
Constructor Summary
ObjectProfileCategory(DistinguishedName dn, java.lang.String name, java.util.Collection operations)
           
 
Method Summary
 void addOperation(ObjectProfileOperation oper)
          Adds a new operation to the list of supported operations for the entity
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
 void removeOperation(java.lang.String operationName)
          Removes an operation from the list of supported operations
 void setDistinguishedName(DistinguishedName dn)
           
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectProfileCategory

public ObjectProfileCategory(DistinguishedName dn,
                             java.lang.String name,
                             java.util.Collection operations)
Method Detail

getCategories

public static java.lang.String[] getCategories()
Returns all pre-defined categories in a String array.
Returns:
String[] of all pre-defined categories.

getDistinguishedName

public DistinguishedName getDistinguishedName()
Description copied from interface: ManagableProfile
Returns the distinguished name of the object if there is any
Specified by:
getDistinguishedName in interface ManagableProfile
Following copied from interface: com.ibm.itim.dataservices.model.ManagableProfile
Returns:
DistinguishedName of the object.

setDistinguishedName

public void setDistinguishedName(DistinguishedName dn)

getName

public java.lang.String getName()
Description copied from interface: ManagableProfile
Returns the name of the object
Specified by:
getName in interface ManagableProfile
Following copied from interface: com.ibm.itim.dataservices.model.ManagableProfile
Returns:
String name of the object

setName

public void setName(java.lang.String name)

getOperations

public java.util.Collection getOperations()
Returns the supported operations for the entity
Specified by:
getOperations in interface ManagableProfile
Returns:
Collection of operations.

getOperationNames

public java.util.Collection getOperationNames()
Returns the supported operations for the entity
Specified by:
getOperationNames in interface ManagableProfile
Returns:
Collection of operation names (Strings).

getOperation

public ObjectProfileOperation getOperation(java.lang.String name)
Returns a specific operation by name
Specified by:
getOperation in interface ManagableProfile
Parameters:
name - The name of the operation
Returns:
ObjectProfileOperation

setOperations

public void setOperations(java.util.Collection operations)
                   throws java.lang.ClassCastException
Sets the supported operations for the entity
Specified by:
setOperations in interface ManagableProfile
Parameters:
Collection - of supported ObjectProfileOperation

addOperation

public void addOperation(ObjectProfileOperation oper)
Adds a new operation to the list of supported operations for the entity
Specified by:
addOperation in interface ManagableProfile
Parameters:
operation - Operation name to add.

setOperation

public void setOperation(ObjectProfileOperation oper)
                  throws ObjectNotFoundException
Modifies a specific operation by name
Specified by:
setOperation in interface ManagableProfile
Parameters:
oper - The new operation definition

removeOperation

public void removeOperation(java.lang.String operationName)
                     throws ObjectNotFoundException,
                            ModelException
Removes an operation from the list of supported operations
Specified by:
removeOperation in interface ManagableProfile
Parameters:
operation - Operation name to remove.