修改jpdl加入流程表单和任务表单,表单权限控制,一些构思和草图。

 

 

jpdl3.1未改之前(流程定义--old)


 

  1. <xs:element name="process-definition">
  2.         <xs:complexType>
  3.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  4.                     <xs:element ref="swimlane"/>
  5.                     <xs:group ref="node-elements"/>
  6.                     <xs:group ref="action-elements"/>
  7.                     <xs:element ref="event"/>
  8.                     <xs:element ref="exception-handler"/>
  9.                     <xs:element ref="task"/>
  10.                     <xs:element ref="start-state"/>
  11.                 </xs:choice>
  12.             <xs:attribute name="name" type="xs:string" use="required"/>
  13.         </xs:complexType>
  14.     </xs:element>

jpdl3.1未改之后(流程定义--new)

 

 

  1. <xs:element name="process-definition">
  2.         <xs:complexType>
  3.             <xs:sequence>
  4.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  5.                     <xs:element ref="swimlane"/>
  6.                     <xs:group ref="node-elements"/>
  7.                     <xs:group ref="action-elements"/>
  8.                     <xs:element ref="event"/>
  9.                     <xs:element ref="exception-handler"/>
  10.                     <xs:element ref="task"/>
  11.                     <xs:element ref="start-state"/>
  12.                 </xs:choice>
  13.                 <!--流程表单 ADD BY YUCHEN 2008-12-05 begin -->
  14.                 <xs:choice minOccurs="0" maxOccurs="1">
  15.                     <xs:element ref="form"/>
  16.                 </xs:choice>
  17.                 <!--流程表单 ADD BY YUCHEN 2008-12-05 end -->
  18.             </xs:sequence>
  19.             <xs:attribute name="name" type="xs:string" use="required"/>
  20.         </xs:complexType>
  21.     </xs:element>

jpdl3.1未改之前(任务定义--old)

 

  1.  <xs:element name="task">
  2.         <xs:complexType>
  3.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  4.                 <xs:element ref="assignment"/>
  5.                 <xs:element ref="controller"/>
  6.                 <xs:element ref="event"/>
  7.                 <xs:element ref="timer"/>
  8.             </xs:choice>
  9.             <xs:attribute name="name" type="xs:string"/>
  10.             <xs:attribute name="blocking" type="booleanType" default="false"/>
  11.             <xs:attribute name="signalling" type="booleanType" default="true"/>
  12.             <xs:attribute name="description" type="xs:string"/>
  13.             <xs:attribute name="duedate" type="xs:string"/>
  14.             <xs:attribute name="swimlane" type="xs:string"/>
  15.             <xs:attribute name="priority" type="priorityType" default="normal"/>
  16.         </xs:complexType>
  17.     </xs:element>

 

jpdl3.1未改之后(任务定义--old)

  1.  <xs:element name="task">
  2.         <xs:complexType>
  3.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  4.                 <xs:element ref="assignment"/>
  5.                 <xs:element ref="controller"/>
  6.                 <xs:element ref="event"/>
  7.                 <xs:element ref="timer"/>
  8.                 <!--任务表单 ADD BY YUCHEN 2008-12-05 begin -->
  9.                 <xs:element ref="form"/>
  10.                 <!--任务表单 ADD BY YUCHEN 2008-12-05 end -->
  11.             </xs:choice>
  12.             <xs:attribute name="name" type="xs:string"/>
  13.             <xs:attribute name="blocking" type="booleanType" default="false"/>
  14.             <xs:attribute name="signalling" type="booleanType" default="true"/>
  15.             <xs:attribute name="description" type="xs:string"/>
  16.             <xs:attribute name="duedate" type="xs:string"/>
  17.             <xs:attribute name="swimlane" type="xs:string"/>
  18.             <xs:attribute name="priority" type="priorityType" default="normal"/>
  19.         </xs:complexType>
  20.     </xs:element>

表单元素

 

  1. <!--表单 ADD BY YUCHEN 2008-12-05 begin -->
  2.     <xs:element name="form">
  3.         <xs:complexType>
  4.             <xs:attribute name="id" type="xs:string"/>
  5.             <xs:attribute name="class" type="xs:string"/>
  6.         </xs:complexType>
  7.     </xs:element>
  8.     <!--表单 ADD BY YUCHEN 2008-12-05 end -->

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值