KIE Remote Services :: Services 6.1.0.Beta1

org.kie.services.remote.rest
Class TaskResource

java.lang.Object
  extended by org.kie.services.remote.rest.ResourceBase
      extended by org.kie.services.remote.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
 
Fields inherited from class org.kie.services.remote.rest.ResourceBase
PROC_INST_ID_PARAM_NAME
 
Constructor Summary
TaskResource()
           
 
Method Summary
 javax.ws.rs.core.Response bam_clear()
           
 javax.ws.rs.core.Response content_contentId(long contentId)
           
 javax.ws.rs.core.Response events_clear()
           
 JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
           
 javax.ws.rs.core.Response query(javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response taskId_content(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.services.remote.rest.ResourceBase
convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, extractMapFromParams, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getStringListParam, getStringParam, getVariant, paginate, restProcessJaxbCommandsRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskResource

public TaskResource()
Method Detail

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)

content_contentId

public javax.ws.rs.core.Response content_contentId(long contentId)

bam_clear

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

events_clear

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

KIE Remote Services :: Services 6.1.0.Beta1

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