|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides management and registration for pluggable script evaluators.
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
createEvaluator(EvaluatorMetaData eval)
Registers an evaluator. |
void |
deleteEvaluator(java.lang.String contentType)
Unregisters an evaluator. |
Evaluator |
findEvaluator(java.lang.String contentType)
Finds an evaluator. |
EvaluatorMetaData[] |
findEvaluatorMetaData()
Finds meta-data for all evaluators. |
EvaluatorMetaData |
findEvaluatorMetaData(java.lang.String contentType)
Finds meta-data for an evaluator. |
EvaluatorMetaData |
findEvaluatorType(java.lang.String className,
java.lang.String locale)
Returns information about the specified evaluator type. |
EvaluatorMetaData[] |
findEvaluatorTypes(java.lang.String locale)
Finds all evaluator types known to the repository. |
void |
updateEvaluator(EvaluatorMetaData eval)
Updates an evaluator. |
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 createEvaluator(EvaluatorMetaData eval) throws RepositoryException
eval
- The evaluator definition.
ObjectAlreadyExistsException
- if the
content type is already registered.
RepositoryException
- if the evaluator could not be registered
for some other reason.public void deleteEvaluator(java.lang.String contentType) throws RepositoryException
contentType
- The MIME content type for the scripting language.
ObjectNotFoundException
- if an evaluator
for contentType
is not registered.
RepositoryException
- if the evaluator could not be unregistered
for some other reason.public void updateEvaluator(EvaluatorMetaData eval) throws RepositoryException
eval
- The evaluator definition.
ObjectNotFoundException
- if an evaluator
for the content type in question is not registered.
RepositoryException
- if the evaluator could not be updated for
some other reason.public EvaluatorMetaData[] findEvaluatorTypes(java.lang.String locale) throws RepositoryException
locale
- The locale in which the results should be formatted.
RepositoryException
- if an error occurred.public EvaluatorMetaData findEvaluatorType(java.lang.String className, java.lang.String locale) throws RepositoryException
className
- The evaluator type (i.e., the fully qualified name of
the implementation class).locale
- The locale in which the results should be formatted.
ObjectNotFoundException
- if the
evaluator type is unknown.
RepositoryException
- if some other error occurred.public EvaluatorMetaData[] findEvaluatorMetaData() throws RepositoryException
RepositoryException
- if an error occurred.public EvaluatorMetaData findEvaluatorMetaData(java.lang.String contentType) throws RepositoryException
contentType
- The MIME content type for the scripting language.
ObjectNotFoundException
- if an evaluator
for contentType
is not registered.
RepositoryException
- if some other error occurred.public Evaluator findEvaluator(java.lang.String contentType) throws RepositoryException
contentType
- The MIME content type for the scripting language.
ObjectNotFoundException
- if an evaluator
for contentType
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 |