|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.query.AbstractExpressionImpl info.magnolia.cms.gui.query.SearchQueryParameter info.magnolia.cms.gui.query.DateSearchQueryParameter
public class DateSearchQueryParameter
Field Summary | |
---|---|
static String |
AFTER
sql constraint "AFTER" |
static String |
BEFORE
sql constraint "BEFORE" |
static String |
IS
sql constraint "IS" |
static String |
TODAY
sql constraint "TODAY" |
Fields inherited from class info.magnolia.cms.gui.query.SearchQueryParameter |
---|
constraint, name, value |
Constructor Summary | |
---|---|
DateSearchQueryParameter(String name,
Date value,
String constraint)
|
Method Summary | |
---|---|
SimpleDateFormat |
getDateFormat()
get date format |
Date |
getValue()
get value |
void |
setDateFormat(SimpleDateFormat format)
set date format |
void |
setValue(Date value)
set value |
Methods inherited from class info.magnolia.cms.gui.query.SearchQueryParameter |
---|
getConstraint, getName, setConstraint, setName |
Methods inherited from class info.magnolia.cms.gui.query.AbstractExpressionImpl |
---|
getLeft, getRight, hasLeft, hasRight, setleft, setRight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.cms.gui.query.SearchQueryExpression |
---|
toString |
Field Detail |
---|
public static final String TODAY
public static final String AFTER
public static final String BEFORE
public static final String IS
Constructor Detail |
---|
public DateSearchQueryParameter(String name, Date value, String constraint)
name
- of this parametervalue
- constraint
- check SearchQueryParameter constantsMethod Detail |
---|
public Date getValue()
public void setValue(Date value)
value
- Datepublic void setDateFormat(SimpleDateFormat format)
format
- public SimpleDateFormat getDateFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |