jBPM :: Test 6.0.0.Alpha9

org.jbpm.session
Class SynchronizedTaskService

java.lang.Object
  extended by org.jbpm.session.SynchronizedTaskService
All Implemented Interfaces:
org.jbpm.task.TaskService

public class SynchronizedTaskService
extends Object
implements org.jbpm.task.TaskService


Constructor Summary
SynchronizedTaskService(org.drools.persistence.SingleSessionCommandService ksession, org.jbpm.task.TaskService taskService)
           
 
Method Summary
 void activate(long arg0, String arg1)
           
 void addAttachment(long arg0, org.jbpm.task.Attachment arg1, org.jbpm.task.Content arg2)
           
 void addComment(long arg0, org.jbpm.task.Comment arg1)
           
 void addTask(org.jbpm.task.Task arg0, org.jbpm.task.service.ContentData arg1)
           
 void claim(long arg0, String arg1)
           
 void claim(long arg0, String arg1, List<String> arg2)
           
 void claimNextAvailable(String arg0, List<String> arg1, String arg2)
           
 void claimNextAvailable(String arg0, String arg1)
           
 void complete(long arg0, String arg1, org.jbpm.task.service.ContentData arg2)
           
 void completeWithResults(long arg0, String arg1, Object arg2)
           
 boolean connect()
           
 boolean connect(String arg0, int arg1)
           
 void delegate(long arg0, String arg1, String arg2)
           
 void deleteAttachment(long arg0, long arg1, long arg2)
           
 void deleteComment(long arg0, long arg1)
           
 void deleteFault(long arg0, String arg1)
           
 void deleteOutput(long arg0, String arg1)
           
 void disconnect()
           
 void exit(long arg0, String arg1)
           
 void fail(long arg0, String arg1, org.jbpm.task.service.FaultData arg2)
           
 void forward(long arg0, String arg1, String arg2)
           
 org.jbpm.task.Content getContent(long arg0)
           
 List<org.jbpm.task.query.TaskSummary> getSubTasksAssignedAsPotentialOwner(long arg0, String arg1, String arg2)
           
 List<org.jbpm.task.query.TaskSummary> getSubTasksByParent(long arg0)
           
 org.jbpm.task.Task getTask(long arg0)
           
 org.jbpm.task.Task getTaskByWorkItemId(long arg0)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsBusinessAdministrator(String arg0, String arg1)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsExcludedOwner(String arg0, String arg1)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0, List<String> arg1, String arg2)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0, List<String> arg1, String arg2, int arg3, int arg4)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0, String arg1)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwnerByStatus(String arg0, List<org.jbpm.task.Status> arg1, String arg2)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwnerByStatusByGroup(String arg0, List<String> arg1, List<org.jbpm.task.Status> arg2, String arg3)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsRecipient(String arg0, String arg1)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsTaskInitiator(String arg0, String arg1)
           
 List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsTaskStakeholder(String arg0, String arg1)
           
 List<Long> getTasksByProcessInstanceId(long arg0)
           
 List<org.jbpm.task.query.TaskSummary> getTasksByStatusByProcessId(long processInstanceId, List<org.jbpm.task.Status> status, String language)
           
 List<org.jbpm.task.query.TaskSummary> getTasksByStatusByProcessIdByTaskName(long processInstanceId, List<org.jbpm.task.Status> status, String taskName, String language)
           
 List<org.jbpm.task.query.TaskSummary> getTasksOwned(String arg0, List<org.jbpm.task.Status> arg1, String arg2)
           
 List<org.jbpm.task.query.TaskSummary> getTasksOwned(String arg0, String arg1)
           
 void nominate(long arg0, String arg1, List<org.jbpm.task.OrganizationalEntity> arg2)
           
 List<?> query(String arg0, Integer arg1, Integer arg2)
           
 void register(long arg0, String arg1)
           
 void registerForEvent(org.jbpm.eventmessaging.EventKey arg0, boolean arg1, org.jbpm.eventmessaging.EventResponseHandler arg2)
           
 void release(long arg0, String arg1)
           
 void remove(long arg0, String arg1)
           
 void resume(long arg0, String arg1)
           
 void setDocumentContent(long arg0, org.jbpm.task.Content arg1)
           
 void setFault(long arg0, String arg1, org.jbpm.task.service.FaultData arg2)
           
 void setOutput(long arg0, String arg1, org.jbpm.task.service.ContentData arg2)
           
 void setPriority(long arg0, String arg1, int arg2)
           
 void skip(long arg0, String arg1)
           
 void start(long arg0, String arg1)
           
 void stop(long arg0, String arg1)
           
 void suspend(long arg0, String arg1)
           
 void unregisterForEvent(org.jbpm.eventmessaging.EventKey arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedTaskService

public SynchronizedTaskService(org.drools.persistence.SingleSessionCommandService ksession,
                               org.jbpm.task.TaskService taskService)
Method Detail

activate

public void activate(long arg0,
                     String arg1)
Specified by:
activate in interface org.jbpm.task.TaskService

addAttachment

public void addAttachment(long arg0,
                          org.jbpm.task.Attachment arg1,
                          org.jbpm.task.Content arg2)
Specified by:
addAttachment in interface org.jbpm.task.TaskService

addComment

public void addComment(long arg0,
                       org.jbpm.task.Comment arg1)
Specified by:
addComment in interface org.jbpm.task.TaskService

addTask

public void addTask(org.jbpm.task.Task arg0,
                    org.jbpm.task.service.ContentData arg1)
Specified by:
addTask in interface org.jbpm.task.TaskService

claim

public void claim(long arg0,
                  String arg1)
Specified by:
claim in interface org.jbpm.task.TaskService

claim

public void claim(long arg0,
                  String arg1,
                  List<String> arg2)
Specified by:
claim in interface org.jbpm.task.TaskService

claimNextAvailable

public void claimNextAvailable(String arg0,
                               String arg1)
Specified by:
claimNextAvailable in interface org.jbpm.task.TaskService

claimNextAvailable

public void claimNextAvailable(String arg0,
                               List<String> arg1,
                               String arg2)
Specified by:
claimNextAvailable in interface org.jbpm.task.TaskService

complete

public void complete(long arg0,
                     String arg1,
                     org.jbpm.task.service.ContentData arg2)
Specified by:
complete in interface org.jbpm.task.TaskService

completeWithResults

public void completeWithResults(long arg0,
                                String arg1,
                                Object arg2)
Specified by:
completeWithResults in interface org.jbpm.task.TaskService

connect

public boolean connect()
Specified by:
connect in interface org.jbpm.task.TaskService

connect

public boolean connect(String arg0,
                       int arg1)
Specified by:
connect in interface org.jbpm.task.TaskService

delegate

public void delegate(long arg0,
                     String arg1,
                     String arg2)
Specified by:
delegate in interface org.jbpm.task.TaskService

deleteAttachment

public void deleteAttachment(long arg0,
                             long arg1,
                             long arg2)
Specified by:
deleteAttachment in interface org.jbpm.task.TaskService

deleteComment

public void deleteComment(long arg0,
                          long arg1)
Specified by:
deleteComment in interface org.jbpm.task.TaskService

deleteFault

public void deleteFault(long arg0,
                        String arg1)
Specified by:
deleteFault in interface org.jbpm.task.TaskService

deleteOutput

public void deleteOutput(long arg0,
                         String arg1)
Specified by:
deleteOutput in interface org.jbpm.task.TaskService

disconnect

public void disconnect()
                throws Exception
Specified by:
disconnect in interface org.jbpm.task.TaskService
Throws:
Exception

exit

public void exit(long arg0,
                 String arg1)
Specified by:
exit in interface org.jbpm.task.TaskService

fail

public void fail(long arg0,
                 String arg1,
                 org.jbpm.task.service.FaultData arg2)
Specified by:
fail in interface org.jbpm.task.TaskService

forward

public void forward(long arg0,
                    String arg1,
                    String arg2)
Specified by:
forward in interface org.jbpm.task.TaskService

getContent

public org.jbpm.task.Content getContent(long arg0)
Specified by:
getContent in interface org.jbpm.task.TaskService

getSubTasksAssignedAsPotentialOwner

public List<org.jbpm.task.query.TaskSummary> getSubTasksAssignedAsPotentialOwner(long arg0,
                                                                                 String arg1,
                                                                                 String arg2)
Specified by:
getSubTasksAssignedAsPotentialOwner in interface org.jbpm.task.TaskService

getSubTasksByParent

public List<org.jbpm.task.query.TaskSummary> getSubTasksByParent(long arg0)
Specified by:
getSubTasksByParent in interface org.jbpm.task.TaskService

getTask

public org.jbpm.task.Task getTask(long arg0)
Specified by:
getTask in interface org.jbpm.task.TaskService

getTaskByWorkItemId

public org.jbpm.task.Task getTaskByWorkItemId(long arg0)
Specified by:
getTaskByWorkItemId in interface org.jbpm.task.TaskService

getTasksByProcessInstanceId

public List<Long> getTasksByProcessInstanceId(long arg0)
Specified by:
getTasksByProcessInstanceId in interface org.jbpm.task.TaskService

getTasksAssignedAsBusinessAdministrator

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsBusinessAdministrator(String arg0,
                                                                                     String arg1)
Specified by:
getTasksAssignedAsBusinessAdministrator in interface org.jbpm.task.TaskService

getTasksAssignedAsExcludedOwner

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsExcludedOwner(String arg0,
                                                                             String arg1)
Specified by:
getTasksAssignedAsExcludedOwner in interface org.jbpm.task.TaskService

getTasksAssignedAsPotentialOwner

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0,
                                                                              String arg1)
Specified by:
getTasksAssignedAsPotentialOwner in interface org.jbpm.task.TaskService

getTasksAssignedAsPotentialOwner

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0,
                                                                              List<String> arg1,
                                                                              String arg2)
Specified by:
getTasksAssignedAsPotentialOwner in interface org.jbpm.task.TaskService

getTasksAssignedAsPotentialOwner

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwner(String arg0,
                                                                              List<String> arg1,
                                                                              String arg2,
                                                                              int arg3,
                                                                              int arg4)
Specified by:
getTasksAssignedAsPotentialOwner in interface org.jbpm.task.TaskService

getTasksAssignedAsPotentialOwnerByStatus

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwnerByStatus(String arg0,
                                                                                      List<org.jbpm.task.Status> arg1,
                                                                                      String arg2)
Specified by:
getTasksAssignedAsPotentialOwnerByStatus in interface org.jbpm.task.TaskService

getTasksAssignedAsPotentialOwnerByStatusByGroup

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsPotentialOwnerByStatusByGroup(String arg0,
                                                                                             List<String> arg1,
                                                                                             List<org.jbpm.task.Status> arg2,
                                                                                             String arg3)
Specified by:
getTasksAssignedAsPotentialOwnerByStatusByGroup in interface org.jbpm.task.TaskService

getTasksAssignedAsRecipient

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsRecipient(String arg0,
                                                                         String arg1)
Specified by:
getTasksAssignedAsRecipient in interface org.jbpm.task.TaskService

getTasksAssignedAsTaskInitiator

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsTaskInitiator(String arg0,
                                                                             String arg1)
Specified by:
getTasksAssignedAsTaskInitiator in interface org.jbpm.task.TaskService

getTasksAssignedAsTaskStakeholder

public List<org.jbpm.task.query.TaskSummary> getTasksAssignedAsTaskStakeholder(String arg0,
                                                                               String arg1)
Specified by:
getTasksAssignedAsTaskStakeholder in interface org.jbpm.task.TaskService

getTasksOwned

public List<org.jbpm.task.query.TaskSummary> getTasksOwned(String arg0,
                                                           String arg1)
Specified by:
getTasksOwned in interface org.jbpm.task.TaskService

getTasksOwned

public List<org.jbpm.task.query.TaskSummary> getTasksOwned(String arg0,
                                                           List<org.jbpm.task.Status> arg1,
                                                           String arg2)
Specified by:
getTasksOwned in interface org.jbpm.task.TaskService

nominate

public void nominate(long arg0,
                     String arg1,
                     List<org.jbpm.task.OrganizationalEntity> arg2)
Specified by:
nominate in interface org.jbpm.task.TaskService

query

public List<?> query(String arg0,
                     Integer arg1,
                     Integer arg2)
Specified by:
query in interface org.jbpm.task.TaskService

register

public void register(long arg0,
                     String arg1)
Specified by:
register in interface org.jbpm.task.TaskService

registerForEvent

public void registerForEvent(org.jbpm.eventmessaging.EventKey arg0,
                             boolean arg1,
                             org.jbpm.eventmessaging.EventResponseHandler arg2)
Specified by:
registerForEvent in interface org.jbpm.task.TaskService

release

public void release(long arg0,
                    String arg1)
Specified by:
release in interface org.jbpm.task.TaskService

remove

public void remove(long arg0,
                   String arg1)
Specified by:
remove in interface org.jbpm.task.TaskService

resume

public void resume(long arg0,
                   String arg1)
Specified by:
resume in interface org.jbpm.task.TaskService

setDocumentContent

public void setDocumentContent(long arg0,
                               org.jbpm.task.Content arg1)
Specified by:
setDocumentContent in interface org.jbpm.task.TaskService

setFault

public void setFault(long arg0,
                     String arg1,
                     org.jbpm.task.service.FaultData arg2)
Specified by:
setFault in interface org.jbpm.task.TaskService

setOutput

public void setOutput(long arg0,
                      String arg1,
                      org.jbpm.task.service.ContentData arg2)
Specified by:
setOutput in interface org.jbpm.task.TaskService

setPriority

public void setPriority(long arg0,
                        String arg1,
                        int arg2)
Specified by:
setPriority in interface org.jbpm.task.TaskService

skip

public void skip(long arg0,
                 String arg1)
Specified by:
skip in interface org.jbpm.task.TaskService

start

public void start(long arg0,
                  String arg1)
Specified by:
start in interface org.jbpm.task.TaskService

stop

public void stop(long arg0,
                 String arg1)
Specified by:
stop in interface org.jbpm.task.TaskService

suspend

public void suspend(long arg0,
                    String arg1)
Specified by:
suspend in interface org.jbpm.task.TaskService

unregisterForEvent

public void unregisterForEvent(org.jbpm.eventmessaging.EventKey arg0)
Specified by:
unregisterForEvent in interface org.jbpm.task.TaskService

getTasksByStatusByProcessId

public List<org.jbpm.task.query.TaskSummary> getTasksByStatusByProcessId(long processInstanceId,
                                                                         List<org.jbpm.task.Status> status,
                                                                         String language)
Specified by:
getTasksByStatusByProcessId in interface org.jbpm.task.TaskService

getTasksByStatusByProcessIdByTaskName

public List<org.jbpm.task.query.TaskSummary> getTasksByStatusByProcessIdByTaskName(long processInstanceId,
                                                                                   List<org.jbpm.task.Status> status,
                                                                                   String taskName,
                                                                                   String language)
Specified by:
getTasksByStatusByProcessIdByTaskName in interface org.jbpm.task.TaskService

jBPM :: Test 6.0.0.Alpha9

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