org.opencrx.kernel.backend
Class Workflows
java.lang.Object
org.opencrx.kernel.backend.Workflows
public class Workflows
- extends Object
|
Method Summary |
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
executeWorkflow(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 userHome,
org.openmdx.base.naming.Path wfProcessIdentity,
org.openmdx.base.naming.Path targetObjectPath,
String targetObjectXri,
String triggeredByEventId,
org.openmdx.base.naming.Path triggeredBySubscription,
Number triggeredByEventType)
Execute workflow and execute workflow instance identity. |
WfProcessInstance |
executeWorkflow(org.openmdx.base.naming.Path workflowTargetIdentity,
org.openmdx.base.naming.Path wfProcessIdentity,
org.openmdx.base.naming.Path targetObjectIdentity,
String targetObjectXri,
String triggeredByEventId,
Subscription triggeredBySubscription,
Number triggeredByEventType)
|
static Topic |
findTopic(String name,
Segment segment,
javax.jdo.PersistenceManager pm)
|
static WfProcess |
findWfProcess(String name,
Segment segment,
javax.jdo.PersistenceManager pm)
|
static Segment |
getWorkflowSegment(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
static Topic |
initTopic(javax.jdo.PersistenceManager pm,
Workflow1Package workflowPackage,
Segment workflowSegment,
String id,
String name,
String description,
String topicPathPattern,
WfProcess[] actions)
|
static WfProcess |
initWorkflow(javax.jdo.PersistenceManager pm,
Workflow1Package workflowPackage,
Segment workflowSegment,
String id,
String name,
String description,
Boolean isSynchronous,
Property[] properties)
|
static void |
initWorkflows(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_OK
public static final short STATUS_OK
- See Also:
- Constant Field Values
STATUS_FAILED
public static final short STATUS_FAILED
- See Also:
- Constant Field Values
WORKFLOW_EXPORT_MAIL
public static final String WORKFLOW_EXPORT_MAIL
- See Also:
- Constant Field Values
WORKFLOW_SEND_MAIL
public static final String WORKFLOW_SEND_MAIL
- See Also:
- Constant Field Values
WORKFLOW_SEND_MAIL_NOTIFICATION
public static final String WORKFLOW_SEND_MAIL_NOTIFICATION
- See Also:
- Constant Field Values
WORKFLOW_SEND_ALERT
public static final String WORKFLOW_SEND_ALERT
- See Also:
- Constant Field Values
WORKFLOW_PRINT_CONSOLE
public static final String WORKFLOW_PRINT_CONSOLE
- See Also:
- Constant Field Values
TOPIC_NAME_ACCOUNT_MODIFICATIONS
public static final String TOPIC_NAME_ACCOUNT_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_ACTIVITY_FOLLOWUP_MODIFICATIONS
public static final String TOPIC_NAME_ACTIVITY_FOLLOWUP_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_ACTIVITY_MODIFICATIONS
public static final String TOPIC_NAME_ACTIVITY_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_ALERT_MODIFICATIONS
public static final String TOPIC_NAME_ALERT_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_BOOKING_MODIFICATIONS
public static final String TOPIC_NAME_BOOKING_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_COMPETITOR_MODIFICATIONS
public static final String TOPIC_NAME_COMPETITOR_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_COMPOUND_BOOKING_MODIFICATIONS
public static final String TOPIC_NAME_COMPOUND_BOOKING_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_INVOICE_MODIFICATIONS
public static final String TOPIC_NAME_INVOICE_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_LEAD_MODIFICATIONS
public static final String TOPIC_NAME_LEAD_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_OPPORTUNITY_MODIFICATIONS
public static final String TOPIC_NAME_OPPORTUNITY_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_ORGANIZATION_MODIFICATIONS
public static final String TOPIC_NAME_ORGANIZATION_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_PRODUCT_MODIFICATIONS
public static final String TOPIC_NAME_PRODUCT_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_QUOTE_MODIFICATIONS
public static final String TOPIC_NAME_QUOTE_MODIFICATIONS
- See Also:
- Constant Field Values
TOPIC_NAME_SALES_ORDER_MODIFICATIONS
public static final String TOPIC_NAME_SALES_ORDER_MODIFICATIONS
- See Also:
- Constant Field Values
WORKFLOW_NAME_EXPORT_MAIL
public static final String WORKFLOW_NAME_EXPORT_MAIL
- See Also:
- Constant Field Values
WORKFLOW_NAME_PRINT_CONSOLE
public static final String WORKFLOW_NAME_PRINT_CONSOLE
- See Also:
- Constant Field Values
WORKFLOW_NAME_SEND_ALERT
public static final String WORKFLOW_NAME_SEND_ALERT
- See Also:
- Constant Field Values
WORKFLOW_NAME_SEND_MAIL
public static final String WORKFLOW_NAME_SEND_MAIL
- See Also:
- Constant Field Values
WORKFLOW_NAME_SEND_MAIL_NOTIFICATION
public static final String WORKFLOW_NAME_SEND_MAIL_NOTIFICATION
- See Also:
- Constant Field Values
Workflows
public Workflows(Backend backend)
throws ServiceException
- Throws:
ServiceException
getWorkflowSegment
public static Segment getWorkflowSegment(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
findTopic
public static Topic findTopic(String name,
Segment segment,
javax.jdo.PersistenceManager pm)
findWfProcess
public static WfProcess findWfProcess(String name,
Segment segment,
javax.jdo.PersistenceManager pm)
initTopic
public static Topic initTopic(javax.jdo.PersistenceManager pm,
Workflow1Package workflowPackage,
Segment workflowSegment,
String id,
String name,
String description,
String topicPathPattern,
WfProcess[] actions)
initWorkflow
public static WfProcess initWorkflow(javax.jdo.PersistenceManager pm,
Workflow1Package workflowPackage,
Segment workflowSegment,
String id,
String name,
String description,
Boolean isSynchronous,
Property[] properties)
initWorkflows
public static void initWorkflows(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
throws ServiceException
- Throws:
ServiceException
executeWorkflow
public WfProcessInstance executeWorkflow(org.openmdx.base.naming.Path workflowTargetIdentity,
org.openmdx.base.naming.Path wfProcessIdentity,
org.openmdx.base.naming.Path targetObjectIdentity,
String targetObjectXri,
String triggeredByEventId,
Subscription triggeredBySubscription,
Number triggeredByEventType)
throws ServiceException
- Throws:
ServiceException
executeWorkflow
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 executeWorkflow(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 userHome,
org.openmdx.base.naming.Path wfProcessIdentity,
org.openmdx.base.naming.Path targetObjectPath,
String targetObjectXri,
String triggeredByEventId,
org.openmdx.base.naming.Path triggeredBySubscription,
Number triggeredByEventType)
throws ServiceException
- Execute workflow and execute workflow instance identity.
- Returns:
- the updated / created process instance.
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.