GNDMS 0.6.0
RESTful verison of GNDMS
|
Client for TaskService. More...
Classes | |
class | TaskServiceAux |
Some convenience methods for task handling. More... | |
Public Member Functions | |
TaskClient (String serviceURL) | |
ResponseEntity< TaskServiceInfo > | getServiceInfo () |
Delivers infos about the service. | |
ResponseEntity< TaskServiceConfig > | getServiceConfig (String dn) |
Reads the service configuration. | |
ResponseEntity< String > | setServiceConfig (TaskServiceConfig cfg, String dn) |
ResponseEntity< Facets > | getTaskFacets (final String id, String dn) |
ResponseEntity< Void > | deleteTask (final String id, String dn, String wid) |
ResponseEntity< TaskStatus > | getStatus (final String id, String dn, String wid) |
ResponseEntity< Void > | changeStatus (final String id, TaskControl status, String dn, String wid) |
ResponseEntity< TaskResult > | getResult (final String id, String dn, String wid) |
ResponseEntity< TaskFailure > | getErrors (final String id, String dn, String wid) |
void | setServiceURL (String serviceURL) |
Private Attributes | |
UriFactory | uriFactory |
Client for TaskService.
ResponseEntity<TaskServiceConfig> de.zib.gndms.gndmc.gorfx.TaskClient.getServiceConfig | ( | String | dn | ) |
Reads the service configuration.
dn | The dn of the requesting user. |
Implements de.zib.gndms.common.GORFX.service.TaskService.
ResponseEntity<TaskServiceInfo> de.zib.gndms.gndmc.gorfx.TaskClient.getServiceInfo | ( | ) |
Delivers infos about the service.
This information contain available task-types, together with usage statistics on these types.
Implements de.zib.gndms.common.GORFX.service.TaskService.