|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TaskManagerEndpointClient
Retrieves and invokes endpoints.
| Method Summary | |
|---|---|
TaskEndpointCategory[] |
getCategories()
Retrieves a category listing. |
TaskEndpoint |
getEndpointByName(java.lang.String serviceName,
java.lang.String endpointName)
Retrieves the specific endpoint requested by name. |
TaskEndpoint[] |
getEndpointsForCategory(java.lang.String categoryId)
Retrieves the endpoints in a category. |
TaskEndpoint[] |
getEndpointsFromIds(long[] enpointIds)
Retrieves the endpoints requested in the list of identifiers. |
EndpointInvokeResult |
invokeEndpoint(long endpointId)
Invokes an endpoint and returns the endpoint result. |
EndpointInvokeResult |
invokeEndpointFromStartTask(long taskId)
Invokes the same endpoint a previously completed task was invoked from, using that task's data as default data for the newly created task, and returns the endpoint result. |
| Method Detail |
|---|
TaskEndpointCategory[] getCategories()
throws TaskEndpointException
TaskEndpointCategory objects.
TaskEndpointException
TaskEndpoint[] getEndpointsForCategory(java.lang.String categoryId)
throws TaskEndpointException
categoryId - The category identifier for which to return endpoints.
TaskEndpoint objects.
TaskEndpointException
EndpointInvokeResult invokeEndpoint(long endpointId)
throws TaskEndpointNotFound,
TaskEndpointException
endpointId - The endpoint to invoke.
EndpointInvokeResult object.
TaskEndpointException - if there is no input form variable parameter in the service to call
or if the user does not have access to invoke the service.
TaskEndpointNotFound - if the endpoint could not be found.
EndpointInvokeResult invokeEndpointFromStartTask(long taskId)
throws TaskEndpointNotFound,
TaskEndpointException
taskId - The taskId used to invoke the endpoint
EndpointInvokeResult object.
TaskEndpointException - if there is no input form variable parameter in the service to call
or if the user does not have access to invoke the service.
TaskEndpointNotFound - if a suitable endpoint could not be found.
TaskEndpoint[] getEndpointsFromIds(long[] enpointIds)
throws TaskEndpointException
enpointIds - An array of endpoint identifiers.
TaskEndpointException
TaskEndpoint getEndpointByName(java.lang.String serviceName,
java.lang.String endpointName)
throws TaskEndpointException
serviceName - The name of the service for the endpoint.endpointName - The name of the endpoint.
TaskEndpointException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||