KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > base > cci > WorkflowTargetImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.base.cci;
14
15 public class WorkflowTargetImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements WorkflowTarget {
18
19   public WorkflowTargetImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplOperation
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.base.cci.ExecuteWorkflowResult executeWorkflow(
30       org.opencrx.kernel.base.cci.ExecuteWorkflowParams params
31   ) throws javax.jmi.reflect.RefException {
32     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
33     args.add(params);
34     return (org.opencrx.kernel.base.cci.ExecuteWorkflowResult)refInvokeOperation(
35       "org:opencrx:kernel:base:WorkflowTarget:executeWorkflow",
36       args
37     );
38   }
39
40   public org.opencrx.kernel.base.cci.ExecuteWorkflowResult executeWorkflow(
41       java.util.Date JavaDoc startAt
42     , org.openmdx.base.cci.BasicObject targetObject
43     , String JavaDoc targetObjectXri
44     , String JavaDoc triggeredByEventId
45     , Integer JavaDoc triggeredByEventType
46     , org.opencrx.kernel.base.cci.Subscription triggeredBySubscription
47     , org.opencrx.kernel.base.cci.WfProcess workflow
48   ) throws javax.jmi.reflect.RefException {
49     return executeWorkflow(
50       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createExecuteWorkflowParams(
51         startAt
52     , targetObject
53     , targetObjectXri
54     , triggeredByEventId
55     , triggeredByEventType
56     , triggeredBySubscription
57     , workflow
58       )
59     );
60   }
61
62 // ----------------------------------------------------------------------------
63
// Instance/ImplEnd
64
// ----------------------------------------------------------------------------
65
}
66
Popular Tags