public class WorkflowDefinitionManagerProxyBean
extends com.liferay.portal.kernel.messaging.proxy.BaseProxyBean
implements com.liferay.portal.kernel.workflow.WorkflowDefinitionManager
| Constructor and Description |
|---|
WorkflowDefinitionManagerProxyBean() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.workflow.WorkflowDefinition |
deployWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes) |
int |
getActiveWorkflowDefinitionCount(long companyId)
Deprecated.
As of Athanasius (7.3.x), replaced by
getActiveWorkflowDefinitionsCount(long) |
int |
getActiveWorkflowDefinitionCount(long companyId,
String name)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
List<com.liferay.portal.kernel.workflow.WorkflowDefinition> |
getActiveWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator) |
List<com.liferay.portal.kernel.workflow.WorkflowDefinition> |
getActiveWorkflowDefinitions(long companyId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator) |
int |
getActiveWorkflowDefinitionsCount(long companyId) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
getLatestWorkflowDefinition(long companyId,
String name) |
List<com.liferay.portal.kernel.workflow.WorkflowDefinition> |
getLatestWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator) |
int |
getLatestWorkflowDefinitionsCount(long companyId) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
getWorkflowDefinition(long companyId,
String name,
int version) |
int |
getWorkflowDefinitionCount(long companyId)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
int |
getWorkflowDefinitionCount(long companyId,
String name)
Deprecated.
As of Athanasius (7.3.x), replaced by
getWorkflowDefinitionsCount(long, String) |
List<com.liferay.portal.kernel.workflow.WorkflowDefinition> |
getWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
List<com.liferay.portal.kernel.workflow.WorkflowDefinition> |
getWorkflowDefinitions(long companyId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator) |
int |
getWorkflowDefinitionsCount(long companyId,
String name) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
saveWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes)
Saves a workflow definition without activating it or validating its data.
|
void |
undeployWorkflowDefinition(long companyId,
long userId,
String name,
int version) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
updateActive(long companyId,
long userId,
String name,
int version,
boolean active) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
updateTitle(long companyId,
long userId,
String name,
int version,
String title) |
void |
validateWorkflowDefinition(byte[] bytes) |
public com.liferay.portal.kernel.workflow.WorkflowDefinition deployWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes)
deployWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager@Deprecated public int getActiveWorkflowDefinitionCount(long companyId)
getActiveWorkflowDefinitionsCount(long)getActiveWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager@Deprecated
public int getActiveWorkflowDefinitionCount(long companyId,
String name)
getActiveWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic List<com.liferay.portal.kernel.workflow.WorkflowDefinition> getActiveWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
getActiveWorkflowDefinitions in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic List<com.liferay.portal.kernel.workflow.WorkflowDefinition> getActiveWorkflowDefinitions(long companyId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
getActiveWorkflowDefinitions in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic int getActiveWorkflowDefinitionsCount(long companyId)
getActiveWorkflowDefinitionsCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic com.liferay.portal.kernel.workflow.WorkflowDefinition getLatestWorkflowDefinition(long companyId,
String name)
getLatestWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic List<com.liferay.portal.kernel.workflow.WorkflowDefinition> getLatestWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
getLatestWorkflowDefinitions in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic int getLatestWorkflowDefinitionsCount(long companyId)
getLatestWorkflowDefinitionsCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic com.liferay.portal.kernel.workflow.WorkflowDefinition getWorkflowDefinition(long companyId,
String name,
int version)
getWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager@Deprecated public int getWorkflowDefinitionCount(long companyId)
getWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager@Deprecated
public int getWorkflowDefinitionCount(long companyId,
String name)
getWorkflowDefinitionsCount(long, String)getWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager@Deprecated
public List<com.liferay.portal.kernel.workflow.WorkflowDefinition> getWorkflowDefinitions(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
getWorkflowDefinitions in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic List<com.liferay.portal.kernel.workflow.WorkflowDefinition> getWorkflowDefinitions(long companyId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.workflow.WorkflowDefinition> orderByComparator)
getWorkflowDefinitions in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic int getWorkflowDefinitionsCount(long companyId,
String name)
getWorkflowDefinitionsCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic com.liferay.portal.kernel.workflow.WorkflowDefinition saveWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes)
throws com.liferay.portal.kernel.workflow.WorkflowException
deployWorkflowDefinition(long, long, String, String, byte[]) instead.saveWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagercompanyId - the company ID of the workflow definitionuserId - the ID of the user saving the workflow definitiontitle - the workflow definition's titlename - the workflow definition's namebytes - the data saved as the workflow definition's contentcom.liferay.portal.kernel.workflow.WorkflowException - if there was an issue saving the workflow
definitionpublic void undeployWorkflowDefinition(long companyId,
long userId,
String name,
int version)
undeployWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic com.liferay.portal.kernel.workflow.WorkflowDefinition updateActive(long companyId,
long userId,
String name,
int version,
boolean active)
updateActive in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic com.liferay.portal.kernel.workflow.WorkflowDefinition updateTitle(long companyId,
long userId,
String name,
int version,
String title)
updateTitle in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic void validateWorkflowDefinition(byte[] bytes)
validateWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManager