uEngine BPM 核心API

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ProcessManagerRometeAPIReference&ProcessManagerInterface–AppendixA//initializeprocessmanager–ProcessStartrelatedAPIs........................................2//processexecution–ProcessExecutionrelatedAPIs..............................................4//processvariable–ProcessVariablerelatedAPIs...................................................5//role–Responsibility/RolerelatedAPIs...................................................................7//messaging,triggering,event,workitemhandling–Message,Trigger,Event,WorkitemrelatedAPIs...............................................................................................9//flowcontrol–ActivityFlowControlrelatedAPI..................................................13//processdefinition–ProcessDefinitionrelatedAPIs............................................14//getProcessDefinitionRemote–ProcessInformationrelatedAPIs.....................18//getProcessDefinition–ProcessInformationCollectionrelatedAPIs................19//ProductionVersion–ProcessVersionrelatedAPIs.............................................21//getResource–FormResourceCollectionrelatedAPIs.......................................23//getProcessInstanceRemote–ProcessOperationInformationrelatedAPIs......24//processInstance–ProcessOperationrelatedAPIs.............................................25//Activity–ActivityrelatedAPIs.............................................................................27//ActivityInstanceProperty–ActivityPropertyrelatedAPIs................................29//importandexport–ProcessDefinitionandDownloadandLoadingrelatedAPIs....................................................................................................................................32//flowchart–FlowchartrelatedAPIs......................................................................34//folder–FolderrelatedAPIs...................................................................................34//dynamicchange–ProcessDefinitionChangeManagementrelatedAPIs.........36//test–TestProcessingrelatedAPIs.......................................................................37//signalingallthechangescanbeapplied–HandlingChangerelatedAPIs.......37//usercanpasssomeparametersintothekernel–HandlinglogininformationrelatedAPIs...............................................................................................................38AppendixA–ProcessManagerRometeAPIReference&ProcessManagerInterfaceForexternalaccess,thesessionbean,org.uengine.processmanager.ProcessManagerBeanissupported.ThefollowingshowsthedefinitionsofProcessManagerinterface.Foroverheadissue,uEnginemakesuseof“StatelessBean”ratherthan“StatefulBean”.Itispossiblethatoverheadforresourcepersistenceisavoidedwiththeuseof“StatelessBean”.Forthepurposeoftheissue,processdefinitionnamesorinstanceIDsshouldbepassedasargumentswheninvokingvariousmethodsifneeded.[Note:DetailedInterfaceinformation,seeAppendixC-ProcessManagerRemoteAPIReference]//initializeprocessmanager–ProcessStartrelatedAPIspublicStringinitialize(StringprocessDefinition,StringinstanceId,RoleMappingloggedRoleMapping)throwsRemoteException;publicStringinitializeProcess(StringprocessDefinition,StringinstanceName)throwsRemoteException;publicStringinitializeProcess(StringprocessDefinition)throwsRemoteException;publicStringinitializeProcessIfRequired(StringprocessDefinition,StringinstanceId)throwsRemoteException;Filenameorg.uengine.processmanager.ProcessManagerRemote.javaMethodnamepublicStringinitialize(StringdefVerId,StringinstanceId,RoleMappingloggedRoleMapping)throwsRemoteException;PurposeMakeprocessManagerinitialzed.ThiscommandconductsthatifinstanceIDisreturnedwithnull,withinitializeProcessfunctionaility,processInstanceiscreated,returnsIDvalue.(sameasinitializeProcessIfRequiredfunction)ParametersdefVerId-definitionversion’sIDvalueinstanceId–instance’sIDvalueloggedRoleMapping–containsrolemappinginformation,RoleMappingobjectReturnValuesInstance’sIDvalueExampleinstanceId=initialize(“100”,instanceId,rolemapping);Filenameorg.uengine.processmanager.ProcessManagerRemote.javaMethodnamepublicStringinitializeProcess(StringdefVerId,StringinstanceName)throwsRemoteException;PurposeCreateaProcessDefinitioninstanceofacorrespondingdefVerIDParametersdefVerId-definitionversion’sIDvalueinstanceName–instance’sname.ReturnValuesInstance’sIDvalueExampleFilenameOrg.uengine.processmanager.ProcessManagerRemoteMethodnamepublicStringinitializeProcess(StringdefVerId)throwsRemoteException;PurposeInitializeprocess.ParametersdefVerId-definitionversion’sIDvalueReturnValuesInstance’sIDvalueExampleFilenameorg.uengine.processmanager.ProcessManagerRemote.javaMethodnamepublicStringinitializeProcessIfRequired(StringdefVerId,StringinstanceId)throwsRemoteException;PurposeIfinstanceIdisnull,returnsinstanceidafterinitializingprocess.(checkinitialize)ParametersdefVerId-definitionversion’sIDvalueinstanceId–instance’sIDvalueReturnValuesInstance’sIDvalueExample//processexecution–ProcessExecutionrelatedAPIspublicvoidexecuteProces

1 / 40
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功