Liferay 7.0-ce-b4

com.liferay.portal.kernel.workflow
Interface WorkflowInstanceManager


@MessagingProxy(mode=SYNC)
public interface WorkflowInstanceManager


Method Summary
 void deleteWorkflowInstance(long companyId, long workflowInstanceId)
           
 List<String> getNextTransitionNames(long companyId, long userId, long workflowInstanceId)
           
 WorkflowInstance getWorkflowInstance(long companyId, long workflowInstanceId)
           
 int getWorkflowInstanceCount(long companyId, Long userId, String[] assetClassNames, Boolean completed)
           
 int getWorkflowInstanceCount(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed)
           
 int getWorkflowInstanceCount(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed)
           
 List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String[] assetClassNames, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator)
           
 List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator)
           
 List<WorkflowInstance> getWorkflowInstances(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator)
           
 List<WorkflowInstance> search(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator)
           
 int searchCount(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed)
           
 WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext)
           
 WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext)
           
 WorkflowInstance updateWorkflowContext(long companyId, long workflowInstanceId, Map<String,Serializable> workflowContext)
           
 

Method Detail

deleteWorkflowInstance

void deleteWorkflowInstance(long companyId,
                            long workflowInstanceId)
                            throws WorkflowException
Throws:
WorkflowException

getNextTransitionNames

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

getWorkflowInstance

WorkflowInstance getWorkflowInstance(long companyId,
                                     long workflowInstanceId)
                                     throws WorkflowException
Throws:
WorkflowException

getWorkflowInstanceCount

int getWorkflowInstanceCount(long companyId,
                             Long userId,
                             String assetClassName,
                             Long assetClassPK,
                             Boolean completed)
                             throws WorkflowException
Throws:
WorkflowException

getWorkflowInstanceCount

int getWorkflowInstanceCount(long companyId,
                             Long userId,
                             String[] assetClassNames,
                             Boolean completed)
                             throws WorkflowException
Throws:
WorkflowException

getWorkflowInstanceCount

int getWorkflowInstanceCount(long companyId,
                             String workflowDefinitionName,
                             Integer workflowDefinitionVersion,
                             Boolean completed)
                             throws WorkflowException
Throws:
WorkflowException

getWorkflowInstances

List<WorkflowInstance> getWorkflowInstances(long companyId,
                                            Long userId,
                                            String assetClassName,
                                            Long assetClassPK,
                                            Boolean completed,
                                            int start,
                                            int end,
                                            OrderByComparator<WorkflowInstance> orderByComparator)
                                            throws WorkflowException
Throws:
WorkflowException

getWorkflowInstances

List<WorkflowInstance> getWorkflowInstances(long companyId,
                                            Long userId,
                                            String[] assetClassNames,
                                            Boolean completed,
                                            int start,
                                            int end,
                                            OrderByComparator<WorkflowInstance> orderByComparator)
                                            throws WorkflowException
Throws:
WorkflowException

getWorkflowInstances

List<WorkflowInstance> getWorkflowInstances(long companyId,
                                            String workflowDefinitionName,
                                            Integer workflowDefinitionVersion,
                                            Boolean completed,
                                            int start,
                                            int end,
                                            OrderByComparator<WorkflowInstance> orderByComparator)
                                            throws WorkflowException
Throws:
WorkflowException

search

List<WorkflowInstance> search(long companyId,
                              Long userId,
                              String assetType,
                              String nodeName,
                              String kaleoDefinitionName,
                              Boolean completed,
                              int start,
                              int end,
                              OrderByComparator<WorkflowInstance> orderByComparator)
                              throws WorkflowException
Throws:
WorkflowException

searchCount

int searchCount(long companyId,
                Long userId,
                String assetType,
                String nodeName,
                String kaleoDefinitionName,
                Boolean completed)
                throws WorkflowException
Throws:
WorkflowException

signalWorkflowInstance

WorkflowInstance signalWorkflowInstance(long companyId,
                                        long userId,
                                        long workflowInstanceId,
                                        String transitionName,
                                        Map<String,Serializable> workflowContext)
                                        throws WorkflowException
Throws:
WorkflowException

startWorkflowInstance

WorkflowInstance startWorkflowInstance(long companyId,
                                       long groupId,
                                       long userId,
                                       String workflowDefinitionName,
                                       Integer workflowDefinitionVersion,
                                       String transitionName,
                                       Map<String,Serializable> workflowContext)
                                       throws WorkflowException
Throws:
WorkflowException

updateWorkflowContext

WorkflowInstance updateWorkflowContext(long companyId,
                                       long workflowInstanceId,
                                       Map<String,Serializable> workflowContext)
                                       throws WorkflowException
Throws:
WorkflowException

Liferay 7.0-ce-b4