Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionCommit.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionCommit.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionCommit.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionCommit.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Commits a transaction if beganTransaction is true, otherwise does nothing. */ public class TransactionCommit extends MethodOperation { + public static final class TransactionCommitFactory implements Factory<TransactionCommit> { + public TransactionCommit createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new TransactionCommit(element, simpleMethod); + } + + public String getName() { + return "transaction-commit"; + } + } public static final String module = TransactionCommit.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionRollback.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionRollback.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionRollback.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/TransactionRollback.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Rolls back a transaction if beganTransaction is true, otherwise tries to do a setRollbackOnly. */ public class TransactionRollback extends MethodOperation { + public static final class TransactionRollbackFactory implements Factory<TransactionRollback> { + public TransactionRollback createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new TransactionRollback(element, simpleMethod); + } + + public String getName() { + return "transaction-rollback"; + } + } public static final String module = TransactionRollback.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ClearField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ClearField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ClearField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ClearField.java Wed Aug 13 22:55:17 2008 @@ -32,6 +32,15 @@ * Clears the specified field */ public class ClearField extends MethodOperation { + public static final class ClearFieldFactory implements Factory<ClearField> { + public ClearField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new ClearField(element, simpleMethod); + } + + public String getName() { + return "clear-field"; + } + } public static final String module = ClearField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToEnv.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToEnv.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToEnv.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToEnv.java Wed Aug 13 22:55:17 2008 @@ -30,6 +30,15 @@ @Deprecated @MethodOperation.DeprecatedOperation("set") public class EnvToEnv extends MethodOperation { + public static final class EnvToEnvFactory implements Factory<EnvToEnv> { + public EnvToEnv createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new EnvToEnv(element, simpleMethod); + } + + public String getName() { + return "env-to-env"; + } + } public static final String module = EnvToEnv.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/EnvToField.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ @Deprecated @MethodOperation.DeprecatedOperation("set") public class EnvToField extends MethodOperation { + public static final class EnvToFieldFactory implements Factory<EnvToField> { + public EnvToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new EnvToField(element, simpleMethod); + } + + public String getName() { + return "env-to-field"; + } + } public static final String module = EnvToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToEnv.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToEnv.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToEnv.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToEnv.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ @Deprecated @MethodOperation.DeprecatedOperation("set") public class FieldToEnv extends MethodOperation { + public static final class FieldToEnvFactory implements Factory<FieldToEnv> { + public FieldToEnv createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToEnv(element, simpleMethod); + } + + public String getName() { + return "field-to-env"; + } + } public static final String module = FieldToEnv.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToField.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ @Deprecated @MethodOperation.DeprecatedOperation("set") public class FieldToField extends MethodOperation { + public static final class FieldToFieldFactory implements Factory<FieldToField> { + public FieldToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToField(element, simpleMethod); + } + + public String getName() { + return "field-to-field"; + } + } public static final String module = FieldToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FieldToList.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Copies an environment field to a list */ public class FieldToList extends MethodOperation { + public static final class FieldToListFactory implements Factory<FieldToList> { + public FieldToList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToList(element, simpleMethod); + } + + public String getName() { + return "field-to-list"; + } + } public static final String module = FieldToList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FirstFromList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FirstFromList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FirstFromList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/FirstFromList.java Wed Aug 13 22:55:17 2008 @@ -29,6 +29,15 @@ * Get the first entry from the list */ public class FirstFromList extends MethodOperation { + public static final class FirstFromListFactory implements Factory<FirstFromList> { + public FirstFromList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FirstFromList(element, simpleMethod); + } + + public String getName() { + return "first-from-list"; + } + } public static final String module = FirstFromList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java Wed Aug 13 22:55:17 2008 @@ -39,6 +39,15 @@ * Process sub-operations for each entry in the list */ public class Iterate extends MethodOperation { + public static final class IterateFactory implements Factory<Iterate> { + public Iterate createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new Iterate(element, simpleMethod); + } + + public String getName() { + return "iterate"; + } + } public static final String module = Iterate.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/IterateMap.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/IterateMap.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/IterateMap.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/IterateMap.java Wed Aug 13 22:55:17 2008 @@ -35,6 +35,15 @@ * Process sub-operations for each entry in the map */ public class IterateMap extends MethodOperation { + public static final class IterateMapFactory implements Factory<IterateMap> { + public IterateMap createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IterateMap(element, simpleMethod); + } + + public String getName() { + return "iterate-map"; + } + } public static final String module = IterateMap.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ListToList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ListToList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ListToList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ListToList.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Copies an environment field to a list */ public class ListToList extends MethodOperation { + public static final class ListToListFactory implements Factory<ListToList> { + public ListToList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new ListToList(element, simpleMethod); + } + + public String getName() { + return "list-to-list"; + } + } public static final String module = ListToList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Loop.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Loop.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Loop.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Loop.java Wed Aug 13 22:55:17 2008 @@ -34,6 +34,15 @@ * Loop */ public class Loop extends MethodOperation { + public static final class LoopFactory implements Factory<Loop> { + public Loop createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new Loop(element, simpleMethod); + } + + public String getName() { + return "loop"; + } + } public static final String module = Loop.class.getName(); protected List<MethodOperation> subOps = FastList.newInstance(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/MapToMap.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/MapToMap.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/MapToMap.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/MapToMap.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Copies a map field to a map field */ public class MapToMap extends MethodOperation { + public static final class MapToMapFactory implements Factory<MapToMap> { + public MapToMap createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new MapToMap(element, simpleMethod); + } + + public String getName() { + return "map-to-map"; + } + } public static final String module = MapToMap.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/OrderMapList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/OrderMapList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/OrderMapList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/OrderMapList.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Copies an environment field to a list */ public class OrderMapList extends MethodOperation { + public static final class OrderMapListFactory implements Factory<OrderMapList> { + public OrderMapList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new OrderMapList(element, simpleMethod); + } + + public String getName() { + return "order-map-list"; + } + } public static final String module = FieldToList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetCalendar.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetCalendar.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetCalendar.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetCalendar.java Wed Aug 13 22:55:17 2008 @@ -37,6 +37,15 @@ * Adjust a Timestamp by a specified time. */ public class SetCalendar extends MethodOperation { + public static final class SetCalendarFactory implements Factory<SetCalendar> { + public SetCalendar createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new SetCalendar(element, simpleMethod); + } + + public String getName() { + return "set-calendar"; + } + } public static final String module = SetCalendar.class.getName(); protected ContextAccessor<Timestamp> field; Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java Wed Aug 13 22:55:17 2008 @@ -36,6 +36,15 @@ * A general set operation to set a field from another field or from a value. Also supports a default-value, and type conversion. */ public class SetOperation extends MethodOperation { + public static final class SetOperationFactory implements Factory<SetOperation> { + public SetOperation createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new SetOperation(element, simpleMethod); + } + + public String getName() { + return "set"; + } + } public static final String module = SetOperation.class.getName(); protected ContextAccessor<Object> field; Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringAppend.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringAppend.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringAppend.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringAppend.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Appends the specified String to a field */ public class StringAppend extends MethodOperation { + public static final class StringAppendFactory implements Factory<StringAppend> { + public StringAppend createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new StringAppend(element, simpleMethod); + } + + public String getName() { + return "string-append"; + } + } public static final String module = StringAppend.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToField.java Wed Aug 13 22:55:17 2008 @@ -35,6 +35,15 @@ @Deprecated @MethodOperation.DeprecatedOperation("set") public class StringToField extends MethodOperation { + public static final class StringToFieldFactory implements Factory<StringToField> { + public StringToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new StringToField(element, simpleMethod); + } + + public String getName() { + return "string-to-field"; + } + } public static final String module = StringToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/StringToList.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Appends the specified String to a List */ public class StringToList extends MethodOperation { + public static final class StringToListFactory implements Factory<StringToList> { + public StringToList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new StringToList(element, simpleMethod); + } + + public String getName() { + return "string-to-list"; + } + } public static final String module = StringToList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ToString.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ToString.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ToString.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/ToString.java Wed Aug 13 22:55:17 2008 @@ -32,6 +32,15 @@ * Converts the specified field to a String, using toString() */ public class ToString extends MethodOperation { + public static final class ToStringFactory implements Factory<ToString> { + public ToString createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new ToString(element, simpleMethod); + } + + public String getName() { + return "to-string"; + } + } public static final String module = ToString.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToRequest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToRequest.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToRequest.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToRequest.java Wed Aug 13 22:55:17 2008 @@ -32,6 +32,15 @@ * Copies a map field to a Servlet request attribute */ public class FieldToRequest extends MethodOperation { + public static final class FieldToRequestFactory implements Factory<FieldToRequest> { + public FieldToRequest createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToRequest(element, simpleMethod); + } + + public String getName() { + return "field-to-request"; + } + } public static final String module = FieldToRequest.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToSession.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToSession.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToSession.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/FieldToSession.java Wed Aug 13 22:55:17 2008 @@ -32,6 +32,15 @@ * Copies a map field to a Servlet session attribute */ public class FieldToSession extends MethodOperation { + public static final class FieldToSessionFactory implements Factory<FieldToSession> { + public FieldToSession createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToSession(element, simpleMethod); + } + + public String getName() { + return "field-to-session"; + } + } public static final String module = FieldToSession.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestParametersToList.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestParametersToList.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestParametersToList.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestParametersToList.java Wed Aug 13 22:55:17 2008 @@ -30,6 +30,15 @@ * Copies a Servlet request parameter values to a list */ public class RequestParametersToList extends MethodOperation { + public static final class RequestParametersToListFactory implements Factory<RequestParametersToList> { + public RequestParametersToList createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new RequestParametersToList(element, simpleMethod); + } + + public String getName() { + return "request-parameters-to-list"; + } + } public static final String module = RequestParametersToList.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/RequestToField.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Copies a Servlet request attribute to a map field */ public class RequestToField extends MethodOperation { + public static final class RequestToFieldFactory implements Factory<RequestToField> { + public RequestToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new RequestToField(element, simpleMethod); + } + + public String getName() { + return "request-to-field"; + } + } public static final String module = RequestToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/SessionToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/SessionToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/SessionToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/SessionToField.java Wed Aug 13 22:55:17 2008 @@ -34,6 +34,15 @@ * Copies a Servlet session attribute to a map field */ public class SessionToField extends MethodOperation { + public static final class SessionToFieldFactory implements Factory<SessionToField> { + public SessionToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new SessionToField(element, simpleMethod); + } + + public String getName() { + return "session-to-field"; + } + } public static final String module = SessionToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/WebappPropertyToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/WebappPropertyToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/WebappPropertyToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/eventops/WebappPropertyToField.java Wed Aug 13 22:55:17 2008 @@ -32,6 +32,15 @@ * Copies a property value from a properties file in a ServletContext resource to a field */ public class WebappPropertyToField extends MethodOperation { + public static final class WebappPropertyToFieldFactory implements Factory<WebappPropertyToField> { + public WebappPropertyToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new WebappPropertyToField(element, simpleMethod); + } + + public String getName() { + return "webapp-property-to-field"; + } + } public static final String module = WebappPropertyToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckId.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckId.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckId.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckId.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * or fail-property sub-elements are used to add a message to the error-list. */ public class CheckId extends MethodOperation { + public static final class CheckIdFactory implements Factory<CheckId> { + public CheckId createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new CheckId(element, simpleMethod); + } + + public String getName() { + return "check-id"; + } + } public static final String module = CheckId.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckPermission.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckPermission.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckPermission.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/CheckPermission.java Wed Aug 13 22:55:17 2008 @@ -40,6 +40,15 @@ * or fail-property sub-elements are used to add a message to the error-list. */ public class CheckPermission extends MethodOperation { + public static final class CheckPermissionFactory implements Factory<CheckPermission> { + public CheckPermission createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new CheckPermission(element, simpleMethod); + } + + public String getName() { + return "check-permission"; + } + } String message = null; String propertyResource = null; Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompare.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompare.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompare.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompare.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Iff the comparison between the constant and the specified field is true process sub-operations */ public class IfCompare extends MethodOperation { + public static final class IfCompareFactory implements Factory<IfCompare> { + public IfCompare createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfCompare(element, simpleMethod); + } + + public String getName() { + return "if-compare"; + } + } public static final String module = IfCompare.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompareField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompareField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompareField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfCompareField.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Iff the comparison between the specified field and the other field is true process sub-operations */ public class IfCompareField extends MethodOperation { + public static final class IfCompareFieldFactory implements Factory<IfCompareField> { + public IfCompareField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfCompareField(element, simpleMethod); + } + + public String getName() { + return "if-compare-field"; + } + } public static final String module = IfCompareField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfEmpty.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfEmpty.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfEmpty.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfEmpty.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Iff the specified field is not empty process sub-operations */ public class IfEmpty extends MethodOperation { + public static final class IfEmptyFactory implements Factory<IfEmpty> { + public IfEmpty createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfEmpty(element, simpleMethod); + } + + public String getName() { + return "if-empty"; + } + } public static final String module = IfEmpty.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfHasPermission.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfHasPermission.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfHasPermission.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfHasPermission.java Wed Aug 13 22:55:17 2008 @@ -36,6 +36,15 @@ * process else operations if specified. */ public class IfHasPermission extends MethodOperation { + public static final class IfHasPermissionFactory implements Factory<IfHasPermission> { + public IfHasPermission createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfHasPermission(element, simpleMethod); + } + + public String getName() { + return "if-has-permission"; + } + } protected List<MethodOperation> subOps = FastList.newInstance(); protected List<MethodOperation> elseSubOps = null; Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfInstanceOf.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfInstanceOf.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfInstanceOf.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfInstanceOf.java Wed Aug 13 22:55:17 2008 @@ -34,6 +34,15 @@ import org.w3c.dom.Element; public class IfInstanceOf extends MethodOperation { + public static final class IfInstanceOfFactory implements Factory<IfInstanceOf> { + public IfInstanceOf createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfInstanceOf(element, simpleMethod); + } + + public String getName() { + return "if-instance-of"; + } + } public static final String module = IfInstanceOf.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfNotEmpty.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfNotEmpty.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfNotEmpty.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfNotEmpty.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Iff the specified field is not empty process sub-operations */ public class IfNotEmpty extends MethodOperation { + public static final class IfNotEmptyFactory implements Factory<IfNotEmpty> { + public IfNotEmpty createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfNotEmpty(element, simpleMethod); + } + + public String getName() { + return "if-not-empty"; + } + } public static final String module = IfNotEmpty.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfRegexp.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfRegexp.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfRegexp.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfRegexp.java Wed Aug 13 22:55:17 2008 @@ -34,6 +34,15 @@ * Iff the specified field complies with the pattern specified by the regular expression, process sub-operations */ public class IfRegexp extends MethodOperation { + public static final class IfRegexpFactory implements Factory<IfRegexp> { + public IfRegexp createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfRegexp(element, simpleMethod); + } + + public String getName() { + return "if-regexp"; + } + } public static final String module = IfRegexp.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfValidateMethod.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfValidateMethod.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfValidateMethod.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/ifops/IfValidateMethod.java Wed Aug 13 22:55:17 2008 @@ -33,6 +33,15 @@ * Iff the validate method returns true with the specified field process sub-operations */ public class IfValidateMethod extends MethodOperation { + public static final class IfValidateMethodFactory implements Factory<IfValidateMethod> { + public IfValidateMethod createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new IfValidateMethod(element, simpleMethod); + } + + public String getName() { + return "if-validate-method"; + } + } public static final String module = IfValidateMethod.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Calculate.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Calculate.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Calculate.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Calculate.java Wed Aug 13 22:55:17 2008 @@ -40,6 +40,15 @@ * Calculates a result based on nested calcops. */ public class Calculate extends MethodOperation { + public static final class CalculateFactory implements Factory<Calculate> { + public Calculate createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new Calculate(element, simpleMethod); + } + + public String getName() { + return "calculate"; + } + } public static final String module = Calculate.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Log.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Log.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Log.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/Log.java Wed Aug 13 22:55:17 2008 @@ -30,6 +30,15 @@ * Calculates a result based on nested calcops. */ public class Log extends MethodOperation { + public static final class LogFactory implements Factory<Log> { + public Log createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new Log(element, simpleMethod); + } + + public String getName() { + return "log"; + } + } public static final String module = Log.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/PropertyToField.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/PropertyToField.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/PropertyToField.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/otherops/PropertyToField.java Wed Aug 13 22:55:17 2008 @@ -31,6 +31,15 @@ * Copies an properties file property value to a field */ public class PropertyToField extends MethodOperation { + public static final class PropertyToFieldFactory implements Factory<PropertyToField> { + public PropertyToField createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new PropertyToField(element, simpleMethod); + } + + public String getName() { + return "property-to-field"; + } + } public static final String module = PropertyToField.class.getName(); Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/serviceops/FieldToResult.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/serviceops/FieldToResult.java?rev=685778&r1=685777&r2=685778&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/serviceops/FieldToResult.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/serviceops/FieldToResult.java Wed Aug 13 22:55:17 2008 @@ -29,6 +29,15 @@ * Copies a map field to a Service result entry */ public class FieldToResult extends MethodOperation { + public static final class FieldToResultFactory implements Factory<FieldToResult> { + public FieldToResult createMethodOperation(Element element, SimpleMethod simpleMethod) { + return new FieldToResult(element, simpleMethod); + } + + public String getName() { + return "field-to-result"; + } + } public static final String module = FieldToResult.class.getName(); |
Free forum by Nabble | Edit this page |