JBoss JBPM SVN: r6530 - in jbpm4/trunk/modules/pvm/src: main/java/org/jbpm/pvm/internal/script and 1 other directories.
by do-not-reply@jboss.org
Author: rebody
Date: 2010-07-24 03:27:56 -0400 (Sat, 24 Jul 2010)
New Revision: 6530
Added:
jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/BshExpressionTest.java
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/BasicEnvironment.java
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/EnvironmentBindings.java
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/JuelScriptEngine.java
jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/GroovyExpressionTest.java
jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/JuelExpressionTest.java
Log:
JBPM-1768 fix groovy, juel and bsh expression textcase
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/BasicEnvironment.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/BasicEnvironment.java 2010-07-24 02:20:57 UTC (rev 6529)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/BasicEnvironment.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -33,9 +33,9 @@
public class BasicEnvironment extends EnvironmentImpl {
private static final long serialVersionUID = 1L;
-
- private static final Log log = Log.getLog(BasicEnvironment.class.getName());
+ private static final Log log = Log.getLog(BasicEnvironment.class.getName());
+
protected String authenticatedUserId;
protected Map<String, Context> contexts = new LinkedHashMap<String, Context>();
protected Throwable exception;
@@ -55,7 +55,7 @@
public Context removeContext(Context context) {
return removeContext(context.getName());
}
-
+
public Context removeContext(String contextName) {
return contexts.remove(contextName);
}
@@ -69,11 +69,11 @@
}
// authenticatedUserId //////////////////////////////////////////////////////
-
+
public String getAuthenticatedUserId() {
return authenticatedUserId;
}
-
+
public void setAuthenticatedUserId(String authenticatedUserId) {
this.authenticatedUserId = authenticatedUserId;
}
@@ -83,11 +83,11 @@
public ClassLoader getClassLoader() {
return classLoader;
}
-
+
public void setClassLoader(ClassLoader classLoader) {
this.classLoader = classLoader;
}
-
+
// search methods ///////////////////////////////////////////////////////////
public Object get(String name) {
@@ -104,14 +104,14 @@
public Object get(String name, String[] searchOrder, boolean nullIfNotFound) {
if (searchOrder == null) {
- searchOrder = getDefaultSearchOrder();
- }
- for (String contextName : searchOrder) {
- Context context = contexts.get(contextName);
- if (context.has(name)) {
- return context.get(name);
- }
- }
+ searchOrder = getDefaultSearchOrder();
+ }
+ for (String contextName : searchOrder) {
+ Context context = contexts.get(contextName);
+ if (context.has(name)) {
+ return context.get(name);
+ }
+ }
if (nullIfNotFound) {
return null;
} else {
@@ -134,7 +134,7 @@
}
return null;
}
-
+
/**
* searches an object based on type in the default search order.
* if this environment contains the given context, the search skips
@@ -167,7 +167,7 @@
throw new JbpmException("environment nesting problem");
}
}
-
+
// private methods //////////////////////////////////////////////////////////
protected String[] getDefaultSearchOrder() {
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/EnvironmentBindings.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/EnvironmentBindings.java 2010-07-24 02:20:57 UTC (rev 6529)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/EnvironmentBindings.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -28,6 +28,7 @@
import javax.script.Bindings;
+import org.jbpm.api.JbpmException;
import org.jbpm.pvm.internal.env.EnvironmentImpl;
/**
@@ -47,7 +48,13 @@
}
public boolean containsKey(Object key) {
- return get(key) != null;
+ try {
+ environment.get((String) key, false);
+ return true;
+ } catch(JbpmException ex) {
+ // if cannot find property in environment, will cause a JbpmException
+ return false;
+ }
}
public Object put(String key, Object value) {
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/JuelScriptEngine.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/JuelScriptEngine.java 2010-07-24 02:20:57 UTC (rev 6529)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/script/JuelScriptEngine.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -49,7 +49,6 @@
import javax.script.ScriptException;
import javax.script.SimpleBindings;
-import org.jbpm.pvm.internal.env.ExecutionContext;
import org.jbpm.pvm.internal.util.ReflectUtil;
import de.odysseus.el.util.SimpleResolver;
@@ -393,15 +392,6 @@
return exprFactory.createValueExpression(
value, Object.class);
- } else {
- // to support null value for existing variables
- Bindings b = this.ctx.getBindings(ScriptContext.ENGINE_SCOPE);
- ExecutionContext execContext = (ExecutionContext) ((EnvironmentBindings) b).environment.getContext("execution");
- // if variable name exist then set value expression as null
- // since it was not discovered by attribute scope method
- if (execContext.getExecution().getVariables().containsKey(variable)) {
- return exprFactory.createValueExpression(null, Object.class);
- }
}
return null;
}
Added: jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/BshExpressionTest.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/BshExpressionTest.java (rev 0)
+++ jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/BshExpressionTest.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.internal.expr;
+
+import org.jbpm.pvm.activities.WaitState;
+import org.jbpm.pvm.internal.builder.ProcessDefinitionBuilder;
+import org.jbpm.pvm.internal.client.ClientExecution;
+import org.jbpm.pvm.internal.env.EnvironmentImpl;
+import org.jbpm.pvm.internal.env.EnvironmentFactory;
+import org.jbpm.pvm.internal.env.ExecutionContext;
+import org.jbpm.pvm.internal.model.ExecutionImpl;
+import org.jbpm.pvm.internal.processengine.ProcessEngineImpl;
+import org.jbpm.pvm.internal.script.ScriptManager;
+import org.jbpm.test.BaseJbpmTestCase;
+
+
+/**
+ * @author Huisheng Xu
+ */
+public class BshExpressionTest extends BaseJbpmTestCase {
+ public static final String XML =
+ "<jbpm-configuration>" +
+ " <process-engine-context>" +
+ " <script-manager default-expression-language='juel'" +
+ " default-script-language='juel'>" +
+ " <script-language name='groovy' factory='org.jbpm.pvm.internal.script.BshScriptEngineFactory' />" +
+ " </script-manager>" +
+ " </process-engine-context>" +
+ "</jbpm-configuration>";
+
+ public void testGroovyExpression() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
+ ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
+
+ ClientExecution execution = ProcessDefinitionBuilder
+ .startProcess()
+ .startActivity("initial", new WaitState())
+ .initial()
+ .endActivity()
+ .endProcess()
+ .startProcessInstance();
+
+ execution.setVariable("pv", "hello");
+
+ EnvironmentImpl environment = environmentFactory.openEnvironment();
+ try {
+ environment.setContext(new ExecutionContext((ExecutionImpl) execution));
+ assertEquals("hello", scriptManager.evaluateExpression("pv", "bsh"));
+ } finally {
+ environment.close();
+ }
+ }
+
+ public void testGroovyExpressionWithNull() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
+ ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
+
+ ClientExecution execution = ProcessDefinitionBuilder
+ .startProcess()
+ .startActivity("initial", new WaitState())
+ .initial()
+ .endActivity()
+ .endProcess()
+ .startProcessInstance();
+
+ execution.setVariable("pv", null);
+
+ EnvironmentImpl environment = environmentFactory.openEnvironment();
+ try {
+ environment.setContext(new ExecutionContext((ExecutionImpl) execution));
+ assertNull(scriptManager.evaluateExpression("pv", "bsh"));
+ } finally {
+ environment.close();
+ }
+ }
+}
Modified: jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/GroovyExpressionTest.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/GroovyExpressionTest.java 2010-07-24 02:20:57 UTC (rev 6529)
+++ jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/GroovyExpressionTest.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -1,75 +1,98 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.pvm.internal.expr;
-
-import org.jbpm.pvm.activities.WaitState;
-import org.jbpm.pvm.internal.builder.ProcessDefinitionBuilder;
-import org.jbpm.pvm.internal.client.ClientExecution;
-import org.jbpm.pvm.internal.env.EnvironmentImpl;
-import org.jbpm.pvm.internal.env.EnvironmentFactory;
-import org.jbpm.pvm.internal.model.ExecutionImpl;
-import org.jbpm.pvm.internal.processengine.ProcessEngineImpl;
-import org.jbpm.pvm.internal.script.ScriptManager;
-import org.jbpm.test.BaseJbpmTestCase;
-
-
-/**
- * @author Tom Baeyens
- */
-public class GroovyExpressionTest extends BaseJbpmTestCase {
-
- public void testGroovyExpression() {
- System.out.println("FIXME: JBPM-1768 Fix groovy support");
- }
-
- public void dontTestGroovyExpression() {
- EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(
- "<jbpm-configuration>" +
- " <process-engine-context>" +
- " <script-manager default-expression-language='juel'" +
- " default-script-language='juel'>" +
- " <script-language name='groovy' factory='com.sun.script.groovy.GroovyScriptEngineFactory' />" +
- " </script-manager>" +
- " </process-engine-context>" +
- "</jbpm-configuration>"
- );
-
- ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
-
- ClientExecution execution = ProcessDefinitionBuilder
- .startProcess()
- .startActivity("initial", new WaitState())
- .initial()
- .endActivity()
- .endProcess()
- .startProcessInstance();
-
- execution.setVariable("pv", "hello");
-
- EnvironmentImpl environment = environmentFactory.openEnvironment();
- try {
- assertEquals("hello", scriptManager.evaluateExpression("pv", "groovy"));
- } finally {
- environment.close();
- }
- }
-}
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.internal.expr;
+
+import org.jbpm.pvm.activities.WaitState;
+import org.jbpm.pvm.internal.builder.ProcessDefinitionBuilder;
+import org.jbpm.pvm.internal.client.ClientExecution;
+import org.jbpm.pvm.internal.env.EnvironmentImpl;
+import org.jbpm.pvm.internal.env.EnvironmentFactory;
+import org.jbpm.pvm.internal.env.ExecutionContext;
+import org.jbpm.pvm.internal.model.ExecutionImpl;
+import org.jbpm.pvm.internal.processengine.ProcessEngineImpl;
+import org.jbpm.pvm.internal.script.ScriptManager;
+import org.jbpm.test.BaseJbpmTestCase;
+
+
+/**
+ * @author Tom Baeyens
+ * @author Huisheng Xu
+ */
+public class GroovyExpressionTest extends BaseJbpmTestCase {
+ public static final String XML =
+ "<jbpm-configuration>" +
+ " <process-engine-context>" +
+ " <script-manager default-expression-language='juel'" +
+ " default-script-language='juel'>" +
+ " <script-language name='groovy' factory='org.jbpm.pvm.internal.script.GroovyScriptEngineFactory' />" +
+ " </script-manager>" +
+ " </process-engine-context>" +
+ "</jbpm-configuration>";
+
+ public void testGroovyExpression() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
+ ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
+
+ ClientExecution execution = ProcessDefinitionBuilder
+ .startProcess()
+ .startActivity("initial", new WaitState())
+ .initial()
+ .endActivity()
+ .endProcess()
+ .startProcessInstance();
+
+ execution.setVariable("pv", "hello");
+
+ EnvironmentImpl environment = environmentFactory.openEnvironment();
+ try {
+ environment.setContext(new ExecutionContext((ExecutionImpl) execution));
+ assertEquals("hello", scriptManager.evaluateExpression("pv", "groovy"));
+ } finally {
+ environment.close();
+ }
+ }
+
+ public void testGroovyExpressionWithNull() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
+ ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
+
+ ClientExecution execution = ProcessDefinitionBuilder
+ .startProcess()
+ .startActivity("initial", new WaitState())
+ .initial()
+ .endActivity()
+ .endProcess()
+ .startProcessInstance();
+
+ execution.setVariable("pv", null);
+
+ EnvironmentImpl environment = environmentFactory.openEnvironment();
+ try {
+ environment.setContext(new ExecutionContext((ExecutionImpl) execution));
+ assertNull(scriptManager.evaluateExpression("pv", "groovy"));
+ } finally {
+ environment.close();
+ }
+ }
+}
Modified: jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/JuelExpressionTest.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/JuelExpressionTest.java 2010-07-24 02:20:57 UTC (rev 6529)
+++ jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/expr/JuelExpressionTest.java 2010-07-24 07:27:56 UTC (rev 6530)
@@ -33,11 +33,10 @@
/**
* @author Tom Baeyens
+ * @author Huisheng Xu
*/
public class JuelExpressionTest extends BaseJbpmTestCase {
-
- public void testJuelExpression() {
- EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(
+ public static final String XML =
"<jbpm-configuration>" +
" <process-engine-context>" +
" <script-manager default-expression-language='juel'" +
@@ -45,11 +44,13 @@
" <script-language name='juel' factory='com.sun.script.juel.JuelScriptEngineFactory' />" +
" </script-manager>" +
" </process-engine-context>" +
- "</jbpm-configuration>"
- );
+ "</jbpm-configuration>";
+ public void testJuelExpression() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
-
+
ExecutionImpl execution = (ExecutionImpl) ProcessDefinitionBuilder
.startProcess()
.startActivity("initial", new WaitState())
@@ -57,9 +58,9 @@
.endActivity()
.endProcess()
.startProcessInstance();
-
+
execution.setVariable("pv", "hello");
-
+
EnvironmentImpl environment = environmentFactory.openEnvironment();
environment.setContext(new ExecutionContext(execution));
try {
@@ -68,4 +69,28 @@
environment.close();
}
}
+
+ public void testJuelExpressionWithNull() {
+ EnvironmentFactory environmentFactory = ProcessEngineImpl.parseXmlString(XML);
+
+ ScriptManager scriptManager = environmentFactory.get(ScriptManager.class);
+
+ ExecutionImpl execution = (ExecutionImpl) ProcessDefinitionBuilder
+ .startProcess()
+ .startActivity("initial", new WaitState())
+ .initial()
+ .endActivity()
+ .endProcess()
+ .startProcessInstance();
+
+ execution.setVariable("pv", null);
+
+ EnvironmentImpl environment = environmentFactory.openEnvironment();
+ environment.setContext(new ExecutionContext(execution));
+ try {
+ assertNull(scriptManager.evaluateExpression("#{pv}", null));
+ } finally {
+ environment.close();
+ }
+ }
}
13 years, 11 months
JBoss JBPM SVN: r6529 - in jbpm4/trunk/modules: pvm/src/test/java/org/jbpm/pvm/internal/wire and 1 other directories.
by do-not-reply@jboss.org
Author: rebody
Date: 2010-07-23 22:20:57 -0400 (Fri, 23 Jul 2010)
New Revision: 6529
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/RefBinding.java
jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/wire/RefWireTest.java
jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activity/mail/MailTest.java
Log:
correct refBinding parse error message and related testcase.
provide a testcase for custom MailProducer by http://community.jboss.org/message/554222#554222
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/RefBinding.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/RefBinding.java 2010-07-23 16:47:23 UTC (rev 6528)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/wire/binding/RefBinding.java 2010-07-24 02:20:57 UTC (rev 6529)
@@ -48,7 +48,7 @@
descriptor.setType(element.getAttribute("type"));
} else {
- parse.addProblem("ref must have object attribute: "+XmlUtil.toString(element), element);
+ parse.addProblem("ref must have object or type attribute: "+XmlUtil.toString(element), element);
}
return descriptor;
}
Modified: jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/wire/RefWireTest.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/wire/RefWireTest.java 2010-07-23 16:47:23 UTC (rev 6528)
+++ jbpm4/trunk/modules/pvm/src/test/java/org/jbpm/pvm/internal/wire/RefWireTest.java 2010-07-24 02:20:57 UTC (rev 6529)
@@ -58,13 +58,13 @@
);
assertNotNull(problems);
assertEquals(1, problems.size());
- assertTextPresent("ref must have object attribute: ", problems.get(0).getMsg());
+ assertTextPresent("ref must have object or type attribute: ", problems.get(0).getMsg());
}
public void testReferenceInList() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='o' class='"+Object.class.getName()+"' />" +
+ " <object name='o' class='" + Object.class.getName() + "' />" +
" <list name='l'>" +
" <ref object='o' />" +
" </list>" +
@@ -83,7 +83,7 @@
public void testReferenceInMap() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='o' class='"+Object.class.getName()+"' />" +
+ " <object name='o' class='" + Object.class.getName() + "' />" +
" <map name='m'>" +
" <entry>" +
" <key>" +
@@ -109,7 +109,7 @@
public void testReferenceInSet() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='o' class='"+Object.class.getName()+"' />" +
+ " <object name='o' class='" + Object.class.getName() + "' />" +
" <set name='s'>" +
" <ref object='o' />" +
" </set>" +
@@ -151,7 +151,7 @@
public void testConstructorArgument() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='x' class='"+X.class.getName()+"'>" +
+ " <object name='x' class='" + X.class.getName() + "'>" +
" <constructor>" +
" <arg><ref object='AMS' /></arg>" +
" </constructor>" +
@@ -167,7 +167,7 @@
public void testFieldArgument() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='x' class='"+X.class.getName()+"'>" +
+ " <object name='x' class='" + X.class.getName() + "'>" +
" <field name='fieldValue'><ref object='AMS' /></field>" +
" </object>" +
" <string name='AMS' value='xxx' />" +
@@ -181,7 +181,7 @@
public void testPropertyArgument() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='x' class='"+X.class.getName()+"'>" +
+ " <object name='x' class='" + X.class.getName() + "'>" +
" <property name='p'><ref object='AMS' /></property>" +
" </object>" +
" <string name='AMS' value='xxx' />" +
@@ -195,7 +195,7 @@
public void testInvokeArgument() {
WireContext wireContext = createWireContext(
"<objects>" +
- " <object name='x' class='"+X.class.getName()+"'>" +
+ " <object name='x' class='" + X.class.getName() + "'>" +
" <invoke method='invoke'>" +
" <arg><ref object='AMS' /></arg>" +
" <arg><ref object='HAM' /></arg>" +
Modified: jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activity/mail/MailTest.java
===================================================================
--- jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activity/mail/MailTest.java 2010-07-23 16:47:23 UTC (rev 6528)
+++ jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activity/mail/MailTest.java 2010-07-24 02:20:57 UTC (rev 6529)
@@ -1,72 +1,129 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.test.activity.mail;
-
-import java.util.List;
-
-import org.jbpm.api.ProcessInstance;
-import org.jbpm.test.JbpmTestCase;
-import org.subethamail.wiser.Wiser;
-import org.subethamail.wiser.WiserMessage;
-
-/**
- * @author Tom Baeyens
- */
-public class MailTest extends JbpmTestCase {
-
- private Wiser wiser;
-
- protected void setUp() throws Exception {
- super.setUp();
- // start mail server
- wiser = new Wiser();
- wiser.setPort(2525);
- wiser.start();
- }
-
- protected void tearDown() throws Exception {
- // stop mail server
- wiser.stop();
- super.tearDown();
- }
-
- public void testMailToPlainAddress() {
- deployJpdlXmlString("<process name='plainaddress' xmlns='http://jbpm.org/4.3/jpdl'>"
- + " <start>"
- + " <transition to='mailtestmail' />"
- + " </start>"
- + " <mail name='mailtestmail'>"
- + " <to addresses='jos@rubensstraat' />"
- + " <subject>mail</subject>"
- + " <text>youhoooo</text>"
- + " <transition to='end' />"
- + " </mail>"
- + " <end name='end'/>"
- + "</process>");
- ProcessInstance processInstance = executionService
- .startProcessInstanceByKey("plainaddress");
- assertProcessInstanceEnded(processInstance);
-
- List<WiserMessage> messages = wiser.getMessages();
- assertEquals(1, messages.size());
- }
-}
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.test.activity.mail;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.List;
+import javax.mail.Message;
+
+import org.jbpm.api.Execution;
+import org.jbpm.api.ProcessInstance;
+import org.jbpm.internal.log.Log;
+import org.jbpm.pvm.internal.email.impl.MailTemplate;
+import org.jbpm.pvm.internal.email.spi.MailProducer;
+import org.jbpm.pvm.internal.model.ExecutionImpl;
+import org.jbpm.test.JbpmTestCase;
+import org.subethamail.wiser.Wiser;
+import org.subethamail.wiser.WiserMessage;
+
+/**
+ * @author Tom Baeyens
+ * @author Huisheng Xu
+ */
+public class MailTest extends JbpmTestCase {
+
+ private Wiser wiser;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ // start mail server
+ wiser = new Wiser();
+ wiser.setPort(2525);
+ wiser.start();
+ }
+
+ protected void tearDown() throws Exception {
+ // stop mail server
+ wiser.stop();
+ super.tearDown();
+ }
+
+ public void testMailToPlainAddress() {
+ deployJpdlXmlString("<process name='plainaddress' xmlns='http://jbpm.org/4.4/jpdl'>"
+ + " <start>"
+ + " <transition to='mailtestmail' />"
+ + " </start>"
+ + " <mail name='mailtestmail'>"
+ + " <to addresses='jos@rubensstraat' />"
+ + " <subject>mail</subject>"
+ + " <text>youhoooo</text>"
+ + " <transition to='end' />"
+ + " </mail>"
+ + " <end name='end'/>"
+ + "</process>");
+ ProcessInstance processInstance = executionService
+ .startProcessInstanceByKey("plainaddress");
+ assertProcessInstanceEnded(processInstance);
+
+ List<WiserMessage> messages = wiser.getMessages();
+ assertEquals(1, messages.size());
+ }
+
+ public void testMailWithFactory() {
+ deployJpdlXmlString("<process name='mail_with_factory' xmlns='http://jbpm.org/4.4/jpdl'>"
+ + " <start>"
+ + " <transition to='send mail' />"
+ + " </start>"
+ + " <mail name='send mail' class='" + AuditMailProducer.class.getName() + "'>"
+ + " <property name='template'>"
+ + " <object method='getTemplate'>"
+ + " <factory><ref type='org.jbpm.pvm.internal.email.impl.MailTemplateRegistry'/></factory>"
+ + " <arg><string value='task-notification'/></arg>"
+ + " </object>"
+ + " </property>"
+ + " <property name='auditGroup'><string value='thinkpol'/></property>"
+ + " <transition to='wait' />"
+ + " </mail>"
+ + " <state name='wait'>"
+ + " <transition to='end'/>"
+ + " </state>"
+ + " <end name='end'/>"
+ + "</process>");
+ ProcessInstance processInstance = executionService
+ .startProcessInstanceByKey("mail_with_factory");
+
+ assertNotNull(executionService.getVariable(processInstance.getId(), "mailTemplate"));
+ }
+
+ public static class AuditMailProducer implements MailProducer {
+
+ private static final Log log = Log.getLog(AuditMailProducer.class.getName());
+
+ private MailTemplate mailTemplate;
+ private String auditGroup;
+ public Collection<Message> produce(Execution execution) {
+ log.info("MailTemplate : " + mailTemplate + ", auditGroup : " + auditGroup);
+
+ ((ExecutionImpl) execution).setVariable("mailTemplate", mailTemplate);
+
+ return Collections.EMPTY_SET;
+ }
+ public void setTemplate(MailTemplate mailTemplate) {
+ this.mailTemplate = mailTemplate;
+ }
+ public void setAuditGroup(String auditGroup) {
+ this.auditGroup = auditGroup;
+ }
+ }
+}
+
13 years, 11 months
JBoss JBPM SVN: r6528 - jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-23 12:47:23 -0400 (Fri, 23 Jul 2010)
New Revision: 6528
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml
Log:
JBPM-2916 update tree cache configuration to match the recommendation from the hibernate-jbc-cacheprovider project
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml 2010-07-23 12:28:26 UTC (rev 6527)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml 2010-07-23 16:47:23 UTC (rev 6528)
@@ -3,6 +3,14 @@
<server>
<!-- JAAS login configuration that dynamically updates the application server policy -->
<mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jboss.jbpm:service=LoginConfig">
+ <depends optional-attribute-name="LoginConfigService">
+ jboss.security:service=XMLLoginConfig
+ </depends>
+
+ <depends optional-attribute-name="SecurityManagerService">
+ jboss.security:service=JaasSecurityManager
+ </depends>
+
<attribute name="PolicyConfig" serialDataType="jbxb">
<jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd"
xmlns:jaas="urn:jboss:security-config:4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -11,11 +19,13 @@
<jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag="required">
<jaas:module-option name="dsJndiName">java:JbpmDS</jaas:module-option>
+
<jaas:module-option name="principalsQuery">
SELECT PASSWORD_
FROM JBPM_ID_USER
WHERE NAME_=?
</jaas:module-option>
+
<jaas:module-option name="rolesQuery">
SELECT g.NAME_ ,'Roles'
FROM JBPM_ID_GROUP g
@@ -28,18 +38,9 @@
</jaas:application-policy>
</jaas:policy>
</attribute>
- <depends optional-attribute-name="LoginConfigService">
- jboss.security:service=XMLLoginConfig
- </depends>
- <depends optional-attribute-name="SecurityManagerService">
- jboss.security:service=JaasSecurityManager
- </depends>
</mbean>
- <!--
- Cache service configuration that serves as the Hibernate second level cache. Use with
- JBossCache >= 1.3.0 ONLY!!!
- -->
+ <!-- JBoss Cache service configuration for use with Hibernate -->
<mbean code="org.jboss.cache.TreeCache" name="org.jboss.jbpm:service=TreeCache,type=Hibernate">
<depends>jboss:service=Naming</depends>
<depends>jboss:service=TransactionManager</depends>
@@ -49,81 +50,104 @@
org.jboss.cache.JBossTransactionManagerLookup
</attribute>
- <!-- Node locking scheme: PESSIMISTIC (default), OPTIMISTIC -->
+ <!--
+ Node locking scheme:
+ OPTIMISTIC
+ PESSIMISTIC (default)
+ -->
<attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
<!--
- Node locking isolation level: SERIALIZABLE, REPEATABLE_READ (default), READ_COMMITTED,
- READ_UNCOMMITTED, NONE (ignored if NodeLockingScheme is OPTIMISTIC)
+ Note that this attribute is IGNORED if your NodeLockingScheme above is OPTIMISTIC.
+
+ Isolation level:
+ SERIALIZABLE
+ REPEATABLE_READ (default)
+ READ_COMMITTED
+ READ_UNCOMMITTED
+ NONE
+
+ Once a tx reads an item from the 2nd Level Cache, Hibernate caches it in the Session
+ object and does not go back to the 2LC for that same object. So READ_COMMITTED
+ should be enough. There is no benefit using REPEATABLE_READ.
-->
- <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+ <attribute name="IsolationLevel">READ_COMMITTED</attribute>
- <!-- Valid modes are LOCAL, REPL_ASYNC, REPL_SYNC, INVALIDATION_ASYNC, INVALIDATION_SYNC -->
- <!-- If query cache is disabled, the recommended cache mode is INVALIDATION_SYNC -->
- <attribute name="CacheMode">INVALIDATION_SYNC</attribute>
+ <!--
+ Cache mode:
+ LOCAL
+ REPL_ASYNC
+ REPL_SYNC
+ INVALIDATION_ASYNC
+ INVALIDATION_SYNC
- <!-- Whether each interceptor has an mbean registered to capture and display its statistics -->
- <attribute name="UseInterceptorMbeans">true</attribute>
+ INVALIDATION_ASYNC is recommended for use with clustered second-level caches.
+ -->
+ <attribute name="CacheMode">LOCAL</attribute>
- <!-- Name of cluster, needs to be the same for all clusters, in order to find each other -->
- <attribute name="ClusterName">jBPM-Cache-Cluster</attribute>
+ <!-- Name of cluster. Needs to be the same for all clusters, in order to find each other -->
+ <attribute name="ClusterName">TreeCache-Cluster</attribute>
- <!-- JGroups protocol stack properties -->
<attribute name="ClusterConfig">
<config>
- <!-- UDP: in multihomed machines, set bind_addr to the appropriate NIC IP address -->
- <!--
- UDP: On Windows machines, because of the media sense feature being broken with
- multicast (even after disabling media sense) set the loopback attribute to true
- -->
- <UDP mcast_addr="228.1.2.3" mcast_port="48866" ip_ttl="64" ip_mcast="true"
- mcast_send_buf_size="150000" mcast_recv_buf_size="80000" ucast_send_buf_size="150000"
- ucast_recv_buf_size="80000" loopback="false" />
- <PING timeout="2000" num_initial_members="3" />
- <MERGE2 min_interval="10000" max_interval="20000" />
- <FD_SOCK />
- <VERIFY_SUSPECT timeout="1500" />
- <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
- max_xmit_size="8192" />
- <UNICAST timeout="600,1200,2400" />
- <pbcast.STABLE desired_avg_gossip="20000" />
- <FRAG frag_size="8192" />
- <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true"
- print_local_addr="true" />
- <pbcast.STATE_TRANSFER />
+ <UDP mcast_addr="230.1.2.3" mcast_port="43333" tos="8" ucast_recv_buf_size="20000000"
+ ucast_send_buf_size="640000" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
+ loopback="false" discard_incompatible_packets="true" enable_bundling="true"
+ max_bundle_size="64000" max_bundle_timeout="30" use_incoming_packet_handler="true"
+ use_outgoing_packet_handler="false" ip_ttl="2" down_thread="false" up_thread="false" />
+ <PING timeout="2000" down_thread="false" up_thread="false" num_initial_members="3" />
+ <MERGE2 max_interval="100000" down_thread="false" up_thread="false" min_interval="20000" />
+ <FD_SOCK down_thread="false" up_thread="false" />
+ <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true" />
+ <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
+ <pbcast.NAKACK max_xmit_size="60000" use_mcast_xmit="false" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" down_thread="false" up_thread="false"
+ discard_delivered_msgs="true" />
+ <UNICAST timeout="300,600,1200,2400,3600" down_thread="false" up_thread="false" />
+ <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+ down_thread="false" up_thread="false" max_bytes="400000" />
+ <pbcast.GMS print_local_addr="true" join_timeout="3000" down_thread="false"
+ up_thread="false" join_retry_timeout="2000" shun="true" view_bundling="true" />
+ <FRAG2 frag_size="60000" down_thread="false" up_thread="false" />
+ <pbcast.STATE_TRANSFER down_thread="false" up_thread="false"
+ use_flush="false" />
</config>
</attribute>
- <!-- Whether to fetch state on joining a cluster -->
+ <!-- Whether or not to fetch state on joining a cluster -->
<attribute name="FetchInMemoryState">false</attribute>
- <!--
- Max time in milliseconds to wait until the initial state (the contents of the cache) are
- retrieved from existing members in a clustered environment
- -->
- <attribute name="InitialStateRetrievalTimeout">20000</attribute>
+ <!-- Time to wait until all responses for a synchronous call have been received -->
+ <attribute name="SyncReplTimeout">20000</attribute>
- <!-- Milliseconds to wait until all responses for a synchronous call have been received -->
- <attribute name="SyncReplTimeout">10000</attribute>
-
- <!-- Max number of milliseconds to wait for a lock acquisition -->
+ <!-- Max number of milliseconds to wait for a lock acquisition -->
<attribute name="LockAcquisitionTimeout">15000</attribute>
- <!-- Name of the eviction policy class -->
- <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+ <!--
+ Indicate whether to use marshalling. Set this to true if you are running under a scoped
+ class loader, for instance, inside an application server. Default is "false".
+ -->
+ <attribute name="UseRegionBasedMarshalling">true</attribute>
+ <!-- Must match the value of "useRegionBasedMarshalling" -->
+ <attribute name="InactiveOnStartup">true</attribute>
<!-- Specific eviction policy configurations. This is LRU -->
<attribute name="EvictionPolicyConfig">
<config>
<attribute name="wakeUpIntervalSeconds">5</attribute>
+ <!-- Name of the DEFAULT eviction policy class. -->
+ <attribute name="policyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
<!-- Cache wide default -->
<region name="/_default_">
<attribute name="maxNodes">5000</attribute>
<attribute name="timeToLiveSeconds">1000</attribute>
- <!-- Maximum time an object is kept in cache regardless of idle time -->
- <attribute name="maxAgeSeconds">120</attribute>
</region>
+ <!-- Do not ever evict modification timestamps -->
+ <region name="/TS">
+ <attribute name="maxNodes">0</attribute>
+ <attribute name="timeToLiveSeconds">0</attribute>
+ </region>
</config>
</attribute>
</mbean>
-</server>
\ No newline at end of file
+</server>
13 years, 11 months
JBoss JBPM SVN: r6527 - in jbpm3/branches/jbpm-3.2-soa: modules/core/src/main/resources and 9 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-23 08:28:26 -0400 (Fri, 23 Jul 2010)
New Revision: 6527
Added:
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml
Removed:
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/src/main/java/org/jbpm/command/
jbpm3/branches/jbpm-3.2-soa/modules/identity/scripts/assembly-service.xml
jbpm3/branches/jbpm-3.2-soa/modules/identity/src/main/etc/
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.cache.xml
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.common.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/scripts/antrun-installer.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/auto-install-template.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/install-definition.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/user-input-spec.xml
jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml
jbpm3/branches/jbpm-3.2-soa/pom.xml
jbpm3/branches/jbpm-3.2-soa/profiles.example.xml
Log:
JBPM-2916 employ jboss cache in the enterprise configuration
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.cache.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.cache.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.cache.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -3,7 +3,8 @@
<!-- # cache settings # -->
<!-- ##################-->
- <!-- strategy="nonstrict-read-write" can be used with HashtableCacheProvider -->
+ <!-- strategy "nonstrict-read-write" is appropriate for HashtableCacheProvider -->
+ <!-- strategy "transactional" is appropriate for TreeCacheProvider -->
<class-cache class="org.jbpm.bytes.ByteArray" usage="nonstrict-read-write" />
<collection-cache collection="org.jbpm.bytes.ByteArray.byteBlocks" usage="nonstrict-read-write" />
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.common.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.common.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.common.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -3,11 +3,13 @@
==== DataSource properties (end) -->
<!-- JTA transaction properties (begin) ===
+ <property name="hibernate.current_session_context_class">jta</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
==== JTA transaction properties (end) -->
<!-- CMT transaction properties (begin) ===
+ <property name="hibernate.current_session_context_class">jta</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
==== CMT transaction properties (end) -->
@@ -16,9 +18,17 @@
<!-- # common settings # -->
<!-- ################################### -->
- <!-- Simple memory-only cache -->
+ <property name="hibernate.cache.use_second_level_cache">true</property>
+
+ <!-- Memory cache (begin) -->
<property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
+ <!-- Memory cache (end) -->
+ <!-- Clustered cache (begin) ===
+ <property name="hibernate.cache.provider_class">org.jboss.hibernate.jbc.cacheprovider.JmxBoundTreeCacheProvider</property>
+ <property name="hibernate.treecache.mbean.object_name">org.jboss.jbpm:service=TreeCache,type=Hibernate</property>
+ ==== Clustered cache (end) -->
+
<!-- SQL rendering properties (begin) ===
<property name="hibernate.format_sql">true</property>
<property name="hibernate.use_sql_comments">true</property>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -73,13 +73,6 @@
</dependency>
<dependency>
<groupId>org.jbpm.jbpm3</groupId>
- <artifactId>jbpm-identity</artifactId>
- <classifier>service</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm-jpdl</artifactId>
<version>${project.version}</version>
</dependency>
@@ -156,6 +149,10 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.jboss.cluster</groupId>
+ <artifactId>hibernate-jbc-cacheprovider</artifactId>
+ </dependency>
<!-- Database Drivers -->
<dependency>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/scripts/antrun-installer.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/scripts/antrun-installer.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/scripts/antrun-installer.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
+
<project name="installer">
-
<macrodef name="macro-disable">
<attribute name="file" />
<attribute name="section" />
@@ -72,6 +72,11 @@
<macro-disable file="${db2.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${db2.cfg.xml}" section="DataSource properties" />
<macro-enable file="${db2.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${db2.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${db2.cfg.xml}" section="Clustered cache" />
+ <replace file="${db2.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<property name="hsqldb.cfg.xml"
value="${project.build.assembly.resources}/jbpm-jpdl-config/hibernate.cfg.hsqldb.xml" />
@@ -85,34 +90,59 @@
<macro-disable file="${mssql.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${mssql.cfg.xml}" section="DataSource properties" />
<macro-enable file="${mssql.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${mssql.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${mssql.cfg.xml}" section="Clustered cache" />
+ <replace file="${mssql.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<property name="mysql.cfg.xml"
value="${project.build.assembly.resources}/jbpm-jpdl-config/hibernate.cfg.mysql.xml" />
<macro-disable file="${mysql.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${mysql.cfg.xml}" section="DataSource properties" />
<macro-enable file="${mysql.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${mysql.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${mysql.cfg.xml}" section="Clustered cache" />
+ <replace file="${mysql.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<property name="oracle.cfg.xml"
value="${project.build.assembly.resources}/jbpm-jpdl-config/hibernate.cfg.oracle.xml" />
<macro-disable file="${oracle.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${oracle.cfg.xml}" section="DataSource properties" />
<macro-enable file="${oracle.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${oracle.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${oracle.cfg.xml}" section="Clustered cache" />
+ <replace file="${oracle.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<property name="postgresql.cfg.xml"
value="${project.build.assembly.resources}/jbpm-jpdl-config/hibernate.cfg.postgresql.xml" />
<macro-disable file="${postgresql.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${postgresql.cfg.xml}" section="DataSource properties" />
<macro-enable file="${postgresql.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${postgresql.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${postgresql.cfg.xml}" section="Clustered cache" />
+ <replace file="${postgresql.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<property name="sybase.cfg.xml"
value="${project.build.assembly.resources}/jbpm-jpdl-config/hibernate.cfg.sybase.xml" />
<macro-disable file="${sybase.cfg.xml}" section="JDBC connection properties" />
<macro-enable file="${sybase.cfg.xml}" section="DataSource properties" />
<macro-enable file="${sybase.cfg.xml}" section="JTA transaction properties" />
+ <macro-disable file="${sybase.cfg.xml}" section="Memory cache" />
+ <macro-enable file="${sybase.cfg.xml}" section="Clustered cache" />
+ <replace file="${sybase.cfg.xml}"
+ token="usage="nonstrict-read-write""
+ value="usage="transactional"" />
<subant genericantfile="${ant.file}" target="reorganize-example" inheritall="yes">
<dirset dir="${project.build.assembly.resources}/jbpm-examples-dev/src/test/resources"
- includes="*" />
+ includes="*" />
</subant>
<copy todir="${project.build.assembly.resources}/jbpm-examples-dist">
<fileset dir="${resources.dir}/examples" excludes="module/**" />
@@ -122,8 +152,10 @@
<!-- ================================================================== -->
<!-- Distribution -->
<!-- ================================================================== -->
- <target name="process-resources" depends="configure" description="prepares installer resources">
- <copy todir="${resources.output.dir}" filtering="true" overwrite="true">
+ <target name="process-resources"
+ depends="configure"
+ description="prepares installer resources">
+ <copy todir="${resources.output.dir}" overwrite="true">
<fileset dir="${resources.dir}/installer" />
<filterset>
<filter token="user.home" value="${user.home}" />
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/auto-install-template.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/auto-install-template.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/auto-install-template.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -14,7 +14,7 @@
</com.izforge.izpack.panels.TreePacksPanel>
<com.izforge.izpack.panels.UserInputPanel>
<userInput>
- <entry key="jbossTargetServer" value="default" />
+ <entry key="jbossTargetServer" value="all" />
<entry key="jbossSelection" value="@container@" />
</userInput>
</com.izforge.izpack.panels.UserInputPanel>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/install-definition.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/install-definition.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/install-definition.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -199,10 +199,10 @@
targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar">
<include name="jbpm-jpdl.jar" />
<include name="jbpm-identity.jar" />
+ <include name="hibernate-jbc-cacheprovider.jar" />
</fileset>
- <file src="@{project.build.assemblyDirectory}/lib/jbpm-identity-service.zip"
- targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar"
- unpack="true" />
+ <file src="@{resources.directory}/service/jboss-service.xml"
+ targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar/META-INF" />
<!-- jbpm/jbpm-enterprise.jar -->
<file src="@{project.build.assemblyDirectory}/lib/jbpm-enterprise.jar"
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/user-input-spec.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/user-input-spec.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/installer/user-input-spec.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -13,7 +13,7 @@
</field>
<field type="space" />
<field type="text" variable="jbossTargetServer">
- <spec id="jboss.configuration" size="5" set="default" />
+ <spec id="jboss.configuration" size="5" set="all" />
</field>
</panel>
<panel order="1">
Copied: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml (from rev 6522, jbpm3/branches/jbpm-3.2-soa/modules/identity/src/main/etc/jboss-service.xml)
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml (rev 0)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/service/jboss-service.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <!-- JAAS login configuration that dynamically updates the application server policy -->
+ <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jboss.jbpm:service=LoginConfig">
+ <attribute name="PolicyConfig" serialDataType="jbxb">
+ <jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd"
+ xmlns:jaas="urn:jboss:security-config:4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <jaas:application-policy name="jbpm-console">
+ <jaas:authentication>
+ <jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
+ flag="required">
+ <jaas:module-option name="dsJndiName">java:JbpmDS</jaas:module-option>
+ <jaas:module-option name="principalsQuery">
+ SELECT PASSWORD_
+ FROM JBPM_ID_USER
+ WHERE NAME_=?
+ </jaas:module-option>
+ <jaas:module-option name="rolesQuery">
+ SELECT g.NAME_ ,'Roles'
+ FROM JBPM_ID_GROUP g
+ JOIN JBPM_ID_MEMBERSHIP m ON g.ID_ = m.GROUP_
+ JOIN JBPM_ID_USER u ON m.USER_ = u.ID_
+ WHERE g.TYPE_='security-role' AND u.NAME_=?
+ </jaas:module-option>
+ </jaas:login-module>
+ </jaas:authentication>
+ </jaas:application-policy>
+ </jaas:policy>
+ </attribute>
+ <depends optional-attribute-name="LoginConfigService">
+ jboss.security:service=XMLLoginConfig
+ </depends>
+ <depends optional-attribute-name="SecurityManagerService">
+ jboss.security:service=JaasSecurityManager
+ </depends>
+ </mbean>
+
+ <!--
+ Cache service configuration that serves as the Hibernate second level cache. Use with
+ JBossCache >= 1.3.0 ONLY!!!
+ -->
+ <mbean code="org.jboss.cache.TreeCache" name="org.jboss.jbpm:service=TreeCache,type=Hibernate">
+ <depends>jboss:service=Naming</depends>
+ <depends>jboss:service=TransactionManager</depends>
+
+ <!-- Configure the TransactionManager -->
+ <attribute name="TransactionManagerLookupClass">
+ org.jboss.cache.JBossTransactionManagerLookup
+ </attribute>
+
+ <!-- Node locking scheme: PESSIMISTIC (default), OPTIMISTIC -->
+ <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
+
+ <!--
+ Node locking isolation level: SERIALIZABLE, REPEATABLE_READ (default), READ_COMMITTED,
+ READ_UNCOMMITTED, NONE (ignored if NodeLockingScheme is OPTIMISTIC)
+ -->
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+ <!-- Valid modes are LOCAL, REPL_ASYNC, REPL_SYNC, INVALIDATION_ASYNC, INVALIDATION_SYNC -->
+ <!-- If query cache is disabled, the recommended cache mode is INVALIDATION_SYNC -->
+ <attribute name="CacheMode">INVALIDATION_SYNC</attribute>
+
+ <!-- Whether each interceptor has an mbean registered to capture and display its statistics -->
+ <attribute name="UseInterceptorMbeans">true</attribute>
+
+ <!-- Name of cluster, needs to be the same for all clusters, in order to find each other -->
+ <attribute name="ClusterName">jBPM-Cache-Cluster</attribute>
+
+ <!-- JGroups protocol stack properties -->
+ <attribute name="ClusterConfig">
+ <config>
+ <!-- UDP: in multihomed machines, set bind_addr to the appropriate NIC IP address -->
+ <!--
+ UDP: On Windows machines, because of the media sense feature being broken with
+ multicast (even after disabling media sense) set the loopback attribute to true
+ -->
+ <UDP mcast_addr="228.1.2.3" mcast_port="48866" ip_ttl="64" ip_mcast="true"
+ mcast_send_buf_size="150000" mcast_recv_buf_size="80000" ucast_send_buf_size="150000"
+ ucast_recv_buf_size="80000" loopback="false" />
+ <PING timeout="2000" num_initial_members="3" />
+ <MERGE2 min_interval="10000" max_interval="20000" />
+ <FD_SOCK />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+ max_xmit_size="8192" />
+ <UNICAST timeout="600,1200,2400" />
+ <pbcast.STABLE desired_avg_gossip="20000" />
+ <FRAG frag_size="8192" />
+ <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true"
+ print_local_addr="true" />
+ <pbcast.STATE_TRANSFER />
+ </config>
+ </attribute>
+
+ <!-- Whether to fetch state on joining a cluster -->
+ <attribute name="FetchInMemoryState">false</attribute>
+
+ <!--
+ Max time in milliseconds to wait until the initial state (the contents of the cache) are
+ retrieved from existing members in a clustered environment
+ -->
+ <attribute name="InitialStateRetrievalTimeout">20000</attribute>
+
+ <!-- Milliseconds to wait until all responses for a synchronous call have been received -->
+ <attribute name="SyncReplTimeout">10000</attribute>
+
+ <!-- Max number of milliseconds to wait for a lock acquisition -->
+ <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+ <!-- Name of the eviction policy class -->
+ <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
+
+ <!-- Specific eviction policy configurations. This is LRU -->
+ <attribute name="EvictionPolicyConfig">
+ <config>
+ <attribute name="wakeUpIntervalSeconds">5</attribute>
+ <!-- Cache wide default -->
+ <region name="/_default_">
+ <attribute name="maxNodes">5000</attribute>
+ <attribute name="timeToLiveSeconds">1000</attribute>
+ <!-- Maximum time an object is kept in cache regardless of idle time -->
+ <attribute name="maxAgeSeconds">120</attribute>
+ </region>
+ </config>
+ </attribute>
+ </mbean>
+</server>
\ No newline at end of file
Modified: jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -76,21 +76,6 @@
</descriptors>
</configuration>
</execution>
-
- <execution>
- <id>assembly-service</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>${project.build.finalName}</finalName>
- <appendAssemblyId>true</appendAssemblyId>
- <descriptors>
- <descriptor>scripts/assembly-service.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
</executions>
</plugin>
Deleted: jbpm3/branches/jbpm-3.2-soa/modules/identity/scripts/assembly-service.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/identity/scripts/assembly-service.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/modules/identity/scripts/assembly-service.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -1,17 +0,0 @@
-<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
- <id>service</id>
- <formats>
- <format>zip</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <directory>src/main/etc</directory>
- <outputDirectory>/META-INF</outputDirectory>
- <includes>
- <include>jboss-service.xml</include>
- </includes>
- </fileSet>
- </fileSets>
-</assembly>
\ No newline at end of file
Modified: jbpm3/branches/jbpm-3.2-soa/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -204,6 +204,11 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.jboss.cluster</groupId>
+ <artifactId>hibernate-jbc-cacheprovider</artifactId>
+ <version>1.0.1.GA</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>${jackrabbit.version}</version>
Modified: jbpm3/branches/jbpm-3.2-soa/profiles.example.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/profiles.example.xml 2010-07-23 08:44:15 UTC (rev 6526)
+++ jbpm3/branches/jbpm-3.2-soa/profiles.example.xml 2010-07-23 12:28:26 UTC (rev 6527)
@@ -56,6 +56,11 @@
<jdbc.sybase.password>jbpm3jbpm3</jdbc.sybase.password>
<jdbc.sybase.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.sybase.driver>
<jdbc.sybase.datasource>com.sybase.jdbc3.jdbc.SybXADataSource</jdbc.sybase.datasource>
+
+ <jboss405.home>$USER_HOME/jboss-4.0.5.GA</jboss405.home>
+ <jboss423.home>$USER_HOME/jboss-4.2.3.GA</jboss423.home>
+ <jboss501.home>$USER_HOME/jboss-5.0.1.GA</jboss501.home>
+ <jboss510.home>$USER_HOME/jboss-5.1.0.GA</jboss510.home>
</properties>
</profile>
</profiles>
13 years, 11 months
JBoss JBPM SVN: r6526 - in jbpm3/branches/jbpm-3.2-soa: modules/core and 10 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-23 04:44:15 -0400 (Fri, 23 Jul 2010)
New Revision: 6526
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/db/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/module/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/enterprise/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/examples/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/simulation/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/userguide/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en-US/Book_Info.xml
jbpm3/branches/jbpm-3.2-soa/pom.xml
Log:
bump jbpm soa branch to next development version 3.2.10-SNAPSHOT
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/db/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/db/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/db/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/module/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/module/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/module/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -20,7 +20,7 @@
<parent>
<artifactId>jbpm-examples-dist</artifactId>
<groupId>org.jbpm.jbpm3</groupId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/distribution/src/main/resources/examples/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
</parent>
<modules>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/enterprise/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/enterprise/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/enterprise/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/examples/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/examples/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/examples/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/identity/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/simulation/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/simulation/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/simulation/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/userguide/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/userguide/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/userguide/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
Modified: jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en-US/Book_Info.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en-US/Book_Info.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en-US/Book_Info.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -4,10 +4,10 @@
%BOOK_ENTITIES;
]>
<bookinfo id="book-jBPM_jPDL_User_Guide-jBPM_jPDL_User_Guide">
- <title>jBPM jPDL User Guide</title>
- <subtitle>A guide to developing with and using jBPM 3</subtitle>
+ <title>jBPM User Guide</title>
+ <subtitle>Guide to using and developing with jBPM 3</subtitle>
<productname>jBPM</productname>
- <productnumber>3.2.8</productnumber>
+ <productnumber>3.2.10-SNAPSHOT</productnumber>
<edition>1</edition>
<pubsnumber>1</pubsnumber> <!-- ignore, needed by redhat pubs system -->
<abstract>
Modified: jbpm3/branches/jbpm-3.2-soa/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-07-23 07:27:48 UTC (rev 6525)
+++ jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-07-23 08:44:15 UTC (rev 6526)
@@ -16,7 +16,7 @@
<groupId>org.jbpm.jbpm3</groupId>
<artifactId>jbpm</artifactId>
<packaging>pom</packaging>
- <version>3.2.9</version>
+ <version>3.2.10-SNAPSHOT</version>
<!-- Parent -->
<parent>
13 years, 11 months
JBoss JBPM SVN: r6525 - projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-23 03:27:48 -0400 (Fri, 23 Jul 2010)
New Revision: 6525
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/core.tld
projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/identity.tld
projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tf.tld
projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tfl.tld
Log:
make tag library descriptions valid with respect to their schema
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/core.tld
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/core.tld 2010-07-23 03:28:26 UTC (rev 6524)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/core.tld 2010-07-23 07:27:48 UTC (rev 6525)
@@ -1,60 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1">
+ <description><![CDATA[JSF Tag Library for jBPM applications.]]></description>
<tlib-version>1.2</tlib-version>
<short-name>jbpm</short-name>
<uri>http://jbpm.org/jbpm4jsf/core</uri>
- <description><![CDATA[JSF Tag Library for jBPM applications.]]></description>
<tag>
+ <description><![CDATA[Add a comment to a task or token.]]></description>
<name>addComment</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Add a comment to a task or token.]]></description>
<attribute>
+ <description><![CDATA[An EL expression that returns the comment text to add.]]></description>
<name>comment</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression that returns the comment text to add.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression that returns the node to add a comment to.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression that returns the node to add a comment to.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.GraphElement</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -62,52 +60,52 @@
</tag>
<tag>
+ <description><![CDATA[Apply a variable map to a token, task, or process instance]]></description>
<name>applyVariableMap</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Apply a variable map to a token, task, or process instance]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The token, task, or process instance to apply the variables to.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The token, task, or process instance to apply the variables to.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The variable map to apply.]]></description>
<name>variableMap</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The variable map to apply.]]></description>
<deferred-value>
<type>org.jbpm.jsf.core.impl.UpdatesHashMap</type>
</deferred-value>
@@ -115,61 +113,61 @@
</tag>
<tag>
+ <description><![CDATA[Assign a task to an actor.]]></description>
<name>assignTask</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Assign a task to an actor.]]></description>
<attribute>
+ <description><![CDATA[The actor ID to which the task should be assigned.]]></description>
<name>actorId</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The actor ID to which the task should be assigned.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A flag that indicates whether the swimlane should be overwritten.]]></description>
<name>overwriteSwimlane</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A flag that indicates whether the swimlane should be overwritten.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The task instance to assign.]]></description>
<name>task</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The task instance to assign.]]></description>
<deferred-value>
<type>org.jbpm.taskmgmt.exe.TaskInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -177,43 +175,43 @@
</tag>
<tag>
+ <description><![CDATA[Cancel a running task instance, token, or process instance.]]></description>
<name>cancel</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Cancel a running task instance, token, or process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The item to cancel.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The item to cancel.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -221,52 +219,52 @@
</tag>
<tag>
+ <description><![CDATA[Complete a task.]]></description>
<name>completeTask</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Complete a task.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression that resolves to the task instance to complete.]]></description>
<name>task</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression that resolves to the task instance to complete.]]></description>
<deferred-value>
<type>org.jbpm.taskmgmt.exe.TaskInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression that resolves to either the name of a transition, or the transition object to take upon completing this task.]]></description>
<name>transition</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression that resolves to either the name of a transition, or the transition object to take upon completing this task.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -274,43 +272,43 @@
</tag>
<tag>
+ <description><![CDATA[Delete a process, process instance, or job.]]></description>
<name>delete</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Delete a process, process instance, or job.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The item to delete.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The item to delete.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -318,52 +316,52 @@
</tag>
<tag>
+ <description><![CDATA[Deploy a new process archive.]]></description>
<name>deployProcess</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Deploy a new process archive.]]></description>
<attribute>
+ <description><![CDATA[The source of the archive, as an input stream or a byte array.]]></description>
<name>archive</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The source of the archive, as an input stream or a byte array.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the new process definition will be inserted.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the new process definition will be inserted.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -371,52 +369,52 @@
</tag>
<tag>
+ <description><![CDATA[Read process definition diagram information from the database.]]></description>
<name>getDiagramInfo</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read process definition diagram information from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The the process definition to read diagram information for.]]></description>
<name>process</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The the process definition to read diagram information for.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the diagram information should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the diagram information should be stored.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -424,52 +422,52 @@
</tag>
<tag>
+ <description><![CDATA[Get the process logs from a process instance.]]></description>
<name>getProcessLogs</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Get the process logs from a process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process instance whose process logs are to be read.]]></description>
<name>processInstance</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process instance whose process logs are to be read.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.ProcessInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process log type. This may be a literal Class object, or the name of a class, or one of the following shortcut names:<ul><li><code>variable</code></li><li><code>variableUpdate</code></li><li><code>variableCreate</code></li><li><code>variableDelete</code></li><li><code>action</code></li><li><code>node</code></li><li><code>processInstanceCreate</code></li><li><code>processInstanceEnd</code></li><li><code>processState</code></li><li><code>signal</code></li><li><code>tokenCreate</code></li><li><code>tokenEnd</code></li><li><code>transition</code></li><li><code>composite</code></li><li><code>message</code></li><li><code>swimlane</code></li><li><code>swimlaneAssign</code></li><li><code>swimlaneCreate</code></li><li><code>task</code></li><li><code>taskAssign</code></li><li><code>taskCreate</code></li><li><code>taskEnd</code></li></ul>]]></description>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process log type. This may be a literal Class object, or the name of a class, or one of the following shortcut names:<ul><li><code>variable</code></li><li><code>variableUpdate</code></li><li><code>variableCreate</code></li><li><code>variableDelete</code></li><li><code>action</code></li><li><code>node</code></li><li><code>processInstanceCreate</code></li><li><code>processInstanceEnd</code></li><li><code>processState</code></li><li><code>signal</code></li><li><code>tokenCreate</code></li><li><code>tokenEnd</code></li><li><code>transition</code></li><li><code>composite</code></li><li><code>message</code></li><li><code>swimlane</code></li><li><code>swimlaneAssign</code></li><li><code>swimlaneCreate</code></li><li><code>task</code></li><li><code>taskAssign</code></li><li><code>taskCreate</code></li><li><code>taskEnd</code></li></ul>]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -477,52 +475,52 @@
</tag>
<tag>
+ <description><![CDATA[Read process definition task form information from the database.]]></description>
<name>getTaskFormInfo</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read process definition task form information from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The the process definition to read task form information for.]]></description>
<name>process</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The the process definition to read task form information for.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task form information should be stored. This will be in the form of a map whose keys are task names and whose values are the name of the task form file, if any.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task form information should be stored. This will be in the form of a map whose keys are task names and whose values are the name of the task form file, if any.]]></description>
<deferred-value>
<type>java.util.Map</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -530,61 +528,61 @@
</tag>
<tag>
+ <description><![CDATA[Get the value of a process variable.]]></description>
<name>getVariable</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Get the value of a process variable.]]></description>
<attribute>
+ <description><![CDATA[The token, task, or process instance from which the variable value should be retrieved.]]></description>
<name>entity</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The token, task, or process instance from which the variable value should be retrieved.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The name of the variable to remove.]]></description>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the variable to remove.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the variable value will be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the variable value will be stored.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -592,52 +590,52 @@
</tag>
<tag>
+ <description><![CDATA[Get the variable map from a token, process instance, or task.]]></description>
<name>getVariableMap</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Get the variable map from a token, process instance, or task.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the variable map will be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the variable map will be stored.]]></description>
<deferred-value>
<type>java.util.Map</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The entity from which the variable should be retrieved.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The entity from which the variable should be retrieved.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -645,25 +643,25 @@
</tag>
<tag>
+ <description><![CDATA[Include a process file.]]></description>
<name>includeProcessFile</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Include a process file.]]></description>
<attribute>
+ <description><![CDATA[The name of a file within the process to include.]]></description>
<name>file</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of a file within the process to include.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process definition from which the file should be read.]]></description>
<name>process</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process definition from which the file should be read.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
@@ -671,52 +669,52 @@
</tag>
<tag>
+ <description><![CDATA[Call a user-defined action, providing the action with a JbpmJsfContext.]]></description>
<name>jbpmActionListener</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Call a user-defined action, providing the action with a JbpmJsfContext.]]></description>
<attribute>
+ <description><![CDATA[An EL expression that resolves to the listener to execute. Either this or the 'type' attribute must be given.]]></description>
<name>listener</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression that resolves to the listener to execute. Either this or the 'type' attribute must be given.]]></description>
<deferred-value>
<type>org.jbpm.jsf.JbpmActionListener</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The type of the action. Can be an EL expression which resolves to a literal Class object, or the name of a class as a String. Either this or the 'listener' attribute must be given.]]></description>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The type of the action. Can be an EL expression which resolves to a literal Class object, or the name of a class as a String. Either this or the 'listener' attribute must be given.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -724,43 +722,43 @@
</tag>
<tag>
+ <description><![CDATA[List all jobs in the database.]]></description>
<name>listJobs</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[List all jobs in the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the list will be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the list will be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -768,43 +766,43 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of process definitions from the database.]]></description>
<name>listProcesses</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of process definitions from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the process definition list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the process definition list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -812,52 +810,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of process instances from a process definition.]]></description>
<name>listProcessInstances</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of process instances from a process definition.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The numeric ID of the process definition whose instances are to be read.]]></description>
<name>processId</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The numeric ID of the process definition whose instances are to be read.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the process instance list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the process instance list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -865,52 +863,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of task instances from the database.]]></description>
<name>listTasks</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of task instances from the database.]]></description>
<attribute>
+ <description><![CDATA[A flag specifying whether ended tasks should be included.]]></description>
<name>includeEnded</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A flag specifying whether ended tasks should be included.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -918,52 +916,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of task instances assigned to an actor ID.]]></description>
<name>listTasksForActor</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of task instances assigned to an actor ID.]]></description>
<attribute>
+ <description><![CDATA[The actor ID whose task instances are to be read.]]></description>
<name>actorId</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The actor ID whose task instances are to be read.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -971,52 +969,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of task instances from a process definition.]]></description>
<name>listTasksForProcess</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of task instances from a process definition.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process whose task instances are to be read.]]></description>
<name>process</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process whose task instances are to be read.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1024,52 +1022,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a list of task instances from a process instance.]]></description>
<name>listTasksForProcessInstance</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a list of task instances from a process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process instance whose task instances are to be read.]]></description>
<name>processInstance</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process instance whose task instances are to be read.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.ProcessInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task instance list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1077,52 +1075,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a token list from a process instance.]]></description>
<name>listTokens</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a token list from a process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process instalce to read the token list from.]]></description>
<name>processInstance</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process instalce to read the token list from.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.ProcessInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the token list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the token list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1130,52 +1128,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a job instance from the database.]]></description>
<name>loadJob</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a job instance from the database.]]></description>
<attribute>
+ <description><![CDATA[The ID of the job to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the job to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the job should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the job should be stored.]]></description>
<deferred-value>
<type>org.jbpm.job.Job</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1183,52 +1181,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a process definition from the database.]]></description>
<name>loadProcess</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a process definition from the database.]]></description>
<attribute>
+ <description><![CDATA[The ID of the process definition to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the process definition to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the process definition should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the process definition should be stored.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1236,61 +1234,61 @@
</tag>
<tag>
+ <description><![CDATA[Read a process instance from the database.]]></description>
<name>loadProcessInstance</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a process instance from the database.]]></description>
<attribute>
+ <description><![CDATA[A boolean that controls whether the process instance is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<name>forUpdate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean that controls whether the process instance is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The ID of the process instance to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the process instance to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the process instance should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the process instance should be stored.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.ProcessInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1298,61 +1296,61 @@
</tag>
<tag>
+ <description><![CDATA[Read a task instance from the database.]]></description>
<name>loadTask</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a task instance from the database.]]></description>
<attribute>
+ <description><![CDATA[A boolean that controls whether the task instance is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<name>forUpdate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean that controls whether the task instance is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The ID of the task instance to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the task instance to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the task instance should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the task instance should be stored.]]></description>
<deferred-value>
<type>org.jbpm.taskmgmt.exe.TaskInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1360,61 +1358,61 @@
</tag>
<tag>
+ <description><![CDATA[Read a token from the database.]]></description>
<name>loadToken</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a token from the database.]]></description>
<attribute>
+ <description><![CDATA[A boolean that controls whether the token is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<name>forUpdate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean that controls whether the token is to be read for update. This typically entails using a <code>SELECT ... FOR UPDATE</code> statement, when database persistence is involved. By default, this flag is <code>false</code> if the action is invoked during the <code>RENDER_RESPONSE</code> phase, and <code>true</code> otherwise.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The ID of the token to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the token to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the token should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the token should be stored.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.Token</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1422,52 +1420,52 @@
</tag>
<tag>
+ <description><![CDATA[Move a token to a new node. Note that this does not affect any tasks that may be active and associated with this token.]]></description>
<name>moveToken</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Move a token to a new node. Note that this does not affect any tasks that may be active and associated with this token.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression which resolves to the node to move the token to, or the name of the node.]]></description>
<name>node</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression which resolves to the node to move the token to, or the name of the node.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression which resolves to the token that is to be moved.]]></description>
<name>token</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression which resolves to the token that is to be moved.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.Token</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1475,61 +1473,61 @@
</tag>
<tag>
+ <description><![CDATA[Remove a process variable. Optionally store the old value into an EL expression.]]></description>
<name>removeVariable</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Remove a process variable. Optionally store the old value into an EL expression.]]></description>
<attribute>
+ <description><![CDATA[The token, task, or process instance from which the variable should be removed.]]></description>
<name>entity</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The token, task, or process instance from which the variable should be removed.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The name of the variable to remove.]]></description>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the variable to remove.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An optional EL expression into which the old variable value will be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An optional EL expression into which the old variable value will be stored.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1537,43 +1535,43 @@
</tag>
<tag>
+ <description><![CDATA[Resume a running task, token, or process instance.]]></description>
<name>resume</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Resume a running task, token, or process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The item to resume.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The item to resume.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -1581,52 +1579,52 @@
</tag>
<tag>
+ <description><![CDATA[Signal a token or process instance. Optionally specify the transition.]]></description>
<name>signal</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Signal a token or process instance. Optionally specify the transition.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The transition, or transition name, to signal the item along.]]></description>
<name>transition</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The transition, or transition name, to signal the item along.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The item to signal.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The item to signal.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -1634,52 +1632,52 @@
</tag>
<tag>
+ <description><![CDATA[Start a process.]]></description>
<name>startProcess</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Start a process.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The process definition to begin executing.]]></description>
<name>process</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The process definition to begin executing.]]></description>
<deferred-value>
<type>org.jbpm.graph.def.ProcessDefinition</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the new process instance will be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the new process instance will be stored.]]></description>
<deferred-value>
<type>org.jbpm.graph.exe.ProcessInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1687,61 +1685,61 @@
</tag>
<tag>
+ <description><![CDATA[Mark a task as started.]]></description>
<name>startTask</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Mark a task as started.]]></description>
<attribute>
+ <description><![CDATA[The actor to assign the task to. If not given, the current actor is not changed.]]></description>
<name>actorId</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The actor to assign the task to. If not given, the current actor is not changed.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A flag specifying whether the swimlane will be overwritten.]]></description>
<name>overwriteSwimlane</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A flag specifying whether the swimlane will be overwritten.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The task to mark as started.]]></description>
<name>task</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The task to mark as started.]]></description>
<deferred-value>
<type>org.jbpm.taskmgmt.exe.TaskInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1749,43 +1747,43 @@
</tag>
<tag>
+ <description><![CDATA[Suspend a running task, token, or process instance.]]></description>
<name>suspend</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Suspend a running task, token, or process instance.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The item to suspend.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The item to suspend.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
@@ -1793,25 +1791,25 @@
</tag>
<tag>
+ <description><![CDATA[Represents the task form action source.]]></description>
<name>taskForm</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Represents the task form action source.]]></description>
<attribute>
+ <description><![CDATA[An EL expression into which the type of button clicked will be stored. It will be one of: <ul><li><code>cancel</code></li><li><code>save</code></li><li><code>transition</code></li></ul>]]></description>
<name>buttonTarget</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the type of button clicked will be stored. It will be one of: <ul><li><code>cancel</code></li><li><code>save</code></li><li><code>transition</code></li></ul>]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the submitted transition name will be stored (if any).]]></description>
<name>transitionTarget</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the submitted transition name will be stored (if any).]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
@@ -1819,52 +1817,52 @@
</tag>
<tag>
+ <description><![CDATA[Update the start date of a started task.]]></description>
<name>updateTaskStart</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Update the start date of a started task.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The start date to assign. If not given, the current date will be used.]]></description>
<name>startDate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The start date to assign. If not given, the current date will be used.]]></description>
<deferred-value>
<type>java.util.Date</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The task instance to update.]]></description>
<name>task</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The task instance to update.]]></description>
<deferred-value>
<type>org.jbpm.taskmgmt.exe.TaskInstance</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -1872,70 +1870,70 @@
</tag>
<tag>
+ <description><![CDATA[Update a process variable. Optionally store the old value into an EL expression.]]></description>
<name>updateVariable</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Update a process variable. Optionally store the old value into an EL expression.]]></description>
<attribute>
+ <description><![CDATA[The token, task, or process instance for which the variable should be updated.]]></description>
<name>entity</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The token, task, or process instance for which the variable should be updated.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The name of the variable to update.]]></description>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the variable to update.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An optional EL expression into which the old variable value will be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An optional EL expression into which the old variable value will be stored.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The new variable value.]]></description>
<name>value</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The new variable value.]]></description>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/identity.tld
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/identity.tld 2010-07-23 03:28:26 UTC (rev 6524)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/identity.tld 2010-07-23 07:27:48 UTC (rev 6525)
@@ -1,78 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1">
+ <description><![CDATA[JSF Tag Library for jBPM applications.]]></description>
<tlib-version>1.2</tlib-version>
<short-name>id</short-name>
<uri>http://jbpm.org/jbpm4jsf/identity</uri>
- <description><![CDATA[JSF Tag Library for jBPM applications.]]></description>
<tag>
+ <description><![CDATA[Add a group membership to a user.]]></description>
<name>addMembership</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Add a group membership to a user.]]></description>
<attribute>
+ <description><![CDATA[The group that the user should become a member of.]]></description>
<name>group</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The group that the user should become a member of.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The name of the role.]]></description>
<name>role</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the role.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the created membership should be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the created membership should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.Membership</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The user to whom the membership is granted.]]></description>
<name>user</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The user to whom the membership is granted.]]></description>
<deferred-value>
<type>org.jbpm.identity.User</type>
</deferred-value>
@@ -80,70 +78,70 @@
</tag>
<tag>
+ <description><![CDATA[Create a new group and save it in the database.]]></description>
<name>createGroup</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Create a new group and save it in the database.]]></description>
<attribute>
+ <description><![CDATA[The name of the group to create.]]></description>
<name>groupName</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the group to create.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The parent group, if any.]]></description>
<name>parentGroup</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The parent group, if any.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the created group should be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the created group should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The type of the new group.]]></description>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The type of the new group.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -151,79 +149,79 @@
</tag>
<tag>
+ <description><![CDATA[Create a new user and save it in the database.]]></description>
<name>createUser</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Create a new user and save it in the database.]]></description>
<attribute>
+ <description><![CDATA[The email of the new user.]]></description>
<name>email</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The email of the new user.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The password of the new user.]]></description>
<name>password</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The password of the new user.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The password of the new user again. If this value does not match the value of the <code>password</code> attribute, user creation will fail.]]></description>
<name>passwordConfirm</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The password of the new user again. If this value does not match the value of the <code>password</code> attribute, user creation will fail.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the created user should be stored.]]></description>
<name>target</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the created user should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.User</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The user name of the user to create.]]></description>
<name>userName</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The user name of the user to create.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
@@ -231,43 +229,43 @@
</tag>
<tag>
+ <description><![CDATA[Delete a group from the database.]]></description>
<name>deleteGroup</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Delete a group from the database.]]></description>
<attribute>
+ <description><![CDATA[The group to delete.]]></description>
<name>group</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The group to delete.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -275,52 +273,52 @@
</tag>
<tag>
+ <description><![CDATA[Delete a membership from the database.]]></description>
<name>deleteMembership</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Delete a membership from the database.]]></description>
<attribute>
+ <description><![CDATA[The ID of the membership to delete.]]></description>
<name>membershipId</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the membership to delete.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The user containing the membership to delete.]]></description>
<name>user</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The user containing the membership to delete.]]></description>
<deferred-value>
<type>org.jbpm.identity.User</type>
</deferred-value>
@@ -328,43 +326,43 @@
</tag>
<tag>
+ <description><![CDATA[Delete a user from the database.]]></description>
<name>deleteUser</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Delete a user from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[The user to delete.]]></description>
<name>user</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The user to delete.]]></description>
<deferred-value>
<type>org.jbpm.identity.User</type>
</deferred-value>
@@ -372,43 +370,43 @@
</tag>
<tag>
+ <description><![CDATA[Read the list of groups from the database.]]></description>
<name>listGroups</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read the list of groups from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the group list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the group list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -416,43 +414,43 @@
</tag>
<tag>
+ <description><![CDATA[Read the list of users from the database.]]></description>
<name>listUsers</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read the list of users from the database.]]></description>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the user list should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the user list should be stored.]]></description>
<deferred-value>
<type>java.util.List</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -460,52 +458,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a group from the database.]]></description>
<name>loadGroup</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a group from the database.]]></description>
<attribute>
+ <description><![CDATA[The ID of the group to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the group to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the group should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the group should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -513,52 +511,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a group from the database by name.]]></description>
<name>loadGroupByName</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a group from the database by name.]]></description>
<attribute>
+ <description><![CDATA[The name of the group to load.]]></description>
<name>groupName</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The name of the group to load.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the group should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the group should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.Group</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
@@ -566,52 +564,52 @@
</tag>
<tag>
+ <description><![CDATA[Read a user from the database.]]></description>
<name>loadUser</name>
<tag-class/>
<tei-class/>
<body-content>JSP</body-content>
- <description><![CDATA[Read a user from the database.]]></description>
<attribute>
+ <description><![CDATA[The ID of the user to load.]]></description>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[The ID of the user to load.]]></description>
<deferred-value>
<type>long</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A different name to use for this action. Action names are used by some navigation handlers.]]></description>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<name>navigate</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that can be used to control whether navigation will be attempted after this action completes.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[An EL expression into which the user should be stored.]]></description>
<name>target</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[An EL expression into which the user should be stored.]]></description>
<deferred-value>
<type>org.jbpm.identity.User</type>
</deferred-value>
</attribute>
<attribute>
+ <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<name>unless</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
- <description><![CDATA[A boolean expression that, if true, will prevent this action from being run.]]></description>
<deferred-value>
<type>boolean</type>
</deferred-value>
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tf.tld
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tf.tld 2010-07-23 03:28:26 UTC (rev 6524)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tf.tld 2010-07-23 07:27:48 UTC (rev 6525)
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1">
+ <description><![CDATA[Components pertaining to task form data and command elements.]]></description>
<tlib-version>1.2</tlib-version>
<short-name>tf</short-name>
<uri>http://jbpm.org/jbpm4jsf/tf</uri>
- <description><![CDATA[Components pertaining to task form data and command elements.]]></description>
</taglib>
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tfl.tld
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tfl.tld 2010-07-23 03:28:26 UTC (rev 6524)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/src/main/tld/tfl.tld 2010-07-23 07:27:48 UTC (rev 6525)
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1">
+ <description><![CDATA[Components pertaining to task form layout and formatting.]]></description>
<tlib-version>1.2</tlib-version>
<short-name>tfl</short-name>
<uri>http://jbpm.org/jbpm4jsf/tfl</uri>
- <description><![CDATA[Components pertaining to task form layout and formatting.]]></description>
</taglib>
13 years, 11 months
JBoss JBPM SVN: r6524 - jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/identity.
by do-not-reply@jboss.org
Author: rebody
Date: 2010-07-22 23:28:26 -0400 (Thu, 22 Jul 2010)
New Revision: 6524
Modified:
jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/identity/Group.java
Log:
JBPM-2806 expose parent in Group interface
Modified: jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/identity/Group.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/identity/Group.java 2010-07-22 17:26:13 UTC (rev 6523)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/api/identity/Group.java 2010-07-23 03:28:26 UTC (rev 6524)
@@ -23,17 +23,20 @@
/** a group of users.
- *
+ *
* @author Tom Baeyens
*/
public interface Group {
-
+
/** unique id for the group that is used as a reference in the service methods */
String getId();
/** name for the group (should be unique within one group type) */
String getName();
-
+
/** type or category of the group */
String getType();
+
+ /** parent group. */
+ Group getParent();
}
13 years, 11 months
JBoss JBPM SVN: r6523 - jbpm3/tags.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-22 13:26:13 -0400 (Thu, 22 Jul 2010)
New Revision: 6523
Added:
jbpm3/tags/jbpm-3.2.9/
Log:
tag jbpm-3.2.9
Copied: jbpm3/tags/jbpm-3.2.9 (from rev 6357, jbpm3/branches/jbpm-3.2-soa)
13 years, 11 months
JBoss JBPM SVN: r6522 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/query.
by do-not-reply@jboss.org
Author: rebody
Date: 2010-07-22 06:25:05 -0400 (Thu, 22 Jul 2010)
New Revision: 6522
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/query/TaskQueryImpl.java
Log:
JBPM-2902 use setString() replace splicing string
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/query/TaskQueryImpl.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/query/TaskQueryImpl.java 2010-07-21 05:01:09 UTC (rev 6521)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/query/TaskQueryImpl.java 2010-07-22 10:25:05 UTC (rev 6522)
@@ -44,6 +44,7 @@
/**
* @author Tom Baeyens
* @author Heiko Braun <heiko.braun(a)jboss.com>
+ * @author Huisheng Xu
*/
public class TaskQueryImpl extends AbstractQuery implements TaskQuery {
@@ -60,10 +61,10 @@
protected String activityName;
/* groupIds transports the groupIds from the hql to the applyParameters */
- protected List<String> groupIds;
+ protected List<String> groupIds;
public TaskQuery assignee(String assignee) {
- if (candidate!=null) {
+ if (candidate != null) {
throw new JbpmException("assignee(...) cannot be combined with candidate(...) in one query");
}
this.assignee = assignee;
@@ -128,34 +129,71 @@
}
protected void applyParameters(Query query) {
- if (assignee!=null) {
- log.debug("setting parameter assignee: "+assignee);
+ // assignee parameter
+ if (assignee != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter assignee: " + assignee);
+ }
query.setString("assignee", assignee);
}
-
- if (candidate!=null) {
- log.debug("setting parameter candidateUserId: "+candidate);
+
+ // canidate parameter
+ if (candidate != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter candidateUserId: " + candidate);
+ }
query.setString("candidateUserId", candidate);
-
- if (groupIds!=null) {
- log.debug("setting parameter candidateGroupIds: "+groupIds);
+
+ if (groupIds != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter candidateGroupIds: " + groupIds);
+ }
query.setParameterList("candidateGroupIds", groupIds);
}
}
+
+ // executionId parameter
+ if (executionId != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter executionId: " + executionId);
+ }
+ query.setString("executionId", executionId);
+ }
+
+ if (processInstanceId != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter processInstanceId: " + processInstanceId);
+ }
+ query.setString("processInstanceId", processInstanceId);
+ }
+
+ if (activityName != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter activityName: " + activityName);
+ }
+ query.setString("activityName", activityName );
+ }
+
+ if (processDefinitionId != null) {
+ if (log.isDebugEnabled()) {
+ log.debug("setting parameter processDefinitionId: " + processDefinitionId);
+ }
+ query.setString("processDefinitionId", processDefinitionId);
+ }
}
public String hql() {
- StringBuilder hql = new StringBuilder();
- hql.append("select ");
-
+ StringBuilder hql = new StringBuilder();
+ hql.append("select ");
+
// participations
- if (candidate!=null) {
+ if (candidate != null) {
if (count) {
hql.append("count(distinct task.id) ");
} else {
hql.append("distinct task.id ");
}
-
+
hql.append("from ");
hql.append(ParticipationImpl.class.getName());
hql.append(" as participant join participant.task as task ");
@@ -172,7 +210,7 @@
groupIds = new ArrayList<String>();
for (Group group: groups) {
groupIds.add(group.getId());
- }
+ }
appendWhereClause("(participant.userId = :candidateUserId or participant.groupId in (:candidateGroupIds))", hql);
}
}
@@ -182,37 +220,37 @@
} else {
hql.append("task ");
}
-
+
hql.append("from ");
hql.append(TaskImpl.class.getName());
hql.append(" as task ");
}
-
- if (suspended!=null) {
+
+ if (suspended != null) {
if (suspended) {
- appendWhereClause("task.state = '"+ExecutionImpl.STATE_SUSPENDED+"' ", hql);
+ appendWhereClause("task.state = '" + ExecutionImpl.STATE_SUSPENDED + "' ", hql);
} else {
- appendWhereClause("task.state != '"+ExecutionImpl.STATE_SUSPENDED+"' ", hql);
+ appendWhereClause("task.state != '" + ExecutionImpl.STATE_SUSPENDED + "' ", hql);
}
}
-
- if (executionId!=null) {
- appendWhereClause("task.execution.id = '"+executionId+"' ", hql);
+
+ if (executionId != null) {
+ appendWhereClause("task.execution.id = :executionId ", hql);
}
- if (processInstanceId!=null) {
- appendWhereClause("task.processInstance.id = '"+processInstanceId+"' ", hql);
+ if (processInstanceId != null) {
+ appendWhereClause("task.processInstance.id = :processInstanceId ", hql);
}
- if (activityName!=null) {
- appendWhereClause("task.execution.activityName = '"+activityName+"' ", hql);
+ if (activityName != null) {
+ appendWhereClause("task.execution.activityName = :activityName ", hql);
}
- if (processDefinitionId!=null) {
- appendWhereClause("task.processInstance.processDefinitionId = '"+processDefinitionId+"' ", hql);
+ if (processDefinitionId != null) {
+ appendWhereClause("task.processInstance.processDefinitionId = :processDefinitionId ", hql);
}
- if (assignee!=null) {
+ if (assignee != null) {
appendWhereClause("task.assignee = :assignee ", hql);
} else if (unassigned) {
appendWhereClause("task.assignee is null ", hql);
@@ -225,7 +263,7 @@
log.debug(hqlQuery);
return hqlQuery;
}
-
+
@Override
public Object execute(Session session) {
Object result = super.execute(session);
13 years, 11 months
JBoss JBPM SVN: r6521 - in jbpm4/trunk: modules/distro/src/main/files/examples and 2 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2010-07-21 01:01:09 -0400 (Wed, 21 Jul 2010)
New Revision: 6521
Modified:
jbpm4/trunk/modules/db/src/main/java/org/jbpm/db/JbpmVersion.java
jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
jbpm4/trunk/modules/distro/src/main/files/install/build.xml
jbpm4/trunk/qa/build.xml
Log:
JBPM-2714: fix hudson upgrade job;
pass jbpm.version property to downstream builds
Modified: jbpm4/trunk/modules/db/src/main/java/org/jbpm/db/JbpmVersion.java
===================================================================
--- jbpm4/trunk/modules/db/src/main/java/org/jbpm/db/JbpmVersion.java 2010-07-20 12:05:33 UTC (rev 6520)
+++ jbpm4/trunk/modules/db/src/main/java/org/jbpm/db/JbpmVersion.java 2010-07-21 05:01:09 UTC (rev 6521)
@@ -26,7 +26,7 @@
*/
public enum JbpmVersion {
- V_4_0, V_4_1, V_4_2, V_4_3, V_4_4;
+ V_4_0, V_4_1, V_4_2, V_4_3, V_4_4, V_4_5;
public String toString() {
return "4." + ordinal();
Modified: jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2010-07-20 12:05:33 UTC (rev 6520)
+++ jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2010-07-21 05:01:09 UTC (rev 6521)
@@ -17,8 +17,13 @@
<!-- DEFAULT PROPERTY VALUES -->
<property name="database" value="hsqldb" />
<property name="jboss.version" value="5.1.0.GA" />
- <condition property="jbpm.home" value="${jbpm.parent.dir}/jbpm-4.x" else="${basedir}/..">
- <isset property="jbpm.parent.dir" />
+ <condition property="jbpm.home"
+ value="${jbpm.parent.dir}/jbpm-${jbpm.version}"
+ else="${basedir}/..">
+ <and>
+ <isset property="jbpm.parent.dir" />
+ <isset property="jbpm.version" />
+ </and>
</condition>
<!-- JDBC PROPERTIES -->
Modified: jbpm4/trunk/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2010-07-20 12:05:33 UTC (rev 6520)
+++ jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2010-07-21 05:01:09 UTC (rev 6521)
@@ -19,8 +19,13 @@
<property name="database" value="hsqldb" />
<!-- INTERNAL PROPERTY DEFAULTS -->
- <condition property="jbpm.home" value="${jbpm.parent.dir}/jbpm-4.x" else="${basedir}/..">
- <isset property="jbpm.parent.dir" />
+ <condition property="jbpm.home"
+ value="${jbpm.parent.dir}/jbpm-${jbpm.version}"
+ else="${basedir}/..">
+ <and>
+ <isset property="jbpm.parent.dir" />
+ <isset property="jbpm.version" />
+ </and>
</condition>
<property name="cfg.dest.dir" value="${jbpm.home}/install/generated/cfg" />
<property name="install.src.dir" value="${jbpm.home}/install/src" />
Modified: jbpm4/trunk/qa/build.xml
===================================================================
--- jbpm4/trunk/qa/build.xml 2010-07-20 12:05:33 UTC (rev 6520)
+++ jbpm4/trunk/qa/build.xml 2010-07-21 05:01:09 UTC (rev 6521)
@@ -291,12 +291,8 @@
<java classname="org.jbpm.upgrade.BeforeUpgrade" fork="true">
<classpath>
<pathelement location="upgrade/target/jbpm-test-upgrade" />
- <fileset dir="${old.jbpm.home}">
- <include name="jbpm.jar" />
- </fileset>
- <fileset dir="${old.jbpm.home}/lib">
- <include name="*.jar" />
- </fileset>
+ <pathelement location="${old.jbpm.home}/jbpm.jar" />
+ <fileset dir="${old.jbpm.home}/lib" includes="*.jar" />
</classpath>
</java>
@@ -342,6 +338,7 @@
</replace>
<ant antfile="${old.jbpm.home}/db/build.xml" target="create.jbpm.schema" inheritall="false">
<property name="database" value="${database}" />
+ <property name="jbpm.version" value="${old.jbpm.version}" />
</ant>
<copy file="${old.jbpm.home}/db/hibernate.cfg/${database}.hibernate.cfg.xml"
tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
@@ -360,6 +357,7 @@
target="create.jbpm.schema"
inheritall="false">
<property name="database" value="${database}" />
+ <property name="jbpm.version" value="${old.jbpm.version}" />
</ant>
<copy file="${old.jbpm.home}/install/src/cfg/hibernate/jdbc/${database}.hibernate.cfg.xml"
tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
13 years, 11 months