1 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 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 args = new java.util.ArrayList (); 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 startAt 42 , org.openmdx.base.cci.BasicObject targetObject 43 , String targetObjectXri 44 , String triggeredByEventId 45 , Integer 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 } 66 | Popular Tags |