Liferay 6.0.5

com.liferay.portal.kernel.workflow
Interface WorkflowDefinitionManager

All Known Implementing Classes:
WorkflowDefinitionManagerProxyBean

@MessagingProxy(mode=SYNC)
public interface WorkflowDefinitionManager


Method Summary
 WorkflowDefinition deployWorkflowDefinition(long companyId, long userId, String title, InputStream inputStream)
           
 int getActiveWorkflowDefinitionCount(long companyId)
           
 int getActiveWorkflowDefinitionCount(long companyId, String name)
           
 List<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 List<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId, String name, int start, int end, OrderByComparator orderByComparator)
           
 WorkflowDefinition getWorkflowDefinition(long companyId, String name, int version)
           
 int getWorkflowDefinitionCount(long companyId)
           
 int getWorkflowDefinitionCount(long companyId, String name)
           
 List<WorkflowDefinition> getWorkflowDefinitions(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 List<WorkflowDefinition> getWorkflowDefinitions(long companyId, String name, int start, int end, OrderByComparator orderByComparator)
           
 void undeployWorkflowDefinition(long companyId, long userId, String name, int version)
           
 WorkflowDefinition updateActive(long companyId, long userId, String name, int version, boolean active)
           
 WorkflowDefinition updateTitle(long companyId, long userId, String name, int version, String title)
           
 

Method Detail

deployWorkflowDefinition

WorkflowDefinition deployWorkflowDefinition(long companyId,
                                            long userId,
                                            String title,
                                            InputStream inputStream)
                                            throws WorkflowException
Throws:
WorkflowException

getActiveWorkflowDefinitionCount

int getActiveWorkflowDefinitionCount(long companyId)
                                     throws WorkflowException
Throws:
WorkflowException

getActiveWorkflowDefinitionCount

int getActiveWorkflowDefinitionCount(long companyId,
                                     String name)
                                     throws WorkflowException
Throws:
WorkflowException

getActiveWorkflowDefinitions

List<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                                      throws WorkflowException
Throws:
WorkflowException

getActiveWorkflowDefinitions

List<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId,
                                                      String name,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                                      throws WorkflowException
Throws:
WorkflowException

getWorkflowDefinition

WorkflowDefinition getWorkflowDefinition(long companyId,
                                         String name,
                                         int version)
                                         throws WorkflowException
Throws:
WorkflowException

getWorkflowDefinitionCount

int getWorkflowDefinitionCount(long companyId)
                               throws WorkflowException
Throws:
WorkflowException

getWorkflowDefinitionCount

int getWorkflowDefinitionCount(long companyId,
                               String name)
                               throws WorkflowException
Throws:
WorkflowException

getWorkflowDefinitions

List<WorkflowDefinition> getWorkflowDefinitions(long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws WorkflowException
Throws:
WorkflowException

getWorkflowDefinitions

List<WorkflowDefinition> getWorkflowDefinitions(long companyId,
                                                String name,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws WorkflowException
Throws:
WorkflowException

undeployWorkflowDefinition

void undeployWorkflowDefinition(long companyId,
                                long userId,
                                String name,
                                int version)
                                throws WorkflowException
Throws:
WorkflowException

updateActive

WorkflowDefinition updateActive(long companyId,
                                long userId,
                                String name,
                                int version,
                                boolean active)
                                throws WorkflowException
Throws:
WorkflowException

updateTitle

WorkflowDefinition updateTitle(long companyId,
                               long userId,
                               String name,
                               int version,
                               String title)
                               throws WorkflowException
Throws:
WorkflowException

Liferay 6.0.5