public class SelectorUtility extends Object
Constructor and Description |
---|
SelectorUtility() |
Modifier and Type | Method and Description |
---|---|
static String |
buildOrderByClause(String strOrderCols,
String strOrderDirs)
Builds an sql orderBy clause constructed out of list of order by column names and directions.
|
public static String buildOrderByClause(String strOrderCols, String strOrderDirs) throws javax.servlet.ServletException
strOrderCols
- String with list of orderBy columns from getInStringParameterstrOrderDirs
- String with list of orderBy directions from getInStringParameterjavax.servlet.ServletException
- on malformed input