com.ibm.itim.dataservices.model
Interface ManagableProfile

All Known Implementing Classes:
ObjectProfile, ObjectProfileCategory

public interface ManagableProfile

This interface provides supports to allow customization of lifecycle management for entities Lifecycle management on the entities are defined in terms of operations on the entities. Operation names are case-insensitive and may not be overloaded for different parameters.


Method Summary
 void addOperation(ObjectProfileOperation oper)
          Adds a new operation to the list of supported operations for the entity
 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 setOperation(ObjectProfileOperation oper)
          Modifies a specific operation by name
 void setOperations(java.util.Collection operations)
          Sets the supported operations for the entity
 

Method Detail

getDistinguishedName

public DistinguishedName getDistinguishedName()
Returns the distinguished name of the object if there is any
Returns:
DistinguishedName of the object.

getName

public java.lang.String getName()
Returns the name of the object
Returns:
String name of the object

getOperations

public java.util.Collection getOperations()
Returns the supported operations for the entity
Returns:
Collection of operations.

getOperationNames

public java.util.Collection getOperationNames()
Returns the supported operations for the entity
Returns:
Collection of operation names (Strings).

getOperation

public ObjectProfileOperation getOperation(java.lang.String name)
Returns a specific operation by name
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
Parameters:
Collection - of supported ObjectProfileOperation

addOperation

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

setOperation

public void setOperation(ObjectProfileOperation oper)
                  throws ObjectNotFoundException
Modifies a specific operation by name
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
Parameters:
operation - Operation name to remove.