Liferay 6.1.2-ce-ga3

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 orderByComparator)
           
 List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
 List<WorkflowInstance> getWorkflowInstances(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed, int start, int end, OrderByComparator orderByComparator)
           
 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 orderByComparator)
                                            throws WorkflowException
Throws:
WorkflowException

getWorkflowInstances

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

getWorkflowInstances

List<WorkflowInstance> getWorkflowInstances(long companyId,
                                            String workflowDefinitionName,
                                            Integer workflowDefinitionVersion,
                                            Boolean completed,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            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 6.1.2-ce-ga3