Interface TaskManager


@ProviderType public interface TaskManager
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.portal.kernel.workflow.WorkflowTask
    assignWorkflowTaskToRole(long workflowTaskId, long roleId, String comment, Date dueDate, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.workflow.WorkflowTask
    assignWorkflowTaskToUser(long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.workflow.WorkflowTask
    completeWorkflowTask(long workflowTaskId, long workflowTaskFormId, String formValues, String transitionName, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.workflow.WorkflowTask
    completeWorkflowTask(long workflowTaskId, long workflowTaskFormId, String formValues, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.workflow.WorkflowTask
    completeWorkflowTask(long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    getWorkflowTaskFormDefinitions(long workflowTaskId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.portal.kernel.workflow.WorkflowTask
    updateDueDate(long workflowTaskId, String comment, Date dueDate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
  • Method Details

    • assignWorkflowTaskToRole

      com.liferay.portal.kernel.workflow.WorkflowTask assignWorkflowTaskToRole(long workflowTaskId, long roleId, String comment, Date dueDate, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • assignWorkflowTaskToUser

      com.liferay.portal.kernel.workflow.WorkflowTask assignWorkflowTaskToUser(long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • completeWorkflowTask

      com.liferay.portal.kernel.workflow.WorkflowTask completeWorkflowTask(long workflowTaskId, long workflowTaskFormId, String formValues, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • completeWorkflowTask

      com.liferay.portal.kernel.workflow.WorkflowTask completeWorkflowTask(long workflowTaskId, long workflowTaskFormId, String formValues, String transitionName, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • completeWorkflowTask

      com.liferay.portal.kernel.workflow.WorkflowTask completeWorkflowTask(long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • getWorkflowTaskFormDefinitions

      List<String> getWorkflowTaskFormDefinitions(long workflowTaskId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException
    • updateDueDate

      com.liferay.portal.kernel.workflow.WorkflowTask updateDueDate(long workflowTaskId, String comment, Date dueDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.workflow.WorkflowException
      Throws:
      com.liferay.portal.kernel.workflow.WorkflowException