org.apache.cxf.jaxrs.ext.search
Class SearchUtils
java.lang.Object
  
org.apache.cxf.jaxrs.ext.search.SearchUtils
public final class SearchUtils
- extends Object
 
 
| 
Method Summary | 
static String | 
conditionTypeToSqlOperator(ConditionType ct,
                           String value)
 
            | 
static SimpleDateFormat | 
getDateFormat(Map<String,String> properties,
              String defaultFormat)
 
            | 
static boolean | 
isTimeZoneSupported(Map<String,String> properties,
                    Boolean defaultValue)
 
            | 
static void | 
startSqlQuery(StringBuilder sb,
              String table,
              String tableAlias,
              List<String> columns)
 
            | 
static
 | 
toSQL(SearchCondition<T> sc,
      String table,
      String... columns)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DATE_FORMAT_PROPERTY
public static final String DATE_FORMAT_PROPERTY
- See Also:
 - Constant Field Values
 
TIMEZONE_SUPPORT_PROPERTY
public static final String TIMEZONE_SUPPORT_PROPERTY
- See Also:
 - Constant Field Values
 
getDateFormat
public static SimpleDateFormat getDateFormat(Map<String,String> properties,
                                             String defaultFormat)
 
isTimeZoneSupported
public static boolean isTimeZoneSupported(Map<String,String> properties,
                                          Boolean defaultValue)
 
toSQL
public static <T> String toSQL(SearchCondition<T> sc,
                               String table,
                               String... columns)
 
startSqlQuery
public static void startSqlQuery(StringBuilder sb,
                                 String table,
                                 String tableAlias,
                                 List<String> columns)
 
conditionTypeToSqlOperator
public static String conditionTypeToSqlOperator(ConditionType ct,
                                                String value)
 
Apache CXF