|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@BindingType(value="http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true") public interface WeeService
WebService Interface for the Planets Workflow Execution Engine. This allows - job submission - querying on a job's status and position in queue - retrieving execution results
Field Summary | |
---|---|
static java.lang.String |
NAME
|
static javax.xml.namespace.QName |
QNAME
|
Method Summary | |
---|---|
int |
getPositionInQueue(java.util.UUID ticket)
Returns the position in the workflow execution enginge's queue. |
int |
getProgress(java.util.UUID ticket)
Percent of processed (completed) objects |
WorkflowResult |
getResult(java.util.UUID ticket)
Returns a WorkflowResult containing the workflow execution's results. |
java.lang.String |
getStatus(java.util.UUID ticket)
A successfully executed workflow is marked by the status message 'completed' |
java.util.UUID |
submitWorkflow(java.util.ArrayList<DigitalObject> digObjs,
java.lang.String qWorkflowTemplateName,
java.lang.String xmlWorkflowConfig)
|
java.util.UUID |
submitWorkflowByReference(java.util.ArrayList<java.net.URI> digObjRefs,
java.lang.String qWorkflowTemplateName,
java.lang.String xmlWorkflowConfig)
since 12.03.2010 An updated interface taking data registry pointers to digital objects instead of submitting the entire payload. |
Field Detail |
---|
static final java.lang.String NAME
static final javax.xml.namespace.QName QNAME
Method Detail |
---|
java.util.UUID submitWorkflow(java.util.ArrayList<DigitalObject> digObjs, java.lang.String qWorkflowTemplateName, java.lang.String xmlWorkflowConfig) throws java.lang.Exception
digitalObjects
- A listof Planets Digital Objects - this contains the payload the wf is invoked uponQWorkflowTemplateName
- the fully qualified name of the java workflowTemplate to use for this submission. i.e. specifying the structure. Please note: the template must be registered.xmlWorkflowConfig
- holding the workflowTemplate's configuration i.e. specifying how to populate a static template
java.lang.Exception
java.lang.String getStatus(java.util.UUID ticket) throws java.lang.Exception
ticket
- the UUID obtained when submitting a job
java.lang.Exception
- for an unknown ticket requestfor all possible status messages
int getPositionInQueue(java.util.UUID ticket) throws java.lang.Exception
ticket
- the UUID obtained when submitting a job
java.lang.Exception
- for an unknown ticket requestint getProgress(java.util.UUID ticket) throws java.lang.Exception
ticket
- the UUID obtained when submitting a job
java.lang.Exception
- for an unknown ticket requestWorkflowResult getResult(java.util.UUID ticket) throws java.lang.Exception
ticket
- the UUID obtained when submitting a job
java.lang.Exception
- if the workflow failed to terminate successfully or if the ticket is unknownjava.util.UUID submitWorkflowByReference(java.util.ArrayList<java.net.URI> digObjRefs, java.lang.String qWorkflowTemplateName, java.lang.String xmlWorkflowConfig) throws java.lang.Exception
digitalObjects
- A list of Planets Digital Object references which contain the payload the wf is invoked upon - object references must be accessible to the WEEQWorkflowTemplateName
- the fully qualified name of the java workflowTemplate to use for this submission. i.e. specifying the structure. Please note: the template must be registered.xmlWorkflowConfig
- holding the workflowTemplate's configuration i.e. specifying how to populate a static template
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |