public interface ActivitiResource extends AuthenticatedResource
Modifier and Type | Method and Description |
---|---|
GenericResponse |
assign(String id,
PageTask pageTask)
Assign a page to the given task
|
GenericResponse |
delete(String id)
Delete all assignments for a given task
|
PageTaskListResponse |
get(String id)
Get the pages assigned to the given task
|
ProcessQueueResponse |
processQueue(List<String> objTypes,
List<String> states,
String sortBy,
String sortOrder)
Get the entries in the process queue.
|
GenericResponse |
status()
Get the activiti integration status
|
setSessionId
PageTaskListResponse get(String id) throws Exception
id
- task IDException
GenericResponse assign(String id, PageTask pageTask) throws Exception
id
- task IDpageTask
- assigned page and event infoException
GenericResponse delete(String id) throws Exception
id
- task IDException
ProcessQueueResponse processQueue(List<String> objTypes, List<String> states, String sortBy, String sortOrder) throws Exception
objTypes
- For which object types to load the process queues,
or an empty list to retrieve entries for all types (default).states
- Only entries with one of these states will be returned
or an empty list to retrieve entries of all states (default).sortBy
- The field to sort the results by, or an empty string
to disable sorting.sortOrder
- Whether to sort asc
ending or
desc
ending (anything other than desc
will be interpreted as asc
Exception
GenericResponse status() throws Exception
Exception
Copyright © 2016 Gentics Software. All rights reserved.