|
||||||||||
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 java.lang.String |
AFTER
sql constraint "AFTER" |
static java.lang.String |
BEFORE
sql constraint "BEFORE" |
static java.lang.String |
IS
sql constraint "IS" |
static java.lang.String |
TODAY
sql constraint "TODAY" |
Fields inherited from class info.magnolia.cms.gui.query.SearchQueryParameter |
---|
constraint, name, value |
Constructor Summary | |
---|---|
DateSearchQueryParameter(java.lang.String name,
java.util.Date value,
java.lang.String constraint)
|
Method Summary | |
---|---|
java.text.SimpleDateFormat |
getDateFormat()
get date format |
java.util.Date |
getValue()
get value |
void |
setDateFormat(java.text.SimpleDateFormat format)
set date format |
void |
setValue(java.util.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 java.lang.String TODAY
public static final java.lang.String AFTER
public static final java.lang.String BEFORE
public static final java.lang.String IS
Constructor Detail |
---|
public DateSearchQueryParameter(java.lang.String name, java.util.Date value, java.lang.String constraint)
name
- of this parametervalue
- constraint
- check SearchQueryParameter constantsMethod Detail |
---|
public java.util.Date getValue()
public void setValue(java.util.Date value)
value
- Datepublic void setDateFormat(java.text.SimpleDateFormat format)
format
- public java.text.SimpleDateFormat getDateFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |