diff options
Diffstat (limited to 'resources/boot')
42 files changed, 2340 insertions, 0 deletions
diff --git a/resources/boot/CA/CompositeActivityFactory.xml b/resources/boot/CA/CompositeActivityFactory.xml new file mode 100755 index 0000000..1a963cb --- /dev/null +++ b/resources/boot/CA/CompositeActivityFactory.xml @@ -0,0 +1,108 @@ +<CompositeActivityDef ID="-1" Name="CompositeActivityFactory" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="5" NextId="14">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="325"/>
+ <OutlinePoint x="291" y="313"/>
+ <OutlinePoint x="351" y="313"/>
+ <OutlinePoint x="351" y="337"/>
+ <OutlinePoint x="291" y="337"/>
+ <InEdgeId>9</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="92"/>
+ <OutlinePoint x="291" y="80"/>
+ <OutlinePoint x="351" y="80"/>
+ <OutlinePoint x="351" y="104"/>
+ <OutlinePoint x="291" y="104"/>
+ <InEdgeId>7</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="321" y="211"/>
+ <OutlinePoint x="291" y="199"/>
+ <OutlinePoint x="351" y="199"/>
+ <OutlinePoint x="351" y="223"/>
+ <OutlinePoint x="291" y="223"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>9</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="133" y="215"/>
+ <OutlinePoint x="68" y="185"/>
+ <OutlinePoint x="198" y="185"/>
+ <OutlinePoint x="198" y="245"/>
+ <OutlinePoint x="68" y="245"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewCompositeActivityDef"/>
+ <KeyValuePair Key="NewType" String="CA"/>
+ </Properties>
+ <activityDef>CreateNewLocalObjectDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="13" OriginVertexId="10" TerminusVertexId="3">
+ <OriginPoint x="133" y="215"/>
+ <TerminusPoint x="321" y="211"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="10">
+ <OriginPoint x="321" y="92"/>
+ <TerminusPoint x="133" y="215"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="9" OriginVertexId="3" TerminusVertexId="6">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="325"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="5">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="92"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewLocalObjectDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ElementaryActivityFactory.xml b/resources/boot/CA/ElementaryActivityFactory.xml new file mode 100755 index 0000000..bf14607 --- /dev/null +++ b/resources/boot/CA/ElementaryActivityFactory.xml @@ -0,0 +1,108 @@ +<CompositeActivityDef ID="-1" Name="ElementaryActivityFactory" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="5" NextId="14">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="325"/>
+ <OutlinePoint x="291" y="313"/>
+ <OutlinePoint x="351" y="313"/>
+ <OutlinePoint x="351" y="337"/>
+ <OutlinePoint x="291" y="337"/>
+ <InEdgeId>9</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="92"/>
+ <OutlinePoint x="291" y="80"/>
+ <OutlinePoint x="351" y="80"/>
+ <OutlinePoint x="351" y="104"/>
+ <OutlinePoint x="291" y="104"/>
+ <InEdgeId>7</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="321" y="211"/>
+ <OutlinePoint x="291" y="199"/>
+ <OutlinePoint x="351" y="199"/>
+ <OutlinePoint x="351" y="223"/>
+ <OutlinePoint x="291" y="223"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>9</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="133" y="215"/>
+ <OutlinePoint x="68" y="185"/>
+ <OutlinePoint x="198" y="185"/>
+ <OutlinePoint x="198" y="245"/>
+ <OutlinePoint x="68" y="245"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewElementaryActivityDef"/>
+ <KeyValuePair Key="NewType" String="EA"/>
+ </Properties>
+ <activityDef>CreateNewLocalObjectDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="13" OriginVertexId="10" TerminusVertexId="3">
+ <OriginPoint x="133" y="215"/>
+ <TerminusPoint x="321" y="211"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="10">
+ <OriginPoint x="321" y="92"/>
+ <TerminusPoint x="133" y="215"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="9" OriginVertexId="3" TerminusVertexId="6">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="325"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="5">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="92"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewLocalObjectDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ManageCompositeActDef.xml b/resources/boot/CA/ManageCompositeActDef.xml new file mode 100755 index 0000000..9a48f1c --- /dev/null +++ b/resources/boot/CA/ManageCompositeActDef.xml @@ -0,0 +1,219 @@ +<CompositeActivityDef ID="-1" Name="ManageCompositeActDef" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="13" NextId="26">
+ <LoopDef ID="15" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="358" y="360"/>
+ <OutlinePoint x="328" y="348"/>
+ <OutlinePoint x="388" y="348"/>
+ <OutlinePoint x="388" y="372"/>
+ <OutlinePoint x="328" y="372"/>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>20</OutEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="14" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="357" y="132"/>
+ <OutlinePoint x="327" y="120"/>
+ <OutlinePoint x="387" y="120"/>
+ <OutlinePoint x="387" y="144"/>
+ <OutlinePoint x="327" y="144"/>
+ <InEdgeId>17</InEdgeId>
+ <InEdgeId>20</InEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="13" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="274" y="39"/>
+ <OutlinePoint x="244" y="27"/>
+ <OutlinePoint x="304" y="27"/>
+ <OutlinePoint x="304" y="51"/>
+ <OutlinePoint x="244" y="51"/>
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>17</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <JoinDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="265" y="473"/>
+ <OutlinePoint x="235" y="461"/>
+ <OutlinePoint x="295" y="461"/>
+ <OutlinePoint x="295" y="485"/>
+ <OutlinePoint x="235" y="485"/>
+ <InEdgeId>8</InEdgeId>
+ <InEdgeId>21</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="177" y="359"/>
+ <OutlinePoint x="147" y="347"/>
+ <OutlinePoint x="207" y="347"/>
+ <OutlinePoint x="207" y="371"/>
+ <OutlinePoint x="147" y="371"/>
+ <InEdgeId>25</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>8</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="11" Name="AssignNewVersionFromLast_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="270" y="251"/>
+ <OutlinePoint x="205" y="221"/>
+ <OutlinePoint x="335" y="221"/>
+ <OutlinePoint x="335" y="281"/>
+ <OutlinePoint x="205" y="281"/>
+ <InEdgeId>18</InEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="ViewName" String="CompositeActivityDef"/>
+ <KeyValuePair Key="Name" String="AssignNewActivityVersionFromLast"/>
+ </Properties>
+ <activityDef>AssignNewVersionFromLast</activityDef>
+ </ActivitySlotDef>
+ <JoinDef ID="2" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="175" y="131"/>
+ <OutlinePoint x="145" y="119"/>
+ <OutlinePoint x="205" y="119"/>
+ <OutlinePoint x="205" y="143"/>
+ <OutlinePoint x="145" y="143"/>
+ <InEdgeId>7</InEdgeId>
+ <InEdgeId>16</InEdgeId>
+ <OutEdgeId>24</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="22" Name="EditDefinition" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="76" y="251"/>
+ <OutlinePoint x="11" y="221"/>
+ <OutlinePoint x="141" y="221"/>
+ <OutlinePoint x="141" y="281"/>
+ <OutlinePoint x="11" y="281"/>
+ <InEdgeId>24</InEdgeId>
+ <OutEdgeId>25</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="EditDefinition"/>
+ <KeyValuePair Key="SchemaType" String="CompositeActivityDef"/>
+ </Properties>
+ <activityDef>EditActivityDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="25" OriginVertexId="22" TerminusVertexId="3">
+ <OriginPoint x="76" y="251"/>
+ <TerminusPoint x="177" y="359"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="24" OriginVertexId="2" TerminusVertexId="22">
+ <OriginPoint x="175" y="131"/>
+ <TerminusPoint x="76" y="251"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="19" OriginVertexId="11" TerminusVertexId="15">
+ <OriginPoint x="270" y="251"/>
+ <TerminusPoint x="358" y="360"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="21" OriginVertexId="15" TerminusVertexId="4">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="14" TerminusVertexId="11">
+ <OriginPoint x="357" y="132"/>
+ <TerminusPoint x="270" y="251"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="20" OriginVertexId="15" TerminusVertexId="14">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="8" OriginVertexId="3" TerminusVertexId="4">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="13" TerminusVertexId="14">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="13" TerminusVertexId="2">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="2">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>AssignNewVersionFromLast</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>EditActivityDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ManageElementaryActDef.xml b/resources/boot/CA/ManageElementaryActDef.xml new file mode 100755 index 0000000..1aa3840 --- /dev/null +++ b/resources/boot/CA/ManageElementaryActDef.xml @@ -0,0 +1,219 @@ +<CompositeActivityDef ID="-1" Name="ManageElementaryActDef" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="13" NextId="26">
+ <LoopDef ID="15" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="358" y="360"/>
+ <OutlinePoint x="328" y="348"/>
+ <OutlinePoint x="388" y="348"/>
+ <OutlinePoint x="388" y="372"/>
+ <OutlinePoint x="328" y="372"/>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>20</OutEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="14" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="357" y="132"/>
+ <OutlinePoint x="327" y="120"/>
+ <OutlinePoint x="387" y="120"/>
+ <OutlinePoint x="387" y="144"/>
+ <OutlinePoint x="327" y="144"/>
+ <InEdgeId>17</InEdgeId>
+ <InEdgeId>20</InEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="265" y="473"/>
+ <OutlinePoint x="235" y="461"/>
+ <OutlinePoint x="295" y="461"/>
+ <OutlinePoint x="295" y="485"/>
+ <OutlinePoint x="235" y="485"/>
+ <InEdgeId>8</InEdgeId>
+ <InEdgeId>21</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="13" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="274" y="39"/>
+ <OutlinePoint x="244" y="27"/>
+ <OutlinePoint x="304" y="27"/>
+ <OutlinePoint x="304" y="51"/>
+ <OutlinePoint x="244" y="51"/>
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>17</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="177" y="359"/>
+ <OutlinePoint x="147" y="347"/>
+ <OutlinePoint x="207" y="347"/>
+ <OutlinePoint x="207" y="371"/>
+ <OutlinePoint x="147" y="371"/>
+ <InEdgeId>25</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>8</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="2" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="175" y="131"/>
+ <OutlinePoint x="145" y="119"/>
+ <OutlinePoint x="205" y="119"/>
+ <OutlinePoint x="205" y="143"/>
+ <OutlinePoint x="145" y="143"/>
+ <InEdgeId>7</InEdgeId>
+ <InEdgeId>16</InEdgeId>
+ <OutEdgeId>24</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="11" Name="AssignNewVersionFromLast_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="270" y="251"/>
+ <OutlinePoint x="205" y="221"/>
+ <OutlinePoint x="335" y="221"/>
+ <OutlinePoint x="335" y="281"/>
+ <OutlinePoint x="205" y="281"/>
+ <InEdgeId>18</InEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="ViewName" String="ElementaryActivityDef"/>
+ <KeyValuePair Key="Name" String="AssignNewSchemaVersionFromLast"/>
+ </Properties>
+ <activityDef>AssignNewVersionFromLast</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="22" Name="EditDefinition" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="76" y="251"/>
+ <OutlinePoint x="11" y="221"/>
+ <OutlinePoint x="141" y="221"/>
+ <OutlinePoint x="141" y="281"/>
+ <OutlinePoint x="11" y="281"/>
+ <InEdgeId>24</InEdgeId>
+ <OutEdgeId>25</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="EditDefinition"/>
+ <KeyValuePair Key="SchemaType" String="ElementaryActivityDef"/>
+ </Properties>
+ <activityDef>EditActivityDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="25" OriginVertexId="22" TerminusVertexId="3">
+ <OriginPoint x="76" y="251"/>
+ <TerminusPoint x="177" y="359"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="24" OriginVertexId="2" TerminusVertexId="22">
+ <OriginPoint x="175" y="131"/>
+ <TerminusPoint x="76" y="251"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="19" OriginVertexId="11" TerminusVertexId="15">
+ <OriginPoint x="270" y="251"/>
+ <TerminusPoint x="358" y="360"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="21" OriginVertexId="15" TerminusVertexId="4">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="14" TerminusVertexId="11">
+ <OriginPoint x="357" y="132"/>
+ <TerminusPoint x="270" y="251"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="20" OriginVertexId="15" TerminusVertexId="14">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="8" OriginVertexId="3" TerminusVertexId="4">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="13" TerminusVertexId="14">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="2">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="13" TerminusVertexId="2">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>AssignNewVersionFromLast</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>EditActivityDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ManageSchema.xml b/resources/boot/CA/ManageSchema.xml new file mode 100755 index 0000000..da501e4 --- /dev/null +++ b/resources/boot/CA/ManageSchema.xml @@ -0,0 +1,218 @@ +<CompositeActivityDef ID="-1" Name="ManageSchema" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="13" NextId="22">
+ <LoopDef ID="15" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="358" y="360"/>
+ <OutlinePoint x="328" y="348"/>
+ <OutlinePoint x="388" y="348"/>
+ <OutlinePoint x="388" y="372"/>
+ <OutlinePoint x="328" y="372"/>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>20</OutEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="14" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="357" y="132"/>
+ <OutlinePoint x="327" y="120"/>
+ <OutlinePoint x="387" y="120"/>
+ <OutlinePoint x="387" y="144"/>
+ <OutlinePoint x="327" y="144"/>
+ <InEdgeId>17</InEdgeId>
+ <InEdgeId>20</InEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="13" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="274" y="39"/>
+ <OutlinePoint x="244" y="27"/>
+ <OutlinePoint x="304" y="27"/>
+ <OutlinePoint x="304" y="51"/>
+ <OutlinePoint x="244" y="51"/>
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>17</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <JoinDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="265" y="473"/>
+ <OutlinePoint x="235" y="461"/>
+ <OutlinePoint x="295" y="461"/>
+ <OutlinePoint x="295" y="485"/>
+ <OutlinePoint x="235" y="485"/>
+ <InEdgeId>8</InEdgeId>
+ <InEdgeId>21</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="177" y="359"/>
+ <OutlinePoint x="147" y="347"/>
+ <OutlinePoint x="207" y="347"/>
+ <OutlinePoint x="207" y="371"/>
+ <OutlinePoint x="147" y="371"/>
+ <InEdgeId>6</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>8</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="11" Name="AssignNewVersionFromLast_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="270" y="251"/>
+ <OutlinePoint x="205" y="221"/>
+ <OutlinePoint x="335" y="221"/>
+ <OutlinePoint x="335" y="281"/>
+ <OutlinePoint x="205" y="281"/>
+ <InEdgeId>18</InEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="ViewName" String="Schema"/>
+ <KeyValuePair Key="Name" String="AssignNewSchemaVersionFromLast"/>
+ </Properties>
+ <activityDef>AssignNewVersionFromLast</activityDef>
+ </ActivitySlotDef>
+ <JoinDef ID="2" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="175" y="131"/>
+ <OutlinePoint x="145" y="119"/>
+ <OutlinePoint x="205" y="119"/>
+ <OutlinePoint x="205" y="143"/>
+ <OutlinePoint x="145" y="143"/>
+ <InEdgeId>7</InEdgeId>
+ <InEdgeId>16</InEdgeId>
+ <OutEdgeId>5</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="0" Name="EditDefinition" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="93" y="252"/>
+ <OutlinePoint x="28" y="222"/>
+ <OutlinePoint x="158" y="222"/>
+ <OutlinePoint x="158" y="282"/>
+ <OutlinePoint x="28" y="282"/>
+ <InEdgeId>5</InEdgeId>
+ <OutEdgeId>6</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="EditDefinition"/>
+ </Properties>
+ <activityDef>EditSchema</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="21" OriginVertexId="15" TerminusVertexId="4">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="19" OriginVertexId="11" TerminusVertexId="15">
+ <OriginPoint x="270" y="251"/>
+ <TerminusPoint x="358" y="360"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="20" OriginVertexId="15" TerminusVertexId="14">
+ <OriginPoint x="358" y="360"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="14" TerminusVertexId="11">
+ <OriginPoint x="357" y="132"/>
+ <TerminusPoint x="270" y="251"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="8" OriginVertexId="3" TerminusVertexId="4">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="265" y="473"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="13" TerminusVertexId="14">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="357" y="132"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="2">
+ <OriginPoint x="177" y="359"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="13" TerminusVertexId="2">
+ <OriginPoint x="274" y="39"/>
+ <TerminusPoint x="175" y="131"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="6" OriginVertexId="0" TerminusVertexId="3">
+ <OriginPoint x="93" y="252"/>
+ <TerminusPoint x="177" y="359"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="5" OriginVertexId="2" TerminusVertexId="0">
+ <OriginPoint x="175" y="131"/>
+ <TerminusPoint x="93" y="252"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>AssignNewVersionFromLast</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>EditSchema</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ManageScript.xml b/resources/boot/CA/ManageScript.xml new file mode 100755 index 0000000..f8100b0 --- /dev/null +++ b/resources/boot/CA/ManageScript.xml @@ -0,0 +1,219 @@ +<CompositeActivityDef ID="-1" Name="ManageScript" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="11" NextId="27">
+ <LoopDef ID="15" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="425" y="291"/>
+ <OutlinePoint x="395" y="279"/>
+ <OutlinePoint x="455" y="279"/>
+ <OutlinePoint x="455" y="303"/>
+ <OutlinePoint x="395" y="303"/>
+ <InEdgeId>24</InEdgeId>
+ <OutEdgeId>25</OutEdgeId>
+ <OutEdgeId>26</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <LoopDef ID="14" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="184" y="289"/>
+ <OutlinePoint x="154" y="277"/>
+ <OutlinePoint x="214" y="277"/>
+ <OutlinePoint x="214" y="301"/>
+ <OutlinePoint x="154" y="301"/>
+ <InEdgeId>21</InEdgeId>
+ <OutEdgeId>22</OutEdgeId>
+ <OutEdgeId>23</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="13" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="425" y="80"/>
+ <OutlinePoint x="395" y="68"/>
+ <OutlinePoint x="455" y="68"/>
+ <OutlinePoint x="455" y="92"/>
+ <OutlinePoint x="395" y="92"/>
+ <InEdgeId>18</InEdgeId>
+ <InEdgeId>25</InEdgeId>
+ <OutEdgeId>20</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="12" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="184" y="80"/>
+ <OutlinePoint x="154" y="68"/>
+ <OutlinePoint x="214" y="68"/>
+ <OutlinePoint x="214" y="92"/>
+ <OutlinePoint x="154" y="92"/>
+ <InEdgeId>17</InEdgeId>
+ <InEdgeId>23</InEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="11" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="305" y="26"/>
+ <OutlinePoint x="275" y="14"/>
+ <OutlinePoint x="335" y="14"/>
+ <OutlinePoint x="335" y="38"/>
+ <OutlinePoint x="275" y="38"/>
+ <OutEdgeId>17</OutEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <ActivitySlotDef ID="0" Name="EditDefinition" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="115" y="182"/>
+ <OutlinePoint x="50" y="152"/>
+ <OutlinePoint x="180" y="152"/>
+ <OutlinePoint x="180" y="212"/>
+ <OutlinePoint x="50" y="212"/>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="EditDefinition"/>
+ </Properties>
+ <activityDef>EditScriptDefinition</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="9" Name="AssignNewVersionFromLast_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="344" y="184"/>
+ <OutlinePoint x="279" y="154"/>
+ <OutlinePoint x="409" y="154"/>
+ <OutlinePoint x="409" y="214"/>
+ <OutlinePoint x="279" y="214"/>
+ <InEdgeId>20</InEdgeId>
+ <OutEdgeId>24</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="ViewName" String="Script"/>
+ <KeyValuePair Key="Name" String="AssignNewVersionFromLast"/>
+ </Properties>
+ <activityDef>AssignNewVersionFromLast</activityDef>
+ </ActivitySlotDef>
+ <JoinDef ID="16" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="293" y="399"/>
+ <OutlinePoint x="263" y="387"/>
+ <OutlinePoint x="323" y="387"/>
+ <OutlinePoint x="323" y="411"/>
+ <OutlinePoint x="263" y="411"/>
+ <InEdgeId>22</InEdgeId>
+ <InEdgeId>26</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <NextDef ID="26" OriginVertexId="15" TerminusVertexId="16">
+ <OriginPoint x="425" y="291"/>
+ <TerminusPoint x="293" y="399"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="25" OriginVertexId="15" TerminusVertexId="13">
+ <OriginPoint x="425" y="291"/>
+ <TerminusPoint x="425" y="80"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="24" OriginVertexId="9" TerminusVertexId="15">
+ <OriginPoint x="344" y="184"/>
+ <TerminusPoint x="425" y="291"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="23" OriginVertexId="14" TerminusVertexId="12">
+ <OriginPoint x="184" y="289"/>
+ <TerminusPoint x="184" y="80"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="22" OriginVertexId="14" TerminusVertexId="16">
+ <OriginPoint x="184" y="289"/>
+ <TerminusPoint x="293" y="399"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="19" OriginVertexId="12" TerminusVertexId="0">
+ <OriginPoint x="184" y="80"/>
+ <TerminusPoint x="115" y="182"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="21" OriginVertexId="0" TerminusVertexId="14">
+ <OriginPoint x="115" y="182"/>
+ <TerminusPoint x="184" y="289"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="20" OriginVertexId="13" TerminusVertexId="9">
+ <OriginPoint x="425" y="80"/>
+ <TerminusPoint x="344" y="184"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="11" TerminusVertexId="13">
+ <OriginPoint x="305" y="26"/>
+ <TerminusPoint x="425" y="80"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="11" TerminusVertexId="12">
+ <OriginPoint x="305" y="26"/>
+ <TerminusPoint x="184" y="80"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ </Properties>
+ <castorNonLayoutableChildren>EditScriptDefinition</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>AssignNewVersionFromLast</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/NoWorkflow.xml b/resources/boot/CA/NoWorkflow.xml new file mode 100755 index 0000000..c0e2d6f --- /dev/null +++ b/resources/boot/CA/NoWorkflow.xml @@ -0,0 +1,22 @@ +<CompositeActivityDef ID="-1" Name="NoWorkflow" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="-1" NextId="0"/>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ </Properties>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/SchemaFactory.xml b/resources/boot/CA/SchemaFactory.xml new file mode 100755 index 0000000..aa903db --- /dev/null +++ b/resources/boot/CA/SchemaFactory.xml @@ -0,0 +1,108 @@ +<CompositeActivityDef ID="-1" Name="SchemaFactory" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="5" NextId="14">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="325"/>
+ <OutlinePoint x="291" y="313"/>
+ <OutlinePoint x="351" y="313"/>
+ <OutlinePoint x="351" y="337"/>
+ <OutlinePoint x="291" y="337"/>
+ <InEdgeId>9</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="92"/>
+ <OutlinePoint x="291" y="80"/>
+ <OutlinePoint x="351" y="80"/>
+ <OutlinePoint x="351" y="104"/>
+ <OutlinePoint x="291" y="104"/>
+ <InEdgeId>7</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="321" y="211"/>
+ <OutlinePoint x="291" y="199"/>
+ <OutlinePoint x="351" y="199"/>
+ <OutlinePoint x="351" y="223"/>
+ <OutlinePoint x="291" y="223"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>9</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="133" y="215"/>
+ <OutlinePoint x="68" y="185"/>
+ <OutlinePoint x="198" y="185"/>
+ <OutlinePoint x="198" y="245"/>
+ <OutlinePoint x="68" y="245"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewSchema"/>
+ <KeyValuePair Key="NewType" String="OD"/>
+ </Properties>
+ <activityDef>CreateNewLocalObjectDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="13" OriginVertexId="10" TerminusVertexId="3">
+ <OriginPoint x="133" y="215"/>
+ <TerminusPoint x="321" y="211"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="10">
+ <OriginPoint x="321" y="92"/>
+ <TerminusPoint x="133" y="215"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="9" OriginVertexId="3" TerminusVertexId="6">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="325"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="5">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="92"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewLocalObjectDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ScriptFactory.xml b/resources/boot/CA/ScriptFactory.xml new file mode 100755 index 0000000..dac5ba7 --- /dev/null +++ b/resources/boot/CA/ScriptFactory.xml @@ -0,0 +1,108 @@ +<CompositeActivityDef ID="-1" Name="ScriptFactory" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="5" NextId="14">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="325"/>
+ <OutlinePoint x="291" y="313"/>
+ <OutlinePoint x="351" y="313"/>
+ <OutlinePoint x="351" y="337"/>
+ <OutlinePoint x="291" y="337"/>
+ <InEdgeId>9</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="321" y="92"/>
+ <OutlinePoint x="291" y="80"/>
+ <OutlinePoint x="351" y="80"/>
+ <OutlinePoint x="351" y="104"/>
+ <OutlinePoint x="291" y="104"/>
+ <InEdgeId>7</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="321" y="211"/>
+ <OutlinePoint x="291" y="199"/>
+ <OutlinePoint x="351" y="199"/>
+ <OutlinePoint x="351" y="223"/>
+ <OutlinePoint x="291" y="223"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>9</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="133" y="215"/>
+ <OutlinePoint x="68" y="185"/>
+ <OutlinePoint x="198" y="185"/>
+ <OutlinePoint x="198" y="245"/>
+ <OutlinePoint x="68" y="245"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewScript"/>
+ <KeyValuePair Key="NewType" String="SC"/>
+ </Properties>
+ <activityDef>CreateNewLocalObjectDef</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="13" OriginVertexId="10" TerminusVertexId="3">
+ <OriginPoint x="133" y="215"/>
+ <TerminusPoint x="321" y="211"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="10">
+ <OriginPoint x="321" y="92"/>
+ <TerminusPoint x="133" y="215"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="9" OriginVertexId="3" TerminusVertexId="6">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="325"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="5">
+ <OriginPoint x="321" y="211"/>
+ <TerminusPoint x="321" y="92"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewLocalObjectDef</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/CA/ServerItemWorkflow.xml b/resources/boot/CA/ServerItemWorkflow.xml new file mode 100755 index 0000000..e480b07 --- /dev/null +++ b/resources/boot/CA/ServerItemWorkflow.xml @@ -0,0 +1,217 @@ +<CompositeActivityDef ID="-1" Name="ServerItemWorkflow" Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="4" NextId="21">
+ <JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="244" y="378"/>
+ <OutlinePoint x="214" y="366"/>
+ <OutlinePoint x="274" y="366"/>
+ <OutlinePoint x="274" y="390"/>
+ <OutlinePoint x="214" y="390"/>
+ <InEdgeId>16</InEdgeId>
+ <InEdgeId>17</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="8" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="448" y="271"/>
+ <OutlinePoint x="418" y="259"/>
+ <OutlinePoint x="478" y="259"/>
+ <OutlinePoint x="478" y="283"/>
+ <OutlinePoint x="418" y="283"/>
+ <InEdgeId>15</InEdgeId>
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <LoopDef ID="7" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0">
+ <CentrePoint x="36" y="284"/>
+ <OutlinePoint x="6" y="272"/>
+ <OutlinePoint x="66" y="272"/>
+ <OutlinePoint x="66" y="296"/>
+ <OutlinePoint x="6" y="296"/>
+ <InEdgeId>14</InEdgeId>
+ <OutEdgeId>17</OutEdgeId>
+ <OutEdgeId>18</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2"/>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="431" y="73"/>
+ <OutlinePoint x="401" y="61"/>
+ <OutlinePoint x="461" y="61"/>
+ <OutlinePoint x="461" y="85"/>
+ <OutlinePoint x="401" y="85"/>
+ <InEdgeId>11</InEdgeId>
+ <InEdgeId>19</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="51" y="78"/>
+ <OutlinePoint x="21" y="66"/>
+ <OutlinePoint x="81" y="66"/>
+ <OutlinePoint x="81" y="90"/>
+ <OutlinePoint x="21" y="90"/>
+ <InEdgeId>10</InEdgeId>
+ <InEdgeId>18</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join"/>
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="239" y="23"/>
+ <OutlinePoint x="209" y="11"/>
+ <OutlinePoint x="269" y="11"/>
+ <OutlinePoint x="269" y="35"/>
+ <OutlinePoint x="209" y="35"/>
+ <OutEdgeId>10</OutEdgeId>
+ <OutEdgeId>11</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptVersion" String=""/>
+ <KeyValuePair Key="RoutingScriptName" String=""/>
+ </Properties>
+ </AndSplitDef>
+ <ActivitySlotDef ID="2" Name="CreateNewAgent_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="339" y="189"/>
+ <OutlinePoint x="274" y="159"/>
+ <OutlinePoint x="404" y="159"/>
+ <OutlinePoint x="404" y="219"/>
+ <OutlinePoint x="274" y="219"/>
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>15</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewAgent"/>
+ </Properties>
+ <activityDef>CreateNewAgent</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="0" Name="CreateNewItem_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="165" y="190"/>
+ <OutlinePoint x="100" y="160"/>
+ <OutlinePoint x="230" y="160"/>
+ <OutlinePoint x="230" y="220"/>
+ <OutlinePoint x="100" y="220"/>
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>14</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Prefill" Boolean="false"/>
+ <KeyValuePair Key="Prefill Version" String="-1"/>
+ <KeyValuePair Key="Name" String="CreateNewItem"/>
+ </Properties>
+ <activityDef>CreateNewItem</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="19" OriginVertexId="8" TerminusVertexId="6">
+ <OriginPoint x="448" y="271"/>
+ <TerminusPoint x="431" y="73"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="18" OriginVertexId="7" TerminusVertexId="5">
+ <OriginPoint x="36" y="284"/>
+ <TerminusPoint x="51" y="78"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="true"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="17" OriginVertexId="7" TerminusVertexId="9">
+ <OriginPoint x="36" y="284"/>
+ <TerminusPoint x="244" y="378"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="8" TerminusVertexId="9">
+ <OriginPoint x="448" y="271"/>
+ <TerminusPoint x="244" y="378"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ <KeyValuePair Key="Alias" String="false"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="15" OriginVertexId="2" TerminusVertexId="8">
+ <OriginPoint x="339" y="189"/>
+ <TerminusPoint x="448" y="271"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="14" OriginVertexId="0" TerminusVertexId="7">
+ <OriginPoint x="165" y="190"/>
+ <TerminusPoint x="36" y="284"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="13" OriginVertexId="6" TerminusVertexId="2">
+ <OriginPoint x="431" y="73"/>
+ <TerminusPoint x="339" y="189"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="0">
+ <OriginPoint x="51" y="78"/>
+ <TerminusPoint x="165" y="190"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="11" OriginVertexId="4" TerminusVertexId="6">
+ <OriginPoint x="239" y="23"/>
+ <TerminusPoint x="431" y="73"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ <NextDef ID="10" OriginVertexId="4" TerminusVertexId="5">
+ <OriginPoint x="239" y="23"/>
+ <TerminusPoint x="51" y="78"/>
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight"/>
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Expected Time" Integer="0"/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Has Timeout" Boolean="false"/>
+ <KeyValuePair Key="Time Out Action" Integer="2"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Expected Time Unit" Integer="3"/>
+ <KeyValuePair Key="Maximum Time" Integer="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Maximum Time Unit" Integer="3"/>
+ <KeyValuePair Key="Description" String=""/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String=""/>
+ <KeyValuePair Key="Timeout Activated" Boolean="false"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+ <castorNonLayoutableChildren>CreateNewAgent</castorNonLayoutableChildren>
+ <castorNonLayoutableChildren>CreateNewItem</castorNonLayoutableChildren>
+</CompositeActivityDef>
diff --git a/resources/boot/EA/AssignNewVersionFromLast.xml b/resources/boot/EA/AssignNewVersionFromLast.xml new file mode 100755 index 0000000..1ef30b5 --- /dev/null +++ b/resources/boot/EA/AssignNewVersionFromLast.xml @@ -0,0 +1,20 @@ +<ActivityDef ID="10" Name="AssignNewVersionFromLast" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Creates a new numbered viewpoint as a clone of the last for use in workflows. You can change the referenced version in the Data Viewer."/>
+ <KeyValuePair Key="SchemaVersion" String=""/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String="CreateNewNumberedVersionFromLast"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="ViewName" String=""/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/CreateNewAgent.xml b/resources/boot/EA/CreateNewAgent.xml new file mode 100755 index 0000000..49f1f32 --- /dev/null +++ b/resources/boot/EA/CreateNewAgent.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="3" Name="CreateNewAgent" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Allows you to create a new Agent"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="NewAgent"/>
+ <KeyValuePair Key="ScriptName" String="ServerNewEntity"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/CreateNewItem.xml b/resources/boot/EA/CreateNewItem.xml new file mode 100755 index 0000000..8daaf74 --- /dev/null +++ b/resources/boot/EA/CreateNewItem.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="1" Name="CreateNewItem" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Allows you to create a new item without a description"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="NewItem"/>
+ <KeyValuePair Key="ScriptName" String="ServerNewEntity"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/CreateNewLocalObjectDef.xml b/resources/boot/EA/CreateNewLocalObjectDef.xml new file mode 100755 index 0000000..e4a9426 --- /dev/null +++ b/resources/boot/EA/CreateNewLocalObjectDef.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="11" Name="CreateNewLocalObjectDef" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="CreateNewLocalObjectDef"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String=""/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="NewLocalObjectDef"/>
+ <KeyValuePair Key="ScriptName" String="LocalObjectDefCreator"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String="0"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/EditActivityDef.xml b/resources/boot/EA/EditActivityDef.xml new file mode 100755 index 0000000..e90c225 --- /dev/null +++ b/resources/boot/EA/EditActivityDef.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="23" Name="EditActivityDef" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Edit this Activity Definition"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String="last"/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/EditProperties.xml b/resources/boot/EA/EditProperties.xml new file mode 100755 index 0000000..15d51b8 --- /dev/null +++ b/resources/boot/EA/EditProperties.xml @@ -0,0 +1,20 @@ +<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Andrew Branson (CERN) -->
+<ActivityDef ID="251" Name="EditProperties" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="SchemaType" String="PropertyDescription"/>
+ <KeyValuePair Key="Description" String="Define the properties for instances of this description"/>
+ <KeyValuePair Key="ItemSystemKey" String=""/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="Agent Role" String="Coor"/>
+ <KeyValuePair Key="Name" String="EditProperties"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Viewpoint" String="last"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/EditSchema.xml b/resources/boot/EA/EditSchema.xml new file mode 100755 index 0000000..3b01fdc --- /dev/null +++ b/resources/boot/EA/EditSchema.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="1" Name="EditSchema" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Edit this XML Schema"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Viewpoint" String="last"/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="SchemaType" String="Schema"/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/EA/EditScriptDefinition.xml b/resources/boot/EA/EditScriptDefinition.xml new file mode 100755 index 0000000..11c14ec --- /dev/null +++ b/resources/boot/EA/EditScriptDefinition.xml @@ -0,0 +1,19 @@ +<ActivityDef ID="1" Name="EditScriptDefinition" Height="0" Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Repeatable" Boolean="false"/>
+ <KeyValuePair Key="Agent Name" String=""/>
+ <KeyValuePair Key="Autostart" Boolean="true"/>
+ <KeyValuePair Key="Mail Message" String=""/>
+ <KeyValuePair Key="Mail event" String=""/>
+ <KeyValuePair Key="Description" String="Edit this script definition"/>
+ <KeyValuePair Key="SchemaVersion" String="0"/>
+ <KeyValuePair Key="Show time" Boolean="true"/>
+ <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="Viewpoint" String="last"/>
+ <KeyValuePair Key="SchemaType" String="Script"/>
+ <KeyValuePair Key="Ignorable" Boolean="false"/>
+ <KeyValuePair Key="ScriptName" String=""/>
+ <KeyValuePair Key="Skippable" Boolean="false"/>
+ <KeyValuePair Key="ScriptVersion" String=""/>
+ </Properties>
+</ActivityDef>
diff --git a/resources/boot/LDAPboot.txt b/resources/boot/LDAPboot.txt new file mode 100755 index 0000000..995d47d --- /dev/null +++ b/resources/boot/LDAPboot.txt @@ -0,0 +1,4 @@ +cn=entity,
+cn=last,cn=entity,
+cn=domain,
+cn=agent,cn=domain,
\ No newline at end of file diff --git a/resources/boot/OD/CompositeActivityDef.xml b/resources/boot/OD/CompositeActivityDef.xml new file mode 100755 index 0000000..e840734 --- /dev/null +++ b/resources/boot/OD/CompositeActivityDef.xml @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="CentrePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="CompositeActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="childrenGraphModel">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="GraphModelCastorData">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element name="ActivitySlotDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ <xs:element name="activityDef" type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="JoinDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" maxOccurs="unbounded"/>
+ <xs:element ref="InEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="OutEdgeId" minOccurs="0"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LoopDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ <xs:attribute name="isNext" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="NextDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="OriginPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="TerminusPoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="OriginVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="TerminusVertexId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XOrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="OrSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="AndSplitDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="CentrePoint"/>
+ <xs:element ref="OutlinePoint" minOccurs="4" maxOccurs="4"/>
+ <xs:element ref="InEdgeId" minOccurs="0"/>
+ <xs:element ref="OutEdgeId" maxOccurs="unbounded"/>
+ <xs:element ref="Properties"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:byte" use="required"/>
+ <xs:attribute name="Width" type="xs:byte" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="ClassNameOfVertexOutlineCreator" type="xs:string" use="required"/>
+ <xs:attribute name="StartVertexId" type="xs:byte" use="required"/>
+ <xs:attribute name="NextId" type="xs:byte" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="Properties"/>
+ <xs:element name="castorNonLayoutableChildren" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:integer" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="required"/>
+ <xs:attribute name="Width" type="xs:integer" use="required"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="InEdgeId" type="xs:byte"/>
+ <xs:element name="OutEdgeId" type="xs:byte"/>
+ <xs:element name="OutlinePoint">
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:short" use="required"/>
+ <xs:attribute name="y" type="xs:short" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/ElementaryActivityDef.xml b/resources/boot/OD/ElementaryActivityDef.xml new file mode 100755 index 0000000..ea637e4 --- /dev/null +++ b/resources/boot/OD/ElementaryActivityDef.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="ActivityDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Properties">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="KeyValuePair" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Key" type="xs:string" use="optional"/>
+ <xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
+ <xs:attribute name="String" type="xs:string" use="optional"/>
+ <xs:attribute name="Integer" type="xs:int" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="ID" type="xs:byte" use="required"/>
+ <xs:attribute name="Name" type="xs:string" use="required"/>
+ <xs:attribute name="Height" type="xs:integer" use="optional"/>
+ <xs:attribute name="Width" type="xs:integer" use="optional"/>
+ <xs:attribute name="IsLayoutable" type="xs:boolean" use="required" fixed="false"/>
+ <xs:attribute name="IsComposite" type="xs:boolean" use="required" fixed="false"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/New.xml b/resources/boot/OD/New.xml new file mode 100755 index 0000000..91755c8 --- /dev/null +++ b/resources/boot/OD/New.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+</xs:schema>
diff --git a/resources/boot/OD/NewAgent.xml b/resources/boot/OD/NewAgent.xml new file mode 100755 index 0000000..773f4fc --- /dev/null +++ b/resources/boot/OD/NewAgent.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="NewAgent">
+ <xs:annotation>
+ <xs:documentation>Complete Structure for new agent</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>The initial roles that this Agent will hold</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="password" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/NewItem.xml b/resources/boot/OD/NewItem.xml new file mode 100755 index 0000000..bcd5298 --- /dev/null +++ b/resources/boot/OD/NewItem.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="NewItem">
+ <xs:annotation>
+ <xs:documentation>Complete Structure for new item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>New Properties for the item</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Aggregation" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection with layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="AggregationMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Geometry">
+ <xs:annotation>
+ <xs:documentation>The position and size of this member slot on the layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="x" type="xs:int" use="required"/>
+ <xs:attribute name="y" type="xs:int" use="required"/>
+ <xs:attribute name="width" type="xs:int" use="required"/>
+ <xs:attribute name="height" type="xs:int" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="slotNo" type="xs:int" use="required"/>
+ <xs:attribute name="itemDescriptionPath" type="xs:string" use="optional"/>
+ <xs:attribute name="itemPath" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="isDescription" type="xs:boolean" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>A new collection without layout</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="DependencyMember" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="itemPath" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="isDescription" type="xs:boolean" use="required"/>
+ <xs:attribute name="itemDescriptionPath" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="initialPath" type="xs:string" use="required"/>
+ <xs:attribute name="workflow" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/NewLocalObjectDef.xml b/resources/boot/OD/NewLocalObjectDef.xml new file mode 100755 index 0000000..0186872 --- /dev/null +++ b/resources/boot/OD/NewLocalObjectDef.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2006 sp1 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="NewLocalObjectDef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ObjectName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>Please give a name for your new object.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="SubFolder" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>If you want to store your object in a subfolder, give the subpath here.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/PredefinedStepOutcome.xml b/resources/boot/OD/PredefinedStepOutcome.xml new file mode 100755 index 0000000..bc0ac52 --- /dev/null +++ b/resources/boot/OD/PredefinedStepOutcome.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="PredefinedStepOutcome">
+ <xs:annotation>
+ <xs:documentation>General holder for predefined step outcomes we can't be bothered to define a proper schema for</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="param" type="xs:string" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/PropertyDescription.xml b/resources/boot/OD/PropertyDescription.xml new file mode 100755 index 0000000..886092a --- /dev/null +++ b/resources/boot/OD/PropertyDescription.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="AllProperties">
+ <xs:annotation>
+ <xs:documentation>Defines the properties that will exist in instances of this description when initially created.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="PropertyDescription" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="Name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>The name of the new property.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsClassIdentifier" type="xs:boolean" use="required">
+ <xs:annotation>
+ <xs:documentation>Whether this property is used to identify the class of this item. Properties flagged as 'true' here are used to check type when these items are assigned to collections.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="DefaultValue" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>The initial value of the property when it is created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="IsMutable" type="xs:boolean" use="optional">
+ <xs:annotation>
+ <xs:documentation>Whether or not the property can have its value changed once it has been created.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/OD/Schema.xml b/resources/boot/OD/Schema.xml new file mode 100755 index 0000000..fed1949 --- /dev/null +++ b/resources/boot/OD/Schema.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+<!-- empty schema as the real one is too complicated for our validator -->
+</xs:schema>
\ No newline at end of file diff --git a/resources/boot/OD/Script.xml b/resources/boot/OD/Script.xml new file mode 100755 index 0000000..5726aca --- /dev/null +++ b/resources/boot/OD/Script.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <xs:element name="cristalscript">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="version" type="xs:integer" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="output" minOccurs="0">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="script">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="language" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/resources/boot/SC/CreateNewNumberedVersionFromLast.xml b/resources/boot/SC/CreateNewNumberedVersionFromLast.xml new file mode 100755 index 0000000..bb66f4c --- /dev/null +++ b/resources/boot/SC/CreateNewNumberedVersionFromLast.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<cristalscript>
+ <output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
+ <script language="javascript" name="CreateNewNumberedVersionFromLast"><![CDATA[
+
+ var job = bsf.lookupBean("job");
+ var item = bsf.lookupBean("item");
+ var agent = bsf.lookupBean("agent");
+ var errorBuffer = bsf.lookupBean("errors");
+
+ var viewName = job.getActPropString("ViewName");
+
+ if (viewName.equals("")) {
+ errorBuffer.addError("ViewName not specified. Cannot create new version.");
+ errorBuffer.setFatal();
+ }
+
+ if (!(errorBuffer.getFatal())) {
+ var lastView = -1;
+ var existingViews = item.getContents("/ViewPoint/"+viewName);
+ for (i=0; i<existingViews.length; i++) {
+ var thisView = parseInt(existingViews[i]);
+ if (thisView!=NaN && lastView < thisView) lastView = thisView;
+ }
+ lastView++;
+ try {
+ var existingLast = agent.unmarshall(item.queryData("/ViewPoint/"+viewName+"/last"));
+ } catch (e) {
+ errorBuffer.addError("No data found. You must submit at least one version before executing this activity.");
+ errorBuffer.setFatal();
+ }
+ if (!(errorBuffer.getFatal())) {
+ existingLast.setName(lastView);
+ agent.execute(item, "AddC2KObject", existingLast);
+ }
+ }
+ errorBuffer;
+ ]]></script>
+</cristalscript>
diff --git a/resources/boot/SC/LocalObjectDefCreator.xml b/resources/boot/SC/LocalObjectDefCreator.xml new file mode 100755 index 0000000..c57cbc1 --- /dev/null +++ b/resources/boot/SC/LocalObjectDefCreator.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<cristalscript>
+ <output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
+ <script language="javascript" name="LocalObjectDefCreator"><![CDATA[
+ importClass(Packages.com.c2kernel.utils.CastorXMLUtility);
+ importClass(Packages.com.c2kernel.utils.Resource);
+ importClass(Packages.com.c2kernel.process.Bootstrap);
+ importClass(Packages.com.c2kernel.lifecycle.CompositeActivityDef);
+ importClass(Packages.com.c2kernel.lifecycle.ActivityDef);
+
+ var job = bsf.lookupBean("job");
+ var item = bsf.lookupBean("item");
+ var agent = bsf.lookupBean("agent");
+ var errorBuffer = bsf.lookupBean("errors");
+ var type = job.getActPropString("NewType");
+ var name = job.getOutcome().getDOM().getDocumentElement().
+ getElementsByTagName("ObjectName").item(0).getFirstChild().getData();
+ var folder = job.getOutcome().getDOM().getDocumentElement().
+ getElementsByTagName("SubFolder").item(0).getFirstChild();
+ var domPath = Bootstrap.getTypeRoot(type).toString();
+ if (folder != null) domPath = domPath + "/" + folder.getData();
+
+ var params = new Array(2);
+ params[0] = name;
+
+ params[1] = domPath;
+
+ if (!(errorBuffer.getFatal())) {
+ try {
+ agent.execute(item, "CreateItemFromDescription", params);
+ } catch (e) {
+ errorBuffer.addError("Could not create "+name+": "+e.message);
+ errorBuffer.setFatal();
+ }
+ }
+
+ if (!(errorBuffer.getFatal())) { // store an outcome in the new desc
+ var newObj;
+ if (type.equals("EA") || type.equals("CA")) {
+ var newAct = type.equals("CA")?new CompositeActivityDef(): new ActivityDef();
+ newAct.setName(name);
+ newObj = CastorXMLUtility.marshall(newAct);
+ }
+ else
+ newObj = Resource.getTextResource("boot/"+type+"/New.xml");
+
+ var newPath = new Packages.com.c2kernel.lookup.DomainPath(domPath+"/"+name);
+ var newItem = agent.getItem(newPath);
+ newItem.requestAction(agent.getSystemKey(), "workflow/domain/EditDefinition", 4, newObj);
+ var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
+ if (tree != null) // open new item in the gui
+ tree.push(newPath);
+
+ }
+ errorBuffer;
+ ]]></script>
+</cristalscript>
diff --git a/resources/boot/SC/New.xml b/resources/boot/SC/New.xml new file mode 100755 index 0000000..a706310 --- /dev/null +++ b/resources/boot/SC/New.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<cristalscript>
+ <output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
+ <script language="javascript" name=""><![CDATA[
+
+ var job = bsf.lookupBean("job");
+ var item = bsf.lookupBean("item");
+ var agent = bsf.lookupBean("agent");
+ var errorBuffer = bsf.lookupBean("errors");
+
+ errorBuffer;
+ ]]></script>
+</cristalscript>
diff --git a/resources/boot/SC/ServerNewEntity.xml b/resources/boot/SC/ServerNewEntity.xml new file mode 100755 index 0000000..2f89927 --- /dev/null +++ b/resources/boot/SC/ServerNewEntity.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<cristalscript>
+ <output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
+ <script language="javascript" name="LocalObjectDefCreator"><![CDATA[
+
+ var job = bsf.lookupBean("job");
+ var item = bsf.lookupBean("item");
+ var agent = bsf.lookupBean("agent");
+ var errorBuffer = bsf.lookupBean("errors");
+ try {
+ var schema = job.getActPropString("SchemaType");
+ var predef = schema.equals("NewItem")?"CreateNewItem":"CreateNewAgent";
+ item.requestAction(agent.getSystemKey(), "workflow/predefined/"+predef, Packages.com.c2kernel.lifecycle.instance.stateMachine.Transitions.DONE, job.getOutcomeString());
+ } catch (e) {
+ errorBuffer.addError(e.getMessage());
+ errorBuffer.setFatal();
+ }
+ errorBuffer;
+ ]]></script>
+</cristalscript>
diff --git a/resources/boot/allbootitems.txt b/resources/boot/allbootitems.txt new file mode 100755 index 0000000..004bdf1 --- /dev/null +++ b/resources/boot/allbootitems.txt @@ -0,0 +1,34 @@ +OD/Schema
+OD/CompositeActivityDef
+OD/ElementaryActivityDef
+OD/PredefinedStepOutcome
+OD/PropertyDescription
+OD/Script
+OD/NewLocalObjectDef
+OD/NewItem
+OD/NewAgent
+EA/AssignNewVersionFromLast
+EA/EditActivityDef
+EA/EditSchema
+EA/EditScriptDefinition
+EA/CreateNewLocalObjectDef
+EA/CreateNewItem
+EA/CreateNewAgent
+EA/EditProperties
+CA/ManageCompositeActDef
+CA/ManageElementaryActDef
+CA/ManageSchema
+CA/ManageScript
+CA/SchemaFactory
+CA/CompositeActivityFactory
+CA/ElementaryActivityFactory
+CA/ScriptFactory
+CA/NoWorkflow
+CA/ServerItemWorkflow
+SC/CreateNewNumberedVersionFromLast
+SC/LocalObjectDefCreator
+SC/ServerNewEntity
+factory/CA
+factory/EA
+factory/OD
+factory/SC
\ No newline at end of file diff --git a/resources/boot/factory/CA.xml b/resources/boot/factory/CA.xml new file mode 100755 index 0000000..908647a --- /dev/null +++ b/resources/boot/factory/CA.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?>
+<NewItem initialPath="/desc" name="CompositeActivityDefFactory" workflow="CompositeActivityFactory">
+ <Property name="LocalObjectType" value="CompositeActivityDef"/>
+ <Property name="Type" value="LocalObjectFactory"/>
+ <Dependency name="Workflow" isDescription="false">
+ <DependencyMember itemPath="/desc/ActivityDesc/system/kernel/ManageCompositeActDef"/>
+ </Dependency>
+</NewItem>
diff --git a/resources/boot/factory/EA.xml b/resources/boot/factory/EA.xml new file mode 100755 index 0000000..1185f10 --- /dev/null +++ b/resources/boot/factory/EA.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?>
+<NewItem initialPath="/desc" name="ElementaryActivityDefFactory" workflow="ElementaryActivityFactory">
+ <Property name="LocalObjectType" value="ElementaryActivityDef"/>
+ <Property name="Type" value="LocalObjectFactory"/>
+ <Dependency name="Workflow" isDescription="false">
+ <DependencyMember itemPath="/desc/ActivityDesc/system/kernel/ManageElementaryActDef"/>
+ </Dependency>
+</NewItem>
diff --git a/resources/boot/factory/OD.xml b/resources/boot/factory/OD.xml new file mode 100755 index 0000000..275048b --- /dev/null +++ b/resources/boot/factory/OD.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?>
+<NewItem initialPath="/desc" name="SchemaFactory" workflow="SchemaFactory">
+ <Property name="LocalObjectType" value="Schema"/>
+ <Property name="Type" value="LocalObjectFactory"/>
+ <Dependency name="Workflow" isDescription="false">
+ <DependencyMember itemPath="/desc/ActivityDesc/system/kernel/ManageSchema"/>
+ </Dependency>
+</NewItem>
diff --git a/resources/boot/factory/SC.xml b/resources/boot/factory/SC.xml new file mode 100755 index 0000000..7f3f97e --- /dev/null +++ b/resources/boot/factory/SC.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?>
+<NewItem initialPath="/desc" name="ScriptFactory" workflow="ScriptFactory">
+ <Property name="LocalObjectType" value="Script"/>
+ <Property name="Type" value="LocalObjectFactory"/>
+ <Dependency name="Workflow" isDescription="false">
+ <DependencyMember itemPath="/desc/ActivityDesc/system/kernel/ManageScript"/>
+ </Dependency>
+</NewItem>
diff --git a/resources/boot/property/CAProp.xml b/resources/boot/property/CAProp.xml new file mode 100755 index 0000000..d5b2bea --- /dev/null +++ b/resources/boot/property/CAProp.xml @@ -0,0 +1,5 @@ +<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Complexity" IsClassIdentifier="true" DefaultValue="Composite" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="ActivityDesc" IsMutable="false"/>
+</AllProperties>
diff --git a/resources/boot/property/EAProp.xml b/resources/boot/property/EAProp.xml new file mode 100755 index 0000000..ddf07c1 --- /dev/null +++ b/resources/boot/property/EAProp.xml @@ -0,0 +1,5 @@ +<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Complexity" IsClassIdentifier="true" DefaultValue="Elementary" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="ActivityDesc" IsMutable="false"/>
+</AllProperties>
diff --git a/resources/boot/property/ODProp.xml b/resources/boot/property/ODProp.xml new file mode 100755 index 0000000..0c85444 --- /dev/null +++ b/resources/boot/property/ODProp.xml @@ -0,0 +1,5 @@ +<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="OutcomeDesc" IsMutable="false"/>
+ <PropertyDescription Name="Breakapart" IsClassIdentifier="false" DefaultValue="0" IsMutable="false"/>
+</AllProperties>
diff --git a/resources/boot/property/SCProp.xml b/resources/boot/property/SCProp.xml new file mode 100755 index 0000000..356f2f9 --- /dev/null +++ b/resources/boot/property/SCProp.xml @@ -0,0 +1,4 @@ +<AllProperties>
+ <PropertyDescription Name="Name" IsClassIdentifier="false" DefaultValue="" IsMutable="false"/>
+ <PropertyDescription Name="Type" IsClassIdentifier="true" DefaultValue="Script" IsMutable="false"/>
+</AllProperties>
|
