|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectapplicationLogic.utility.Filter
public class Filter
Filter is used for creating strings to be used in SQL queries to restrict results.
Constructor Summary | |
---|---|
Filter()
Deprecated. |
Method Summary | |
---|---|
static java.lang.String |
byDate(java.lang.String dateFieldName,
java.lang.String from,
java.lang.String to)
Deprecated. Create a string that can be used in an SQL query to results to those that have the date, represented by 'dateFieldname', between the start date 'from' and end date 'to'. |
static java.lang.String |
byKeyword(java.lang.String item,
java.lang.String value)
Deprecated. Create a string that can be used in an SQL query to restrict results to those that contain the value 'value' in the field 'item'. |
static java.lang.String |
byResultSize(int resultSize,
int i)
Deprecated. Create a string that can be used in an SQL query to limit the result size to 'resultSize' and the page to 'i' of the results. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public static java.lang.String byDate(java.lang.String dateFieldName, java.lang.String from, java.lang.String to)
public static java.lang.String byKeyword(java.lang.String item, java.lang.String value)
public static java.lang.String byResultSize(int resultSize, int i)
resultSize
- The size of the result set in the resulting query
string.i
- The page of the result. Page number starts from 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |