Business One UI Java集成框架:处理原子调用Java类.pdfVIP

  • 0
  • 0
  • 约2.2万字
  • 约 16页
  • 2026-01-28 发布于四川
  • 举报

Business One UI Java集成框架:处理原子调用Java类.pdf

调用Java类

在流程中,您可以使用此原子调用自开发的Java类。

功能原子‘CallJavaClass’的类型为简单调用。因此,无需有前驱转换来准备要发送到Java

调用的数据。如果您希望有一个前驱转换来计算您想要作为传入XML文档传递给Java类的数据,

请在Java调用原子之前添加此转换。

1.参数

场景步骤标识符此字段为只读

并显示您正在为其开发流程的场景步骤的名称。

原子标识符此字段是的

此字段为只读,显示已打开处理原子的名称。名称是唯一的,并在创建原子时由B1if自动生成。名称遵

循‘atomno’的约定,其中no是一个唯一编号。此名称非常重要,因为它是后续原子通过xPath表

达式(例如/vpf:Msg/vpf:Body/vpf:Payload[./@id’atom2’]/*)此原子生成的数据的标识符。

描述

此原子的描述在创建原子时自动生成。您可以根据需要进行修改。首先,它作为注释用于描述要执行的任务。

CallJavaClass

Insidetheprocessflowyoucanusethisatomtocallanowndevelopedjavaclass.

Thefunctionalatom‘CallJavaClass’isoftypeSimpleCall.Thereforethereisnoneedtohavea

predecessortransformationtopreparethedatatobesentinthejavacall.Incaseyouwanta

predecessortransformationtocalculatedatawhichyouwanttohandoverasinboundxml

documenttoyourjavaclass,pleaseaddthistransformationbeforethejavacallatom.

1.Parameter

ScenarioStepIdentifier

Thisfieldisread-onlyandshowsthenameofthescenariostepforwhichyouaredevelopingthe

processflow.

AtomIdentifier

Thisfieldisread-onlyandshowsthenameoftheopenedprocessingatom.Thenameisunique

andisgeneratedautomaticallybyB1ifduringcreationoftheatom.Thenamefollowsthe

convention‘atomno’wherenoisauniquenumber.Thisnameisveryimportantasitisthe

identifierforfollowingatomstoaccessdataproducedbythisatomviathexPathexpressione.g.

/vpf:Msg/vpf:Body/vpf:Payload[./@id=’atom2’]/*.

Description

Thedescriptionforthisatomisgeneratedautomaticallyduringcreationoftheatom.Youcan

modifyittoyourneeds.Fi

文档评论(0)

1亿VIP精品文档

相关文档