Commits

Anonymous committed 76d2972

Added more stuff to palette

  • Participants
  • Parent commits 4641a7c

Comments (0)

Files changed (2)

src/designer/META-INF/palette.properties

 #conditions
 allow.owner.only=Allow Owner Only
 allow.owner.only.long=Allow Owner Only
+allow.owner.only.stepId=Step ID (optional)
+
+deny.owner=Deny Owner
+deny.owner.long=Deny the current owner
+deny.owner.stepId=Step ID (optional)
 
 check.status=Check Status
 check.status.long=Check whether the workflow is in the specified status
+check.status.stepId=Step ID (optional)
+check.status.status=Status
 
 check.usergroup=Check User Group
 check.usergroup.long=Check that the current user belongs in the specified group
 
+ejb.local.condition=Local EJB Condition
+ejb.local.condition.long=Invoke local session EJB condition
+ejb.local.condition.ejb.location=JNDI Location
+
+ejb.condition=Remote EJB Condition
+ejb.condition.long=Invoke remote session EJB condition
+ejb.condition.ejb.location=JNDI Location
+
 #functions
 set.caller=Set Caller
 set.caller.long=Set caller variable
+
 set.most.recent.owner=Set Most Recent Owner
 set.most.recent.owner.long=Set mostRecentOwner variable
 
 send.email.cc=3. CC
 send.email.smtpHost=4. SMTP Host
 send.email.message=5. Message Body
+
+webwork.action=Execute WebWork Action
+webwork.action.long=Execute the specified webwork action
+webwork.action.action.name=Action Name
+
+ejb.function=Remote EJB Function
+ejb.function.long=Invoke remote session EJB function
+ejb.function.ejb.location=JNDI Location
+
+ejb.local.function=Local EJB Function
+ejb.local.function.long=Invoke local session EJB function
+ejb.local.function.ejb.location=JNDI Location

src/designer/META-INF/palette.xml

 	<joinconditions>
     <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.AllowOwnerOnlyCondition</arg>
-      <arg name="stepId" modifiable="true"></arg>
+      <arg name="stepId" modifiable="true"/>
       <name>allow.owner.only</name>
     </condition>
     <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.DenyOwnerCondition</arg>
+      <arg name="stepId" modifiable="true"/>
+      <name>deny.owner</name>
+    </condition>
+    <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg>
-      <arg name="stepId" modifiable="true"></arg>
-      <arg name="status" modifiable="true"></arg>
+      <arg name="stepId" modifiable="true"/>
+      <arg name="status" modifiable="true"/>
       <name>check.status</name>
     </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.OSUserGroupCondition</arg>
+      <arg name="group" modifiable="true"/>
+      <name>check.usergroup</name>
+    </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.local.LocalEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.local.condition</name>
+    </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.remote.RemoteEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.condition</name>
+    </condition>
   </joinconditions>
 
 	<functions>
     </function>
     <function type="class">
       <arg name="class.name">com.opensymphony.workflow.util.SendEmail</arg>
-      <arg name="to" modifiable="true"></arg>
-      <arg name="from" modifiable="true"></arg>
-      <arg name="cc" modifiable="true"></arg>
-      <arg name="message" modifiable="true"></arg>
-      <arg name="smtpHost" modifiable="true"></arg>
+      <arg name="to" modifiable="true"/>
+      <arg name="from" modifiable="true"/>
+      <arg name="cc" modifiable="true"/>
+      <arg name="message" modifiable="true"/>
+      <arg name="smtpHost" modifiable="true"/>
       <name>send.email</name>
     </function>
+    <function type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.WebWorkExecutor</arg>
+      <arg name="action.name" modifiable="true"/>
+      <name>webwork.action</name>
+    </function>
+    <function type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.local.LocalEJBFunctionProvider</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.local.function</name>
+    </function>
+    <function type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.remote.RemoteEJBFunctionProvider</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.function</name>
+    </function>
 	</functions>
 
 	<permissionconditions>
 		<condition type="class">
 			<arg name="class.name">com.opensymphony.workflow.util.AllowOwnerOnlyCondition</arg>
-			<arg name="stepId" modifiable="true"></arg>
+			<arg name="stepId" modifiable="true"/>
 			<name>allow.owner.only</name>
 		</condition>
     <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.DenyOwnerCondition</arg>
+      <arg name="stepId" modifiable="true"/>
+      <name>deny.owner</name>
+    </condition>
+    <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg>
-      <arg name="stepId" modifiable="true"></arg>
-      <arg name="status" modifiable="true"></arg>
+      <arg name="stepId" modifiable="true"/>
+      <arg name="status" modifiable="true"/>
       <name>check.status</name>
     </condition>
     <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.OSUserGroupCondition</arg>
-      <arg name="group" modifiable="true"></arg>
+      <arg name="group" modifiable="true"/>
       <name>check.usergroup</name>
     </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.local.LocalEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.local.condition</name>
+    </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.remote.RemoteEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.condition</name>
+    </condition>
 	</permissionconditions>
 
 	<resultconditions>
     <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.AllowOwnerOnlyCondition</arg>
-      <arg name="stepId" modifiable="true"></arg>
+      <arg name="stepId" modifiable="true"/>
       <name>allow.owner.only</name>
     </condition>
     <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.DenyOwnerCondition</arg>
+      <arg name="stepId" modifiable="true"/>
+      <name>deny.owner</name>
+    </condition>
+    <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg>
-      <arg name="stepId" modifiable="true"></arg>
-      <arg name="status" modifiable="true"></arg>
+      <arg name="stepId" modifiable="true"/>
+      <arg name="status" modifiable="true"/>
       <name>check.status</name>
     </condition>
     <condition type="class">
       <arg name="class.name">com.opensymphony.workflow.util.OSUserGroupCondition</arg>
-      <arg name="group" modifiable="true"></arg>
+      <arg name="group" modifiable="true"/>
       <name>check.usergroup</name>
     </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.local.LocalEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.local.condition</name>
+    </condition>
+    <condition type="class">
+      <arg name="class.name">com.opensymphony.workflow.util.ejb.remote.RemoteEJBCondition</arg>
+      <arg name="ejb.location" modifiable="true"/>
+      <name>ejb.condition</name>
+    </condition>
   </resultconditions>
 </plugin>