|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides management and registration for work item assignment strategies.
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
createStrategy(AssignmentStrategyMetaData strategy)
Registers an assignment strategy. |
void |
deleteStrategy(java.lang.String implClass)
Unregisters an assignment strategy. |
AssignmentStrategy |
findStrategy(java.lang.String strategy)
Finds a assignment strategy. |
AssignmentStrategyMetaData[] |
findStrategyMetaData()
Finds meta-data for all strategys. |
AssignmentStrategyMetaData |
findStrategyMetaData(java.lang.String strategy)
Finds meta-data for an strategy. |
AssignmentStrategyMetaData |
findStrategyType(java.lang.String className,
java.lang.String locale)
Returns information about the specified function type. |
AssignmentStrategyMetaData[] |
findStrategyTypes(java.lang.String locale)
Finds all function types known to the repository. |
void |
updateStrategy(AssignmentStrategyMetaData strategy)
Updates an assignment strategy definition. |
Methods inherited from interface org.obe.spi.WorkflowService |
exit, getServiceManager, getServiceName, init |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public void createStrategy(AssignmentStrategyMetaData strategy) throws RepositoryException
strategy
- The assignment strategy definition.
ObjectAlreadyExistsException
- if the
implementation class is already registered.
RepositoryException
- if the strategy could not be registered
for some other reason.public void deleteStrategy(java.lang.String implClass) throws RepositoryException
implClass
- The fully qualified implementation class name.
ObjectNotFoundException
- if the
implementation class is not registered.
RepositoryException
- if the strategy could not be unregistered
for some other reason.public void updateStrategy(AssignmentStrategyMetaData strategy) throws RepositoryException
strategy
- The assignment strategy definition.
ObjectNotFoundException
- if an function
set for the implementation class in question is not registered.
RepositoryException
- if the assignment strategy could not be updated for
some other reason.public AssignmentStrategyMetaData[] findStrategyTypes(java.lang.String locale) throws RepositoryException
locale
- The locale in which the results should be formatted.
RepositoryException
- if an error occurred.public AssignmentStrategyMetaData findStrategyType(java.lang.String className, java.lang.String locale) throws RepositoryException
className
- The function type (i.e., the fully qualified name of
the implementation class).locale
- The locale in which the results should be formatted.
ObjectNotFoundException
- if the
strategy type is unknown.
RepositoryException
- if some other error occurred.public AssignmentStrategyMetaData[] findStrategyMetaData() throws RepositoryException
RepositoryException
- if an error occurred.public AssignmentStrategyMetaData findStrategyMetaData(java.lang.String strategy) throws RepositoryException
strategy
- The name of the implementation class.
ObjectNotFoundException
- if a function
set for strategy
is not registered.
RepositoryException
- if some other error occurred.public AssignmentStrategy findStrategy(java.lang.String strategy) throws RepositoryException
strategy
- The fully qualified name of the implementing class.
ObjectNotFoundException
- if an function
set for strategy
is not registered.
RepositoryException
- if some other error occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |