Liferay 6.2.0

com.liferay.portal.kernel.workflow
Interface WorkflowTaskManager


@MessagingProxy(mode=SYNC)
public interface WorkflowTaskManager


Method Summary
abstract  WorkflowTask assignWorkflowTaskToRole(long companyId, long userId, long workflowTaskId, long roleId, String comment, Date dueDate, Map<String,Serializable> workflowContext)
           
abstract  WorkflowTask assignWorkflowTaskToUser(long companyId, long userId, long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext)
           
abstract  WorkflowTask completeWorkflowTask(long companyId, long userId, long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext)
           
abstract  List<String> getNextTransitionNames(long companyId, long userId, long workflowTaskId)
           
abstract  long[] getPooledActorsIds(long companyId, long workflowTaskId)
           
abstract  WorkflowTask getWorkflowTask(long companyId, long workflowTaskId)
           
abstract  int getWorkflowTaskCount(long companyId, Boolean completed)
           
abstract  int getWorkflowTaskCountByRole(long companyId, long roleId, Boolean completed)
           
abstract  int getWorkflowTaskCountBySubmittingUser(long companyId, long userId, Boolean completed)
           
abstract  int getWorkflowTaskCountByUser(long companyId, long userId, Boolean completed)
           
abstract  int getWorkflowTaskCountByUserRoles(long companyId, long userId, Boolean completed)
           
abstract  int getWorkflowTaskCountByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed)
           
abstract  List<WorkflowTask> getWorkflowTasks(long companyId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> getWorkflowTasksByRole(long companyId, long roleId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> getWorkflowTasksBySubmittingUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> getWorkflowTasksByUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> getWorkflowTasksByUserRoles(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> getWorkflowTasksByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> search(long companyId, long userId, String keywords, Boolean completed, Boolean searchByUserRoles, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> search(long companyId, long userId, String keywords, String[] assetTypes, Boolean completed, Boolean searchByUserRoles, int start, int end, OrderByComparator orderByComparator)
           
abstract  List<WorkflowTask> search(long companyId, long userId, String taskName, String assetType, Long[] assetPrimaryKey, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
abstract  int searchCount(long companyId, long userId, String keywords, Boolean completed, Boolean searchByUserRoles)
           
abstract  int searchCount(long companyId, long userId, String keywords, String[] assetTypes, Boolean completed, Boolean searchByUserRoles)
           
abstract  int searchCount(long companyId, long userId, String taskName, String assetType, Long[] assetPrimaryKey, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, boolean andOperator)
           
abstract  WorkflowTask updateDueDate(long companyId, long userId, long workflowTaskId, String comment, Date dueDate)
           
 

Method Detail

assignWorkflowTaskToRole

WorkflowTask assignWorkflowTaskToRole(long companyId,
                                      long userId,
                                      long workflowTaskId,
                                      long roleId,
                                      String comment,
                                      Date dueDate,
                                      Map<String,Serializable> workflowContext)
                                      throws WorkflowException
Throws:
WorkflowException

assignWorkflowTaskToUser

WorkflowTask assignWorkflowTaskToUser(long companyId,
                                      long userId,
                                      long workflowTaskId,
                                      long assigneeUserId,
                                      String comment,
                                      Date dueDate,
                                      Map<String,Serializable> workflowContext)
                                      throws WorkflowException
Throws:
WorkflowException

completeWorkflowTask

WorkflowTask completeWorkflowTask(long companyId,
                                  long userId,
                                  long workflowTaskId,
                                  String transitionName,
                                  String comment,
                                  Map<String,Serializable> workflowContext)
                                  throws WorkflowException
Throws:
WorkflowException

getNextTransitionNames

List<String> getNextTransitionNames(long companyId,
                                    long userId,
                                    long workflowTaskId)
                                    throws WorkflowException
Throws:
WorkflowException

getPooledActorsIds

long[] getPooledActorsIds(long companyId,
                          long workflowTaskId)
                          throws WorkflowException
Throws:
WorkflowException

getWorkflowTask

WorkflowTask getWorkflowTask(long companyId,
                             long workflowTaskId)
                             throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCount

int getWorkflowTaskCount(long companyId,
                         Boolean completed)
                         throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCountByRole

int getWorkflowTaskCountByRole(long companyId,
                               long roleId,
                               Boolean completed)
                               throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCountBySubmittingUser

int getWorkflowTaskCountBySubmittingUser(long companyId,
                                         long userId,
                                         Boolean completed)
                                         throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCountByUser

int getWorkflowTaskCountByUser(long companyId,
                               long userId,
                               Boolean completed)
                               throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCountByUserRoles

int getWorkflowTaskCountByUserRoles(long companyId,
                                    long userId,
                                    Boolean completed)
                                    throws WorkflowException
Throws:
WorkflowException

getWorkflowTaskCountByWorkflowInstance

int getWorkflowTaskCountByWorkflowInstance(long companyId,
                                           Long userId,
                                           long workflowInstanceId,
                                           Boolean completed)
                                           throws WorkflowException
Throws:
WorkflowException

getWorkflowTasks

List<WorkflowTask> getWorkflowTasks(long companyId,
                                    Boolean completed,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws WorkflowException
Throws:
WorkflowException

getWorkflowTasksByRole

List<WorkflowTask> getWorkflowTasksByRole(long companyId,
                                          long roleId,
                                          Boolean completed,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws WorkflowException
Throws:
WorkflowException

getWorkflowTasksBySubmittingUser

List<WorkflowTask> getWorkflowTasksBySubmittingUser(long companyId,
                                                    long userId,
                                                    Boolean completed,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                                    throws WorkflowException
Throws:
WorkflowException

getWorkflowTasksByUser

List<WorkflowTask> getWorkflowTasksByUser(long companyId,
                                          long userId,
                                          Boolean completed,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws WorkflowException
Throws:
WorkflowException

getWorkflowTasksByUserRoles

List<WorkflowTask> getWorkflowTasksByUserRoles(long companyId,
                                               long userId,
                                               Boolean completed,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws WorkflowException
Throws:
WorkflowException

getWorkflowTasksByWorkflowInstance

List<WorkflowTask> getWorkflowTasksByWorkflowInstance(long companyId,
                                                      Long userId,
                                                      long workflowInstanceId,
                                                      Boolean completed,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                                      throws WorkflowException
Throws:
WorkflowException

search

List<WorkflowTask> search(long companyId,
                          long userId,
                          String keywords,
                          Boolean completed,
                          Boolean searchByUserRoles,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws WorkflowException
Throws:
WorkflowException

search

List<WorkflowTask> search(long companyId,
                          long userId,
                          String taskName,
                          String assetType,
                          Long[] assetPrimaryKey,
                          Date dueDateGT,
                          Date dueDateLT,
                          Boolean completed,
                          Boolean searchByUserRoles,
                          boolean andOperator,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws WorkflowException
Throws:
WorkflowException

search

List<WorkflowTask> search(long companyId,
                          long userId,
                          String keywords,
                          String[] assetTypes,
                          Boolean completed,
                          Boolean searchByUserRoles,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws WorkflowException
Throws:
WorkflowException

searchCount

int searchCount(long companyId,
                long userId,
                String keywords,
                Boolean completed,
                Boolean searchByUserRoles)
                throws WorkflowException
Throws:
WorkflowException

searchCount

int searchCount(long companyId,
                long userId,
                String taskName,
                String assetType,
                Long[] assetPrimaryKey,
                Date dueDateGT,
                Date dueDateLT,
                Boolean completed,
                Boolean searchByUserRoles,
                boolean andOperator)
                throws WorkflowException
Throws:
WorkflowException

searchCount

int searchCount(long companyId,
                long userId,
                String keywords,
                String[] assetTypes,
                Boolean completed,
                Boolean searchByUserRoles)
                throws WorkflowException
Throws:
WorkflowException

updateDueDate

WorkflowTask updateDueDate(long companyId,
                           long userId,
                           long workflowTaskId,
                           String comment,
                           Date dueDate)
                           throws WorkflowException
Throws:
WorkflowException

Liferay 6.2.0