KIE Remote Services :: Services 6.2.0.Beta1

org.kie.remote.services.rest
Class TaskResource

java.lang.Object
  extended by org.kie.remote.services.rest.ResourceBase
      extended by 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
           
 
Fields inherited from class org.kie.remote.services.rest.ResourceBase
PROC_INST_ID_PARAM_NAME, processRequestBean
 
Constructor Summary
TaskResource()
           
 
Method Summary
 javax.ws.rs.core.Response bam_clear()
           
 javax.ws.rs.core.Response content_contentId(long contentId)
           
 Object doRestTaskOperation(Long taskId, org.jbpm.services.task.commands.TaskCommand<?> cmd)
           
 JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
           
 javax.ws.rs.core.Response query()
           
 javax.ws.rs.core.Response taskId_content(long taskId)
           
 javax.ws.rs.core.Response taskId_form(long taskId)
           
 javax.ws.rs.core.Response taskId_oper(long taskId, String operation)
           
 javax.ws.rs.core.Response taskId(long taskId)
           
 
Methods inherited from class org.kie.remote.services.rest.ResourceBase
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, extractMapFromParams, getBaseUri, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getRequestUri, getStringListParam, getStringListParamAsList, getStringParam, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest, setHttpServletRequest, setUriInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headers

@Context
protected javax.ws.rs.core.HttpHeaders headers

identityProvider

@Inject
protected org.jbpm.kie.services.api.IdentityProvider identityProvider
Constructor Detail

TaskResource

public TaskResource()
Method Detail

execute

public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)

query

public javax.ws.rs.core.Response query()

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)

KIE Remote Services :: Services 6.2.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.