|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LifecycleBean
- a bean representing a lifecycle definition available for a given resource.
This can be used to manage the lifecycle of the given resource, or check
on the available lifecycle actions or list the various properties
available.public interface IChecklistLifecycleService<LifecycleBean>
This provides functionality to manage a check-list of a given lifecycle which is available for a
particular resource or collection, with the corresponding lifecycle.
Statistics:
Method Summary | |
---|---|
void |
addAspect(String path,
String aspect)
Method to add the named aspect to the given resource path. |
LifecycleBean |
getLifecycleBean(String path)
Method to obtain the lifecycle bean for the given resource path. |
void |
invokeAspect(String path,
String aspect,
String action,
String[] items)
Method to invoke an action of the defined aspect at the given resource (or collection) path. |
void |
invokeAspectWithParams(String path,
String aspect,
String action,
String[] items,
String[][] params)
Method to invoke an action of the defined aspect at the given resource (or collection) path. |
void |
removeAspect(String path,
String aspect)
Method to remove the named aspect from the given resource path. |
Method Detail |
---|
LifecycleBean getLifecycleBean(String path) throws Exception
path
- the resource path.
Exception
- if the operation failed.void addAspect(String path, String aspect) throws Exception
path
- the resource path.aspect
- the name of the aspect to add.
Exception
- if the operation failed.void invokeAspect(String path, String aspect, String action, String[] items) throws Exception
path
- the resource (or collection) path.aspect
- the name of the aspect.action
- the action to invoke.items
- the values corresponding to the state of various check-list items. If the first
check-list item is checked, the value of the first item on this list would be
'true' or 'false' if it was not. If the second check-list item is checked, the
value of the second item on this list would be 'true' or 'false' if it was not.
The same applies for the remaining items on this list.
Exception
- if the operation failed.void invokeAspectWithParams(String path, String aspect, String action, String[] items, String[][] params) throws Exception
path
- the resource (or collection) path.aspect
- the name of the aspect.action
- the action to invoke.items
- the values corresponding to the state of various check-list items. If the first
check-list item is checked, the value of the first item on this list would be
'true' or 'false' if it was not. If the second check-list item is checked, the
value of the second item on this list would be 'true' or 'false' if it was not.
The same applies for the remaining items on this list.params
- Additional parameters.
Exception
- if the operation failed.void removeAspect(String path, String aspect) throws Exception
path
- the resource path.aspect
- the name of the aspect to remove.
Exception
- if the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |