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,
byte[] bytes)
Deprecated.
As of Judson (7.1.x), replaced by
deployWorkflowDefinition(long, long, String, String,
byte[]) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
deployWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes) |
int |
getActiveWorkflowDefinitionCount(long companyId) |
int |
getActiveWorkflowDefinitionCount(long companyId,
String name) |
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) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
getLatestKaleoDefinition(long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getLatestWorkflowDefinition(long, String) |
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) |
com.liferay.portal.kernel.workflow.WorkflowDefinition |
getWorkflowDefinition(long companyId,
String name,
int version) |
int |
getWorkflowDefinitionCount(long companyId) |
int |
getWorkflowDefinitionCount(long companyId,
String name) |
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) |
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) |
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) |
@Deprecated
public com.liferay.portal.kernel.workflow.WorkflowDefinition deployWorkflowDefinition(long companyId,
long userId,
String title,
byte[] bytes)
deployWorkflowDefinition(long, long, String, String,
byte[])deployWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic 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.WorkflowDefinitionManagerpublic int getActiveWorkflowDefinitionCount(long companyId)
getActiveWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic 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.WorkflowDefinitionManager@Deprecated
public com.liferay.portal.kernel.workflow.WorkflowDefinition getLatestKaleoDefinition(long companyId,
String name)
getLatestWorkflowDefinition(long, String)getLatestKaleoDefinition 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 com.liferay.portal.kernel.workflow.WorkflowDefinition getWorkflowDefinition(long companyId,
String name,
int version)
getWorkflowDefinition in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic int getWorkflowDefinitionCount(long companyId)
getWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic int getWorkflowDefinitionCount(long companyId,
String name)
getWorkflowDefinitionCount in interface com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerpublic 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 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