|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
void |
addRule(LifecycleRule rule)
Adds a new lifecycle rule to the list of supported lifecycle rules for the profile |
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 profile for a given id. |
java.util.Collection |
getRules()
Returns the supported lifecycle rules for the profile |
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 profile |
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 profile. |
Method Detail |
---|
DistinguishedName getDistinguishedName()
java.lang.String getName()
java.util.Collection getOperations()
java.util.Collection getOperationNames()
ObjectProfileOperation getOperation(java.lang.String name)
name
- The name of the operation
void setOperations(java.util.Collection operations) throws java.lang.ClassCastException
operations
- Collection of supported ObjectProfileOperation
java.lang.ClassCastException
void addOperation(ObjectProfileOperation oper)
oper
- Operation name to add.void setOperation(ObjectProfileOperation oper) throws ObjectNotFoundException
oper
- The new operation definition
ObjectNotFoundException
void removeOperation(java.lang.String operationName) throws ObjectNotFoundException, ModelException
operationName
- Operation name to remove.
ObjectNotFoundException
ModelException
java.util.Collection getRules()
void setRules(java.util.Collection rules) throws java.lang.ClassCastException
rules
- The Collection of supported LifecycleRule
java.lang.ClassCastException
void setRule(LifecycleRule rule)
rule
- A modified lifecycle rule.LifecycleRule getRule(long ruleID)
ruleID
- the identification number of the lifecycle rule.
The identification number is obtained from getRules().
void addRule(LifecycleRule rule)
rule
- A new lifecycle rule.void removeRule(long ruleID) throws ObjectNotFoundException
ruleID
- identifier of supported LifecycleRule
ObjectNotFoundException
- Thrown if unable to locate the lifecycle rule.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |