public class WorkflowTaskManagerProxyBean
extends com.liferay.portal.kernel.messaging.proxy.BaseProxyBean
implements com.liferay.portal.kernel.workflow.WorkflowTaskManager
Constructor and Description |
---|
WorkflowTaskManagerProxyBean() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.workflow.WorkflowTask |
assignWorkflowTaskToRole(long companyId,
long userId,
long workflowTaskId,
long roleId,
String comment,
Date dueDate,
Map<String,Serializable> workflowContext) |
com.liferay.portal.kernel.workflow.WorkflowTask |
assignWorkflowTaskToUser(long companyId,
long userId,
long workflowTaskId,
long assigneeUserId,
String comment,
Date dueDate,
Map<String,Serializable> workflowContext) |
com.liferay.portal.kernel.workflow.WorkflowTask |
completeWorkflowTask(long companyId,
long userId,
long workflowTaskId,
String transitionName,
String comment,
Map<String,Serializable> workflowContext) |
com.liferay.portal.kernel.workflow.WorkflowTask |
fetchWorkflowTask(long companyId,
long workflowTaskId) |
List<String> |
getNextTransitionNames(long companyId,
long userId,
long workflowTaskId) |
long[] |
getPooledActorsIds(long companyId,
long workflowTaskId) |
com.liferay.portal.kernel.workflow.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<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasks(long companyId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasksByRole(long companyId,
long roleId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasksBySubmittingUser(long companyId,
long userId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasksByUser(long companyId,
long userId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasksByUserRoles(long companyId,
long userId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
getWorkflowTasksByWorkflowInstance(long companyId,
Long userId,
long workflowInstanceId,
Boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
boolean |
hasOtherAssignees(long workflowTaskInstanceId,
long userId) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
search(long companyId,
long userId,
String taskName,
Boolean completed,
Boolean searchByUserRoles,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
search(long companyId,
long userId,
String keywords,
String[] assetTypes,
Boolean completed,
Boolean searchByUserRoles,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowTask> |
search(long companyId,
long userId,
String keywords,
String assetType,
Long[] assetPrimaryKey,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> 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) |
com.liferay.portal.kernel.workflow.WorkflowTask |
updateDueDate(long companyId,
long userId,
long workflowTaskId,
String comment,
Date dueDate) |
afterPropertiesSet, buildMessage, send, setDestinationName, setSingleDestinationMessageSender, setSingleDestinationSynchronousMessageSender, setSynchronousDestinationName, setSynchronousMessageSenderMode, synchronousSend
public com.liferay.portal.kernel.workflow.WorkflowTask assignWorkflowTaskToRole(long companyId, long userId, long workflowTaskId, long roleId, String comment, Date dueDate, Map<String,Serializable> workflowContext)
assignWorkflowTaskToRole
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public com.liferay.portal.kernel.workflow.WorkflowTask assignWorkflowTaskToUser(long companyId, long userId, long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext)
assignWorkflowTaskToUser
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public com.liferay.portal.kernel.workflow.WorkflowTask completeWorkflowTask(long companyId, long userId, long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext)
completeWorkflowTask
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public com.liferay.portal.kernel.workflow.WorkflowTask fetchWorkflowTask(long companyId, long workflowTaskId)
fetchWorkflowTask
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<String> getNextTransitionNames(long companyId, long userId, long workflowTaskId)
getNextTransitionNames
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public long[] getPooledActorsIds(long companyId, long workflowTaskId)
getPooledActorsIds
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public com.liferay.portal.kernel.workflow.WorkflowTask getWorkflowTask(long companyId, long workflowTaskId)
getWorkflowTask
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCount(long companyId, Boolean completed)
getWorkflowTaskCount
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCountByRole(long companyId, long roleId, Boolean completed)
getWorkflowTaskCountByRole
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCountBySubmittingUser(long companyId, long userId, Boolean completed)
getWorkflowTaskCountBySubmittingUser
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCountByUser(long companyId, long userId, Boolean completed)
getWorkflowTaskCountByUser
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCountByUserRoles(long companyId, long userId, Boolean completed)
getWorkflowTaskCountByUserRoles
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int getWorkflowTaskCountByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed)
getWorkflowTaskCountByWorkflowInstance
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasks(long companyId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasks
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasksByRole(long companyId, long roleId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasksByRole
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasksBySubmittingUser(long companyId, long userId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasksBySubmittingUser
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasksByUser(long companyId, long userId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasksByUser
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasksByUserRoles(long companyId, long userId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasksByUserRoles
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> getWorkflowTasksByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
getWorkflowTasksByWorkflowInstance
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public boolean hasOtherAssignees(long workflowTaskInstanceId, long userId)
hasOtherAssignees
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> search(long companyId, long userId, String taskName, Boolean completed, Boolean searchByUserRoles, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
search
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> search(long companyId, long userId, String keywords, String assetType, Long[] assetPrimaryKey, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
search
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public List<com.liferay.portal.kernel.workflow.WorkflowTask> search(long companyId, long userId, String keywords, String[] assetTypes, Boolean completed, Boolean searchByUserRoles, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowTask> orderByComparator)
search
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int searchCount(long companyId, long userId, String keywords, Boolean completed, Boolean searchByUserRoles)
searchCount
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int searchCount(long companyId, long userId, String taskName, String assetType, Long[] assetPrimaryKey, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, boolean andOperator)
searchCount
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public int searchCount(long companyId, long userId, String keywords, String[] assetTypes, Boolean completed, Boolean searchByUserRoles)
searchCount
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager
public com.liferay.portal.kernel.workflow.WorkflowTask updateDueDate(long companyId, long userId, long workflowTaskId, String comment, Date dueDate)
updateDueDate
in interface com.liferay.portal.kernel.workflow.WorkflowTaskManager