|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public DistinguishedName getDistinguishedName()
public java.lang.String getName()
public java.util.Collection getOperations()
public java.util.Collection getOperationNames()
public ObjectProfileOperation getOperation(java.lang.String name)
name
- The name of the operationpublic void setOperations(java.util.Collection operations) throws java.lang.ClassCastException
Collection
- of supported ObjectProfileOperationpublic void addOperation(ObjectProfileOperation oper)
operation
- Operation name to add.public void setOperation(ObjectProfileOperation oper) throws ObjectNotFoundException
oper
- The new operation definitionpublic void removeOperation(java.lang.String operationName) throws ObjectNotFoundException, ModelException
operation
- Operation name to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |