Author: doogie
Date: Mon Aug 2 17:43:42 2010
New Revision: 981634
URL:
http://svn.apache.org/viewvc?rev=981634&view=revLog:
Allow external callers to parse individual OrderByItem instances.
Modified:
ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Parser.jj
Modified: ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Parser.jj
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Parser.jj?rev=981634&r1=981633&r2=981634&view=diff==============================================================================
--- ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Parser.jj (original)
+++ ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Parser.jj Mon Aug 2 17:43:42 2010
@@ -696,7 +696,7 @@ private List<OrderByItem> OrderByList():
{ return orderBy; }
}
-private OrderByItem OrderByItem(): {
+public OrderByItem OrderByItem(): {
String functionName = null, fieldName = null;
OrderByItem.Order ordering = OrderByItem.Order.DEFAULT;
OrderByItem.Nulls nulls = OrderByItem.Nulls.DEFAULT;