org.kie.remote.services.rest
Class TaskResource
java.lang.Object
org.kie.remote.services.rest.ResourceBase
org.kie.remote.services.rest.TaskResource
@RequestScoped
public class TaskResource
- extends ResourceBase
If a method in this class is annotated by a @Path annotation,
then the name of the method should match the URL specified in the @Path,
where "_" characters should be used for all "/" characters in the path.
For example:
|
Field Summary |
protected javax.ws.rs.core.HttpHeaders |
headers
|
protected org.jbpm.kie.services.api.IdentityProvider |
identityProvider
|
protected javax.ws.rs.core.Request |
restRequest
|
protected javax.ws.rs.core.UriInfo |
uriInfo
|
| Methods inherited from class org.kie.remote.services.rest.ResourceBase |
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, extractMapFromParams, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getStringListParam, getStringParam, getVariant, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headers
@Context
protected javax.ws.rs.core.HttpHeaders headers
uriInfo
@Context
protected javax.ws.rs.core.UriInfo uriInfo
restRequest
@Context
protected javax.ws.rs.core.Request restRequest
identityProvider
@Inject
protected org.jbpm.kie.services.api.IdentityProvider identityProvider
TaskResource
public TaskResource()
execute
public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
query
public javax.ws.rs.core.Response query(@Context
javax.ws.rs.core.UriInfo uriInfo)
taskId
public javax.ws.rs.core.Response taskId(long taskId)
taskId_oper
public javax.ws.rs.core.Response taskId_oper(long taskId,
String operation)
taskId_content
public javax.ws.rs.core.Response taskId_content(long taskId)
taskId_form
public javax.ws.rs.core.Response taskId_form(long taskId)
content_contentId
public javax.ws.rs.core.Response content_contentId(long contentId)
bam_clear
public javax.ws.rs.core.Response bam_clear()
doRestTaskOperation
public Object doRestTaskOperation(Long taskId,
org.jbpm.services.task.commands.TaskCommand<?> cmd)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.