@MessagingProxy(mode=SYNC) public interface WorkflowDefinitionManager
| Modifier and Type | Method and Description |
|---|---|
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[]) |
default WorkflowDefinition |
deployWorkflowDefinition(long companyId,
long userId,
String title,
String name,
byte[] bytes) |
int |
getActiveWorkflowDefinitionCount(long companyId) |
int |
getActiveWorkflowDefinitionCount(long companyId,
String name) |
List<WorkflowDefinition> |
getActiveWorkflowDefinitions(long companyId,
int start,
int end,
OrderByComparator<WorkflowDefinition> orderByComparator) |
List<WorkflowDefinition> |
getActiveWorkflowDefinitions(long companyId,
String name,
int start,
int end,
OrderByComparator<WorkflowDefinition> orderByComparator) |
WorkflowDefinition |
getLatestKaleoDefinition(long companyId,
String name)
Deprecated.
As of Judson (7.1.x), replaced by
getLatestWorkflowDefinition(long, String) |
default WorkflowDefinition |
getLatestWorkflowDefinition(long companyId,
String name) |
default List<WorkflowDefinition> |
getLatestWorkflowDefinitions(long companyId,
int start,
int end,
OrderByComparator<WorkflowDefinition> 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<WorkflowDefinition> orderByComparator) |
List<WorkflowDefinition> |
getWorkflowDefinitions(long companyId,
String name,
int start,
int end,
OrderByComparator<WorkflowDefinition> orderByComparator) |
default 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) |
WorkflowDefinition |
updateActive(long companyId,
long userId,
String name,
int version,
boolean active) |
WorkflowDefinition |
updateTitle(long companyId,
long userId,
String name,
int version,
String title) |
void |
validateWorkflowDefinition(byte[] bytes) |
@Deprecated WorkflowDefinition deployWorkflowDefinition(long companyId, long userId, String title, byte[] bytes) throws WorkflowException
deployWorkflowDefinition(long, long, String, String,
byte[])WorkflowExceptiondefault WorkflowDefinition deployWorkflowDefinition(long companyId, long userId, String title, String name, byte[] bytes) throws WorkflowException
WorkflowExceptionint getActiveWorkflowDefinitionCount(long companyId)
throws WorkflowException
WorkflowExceptionint getActiveWorkflowDefinitionCount(long companyId,
String name)
throws WorkflowException
WorkflowExceptionList<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId, int start, int end, OrderByComparator<WorkflowDefinition> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowDefinition> getActiveWorkflowDefinitions(long companyId, String name, int start, int end, OrderByComparator<WorkflowDefinition> orderByComparator) throws WorkflowException
WorkflowException@Deprecated WorkflowDefinition getLatestKaleoDefinition(long companyId, String name) throws WorkflowException
getLatestWorkflowDefinition(long, String)WorkflowExceptiondefault WorkflowDefinition getLatestWorkflowDefinition(long companyId, String name) throws WorkflowException
WorkflowExceptiondefault List<WorkflowDefinition> getLatestWorkflowDefinitions(long companyId, int start, int end, OrderByComparator<WorkflowDefinition> orderByComparator) throws WorkflowException
WorkflowExceptionWorkflowDefinition getWorkflowDefinition(long companyId, String name, int version) throws WorkflowException
WorkflowExceptionint getWorkflowDefinitionCount(long companyId)
throws WorkflowException
WorkflowExceptionint getWorkflowDefinitionCount(long companyId,
String name)
throws WorkflowException
WorkflowExceptionList<WorkflowDefinition> getWorkflowDefinitions(long companyId, int start, int end, OrderByComparator<WorkflowDefinition> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowDefinition> getWorkflowDefinitions(long companyId, String name, int start, int end, OrderByComparator<WorkflowDefinition> orderByComparator) throws WorkflowException
WorkflowExceptiondefault WorkflowDefinition saveWorkflowDefinition(long companyId, long userId, String title, String name, byte[] bytes) throws WorkflowException
deployWorkflowDefinition(long, long, String, String, byte[]) instead.companyId - 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 contentWorkflowException - if there was an issue saving the workflow
definitionvoid undeployWorkflowDefinition(long companyId,
long userId,
String name,
int version)
throws WorkflowException
WorkflowExceptionWorkflowDefinition updateActive(long companyId, long userId, String name, int version, boolean active) throws WorkflowException
WorkflowExceptionWorkflowDefinition updateTitle(long companyId, long userId, String name, int version, String title) throws WorkflowException
WorkflowExceptionvoid validateWorkflowDefinition(byte[] bytes)
throws WorkflowException
WorkflowException