Liferay 6.2-ce-ga5

com.liferay.portal.kernel.workflow
Interface WorkflowTaskManager


@MessagingProxy(mode=SYNC)
public interface WorkflowTaskManager


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