|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.filter.CreationDateBeforeFilter
public class CreationDateBeforeFilter
CreationDateBeforeFilter class.
| Field Summary | |
|---|---|
protected Date |
date
|
protected static DateFormat |
DATE_FORMAT
Constant DATE_FORMAT |
static String |
TYPE
Constant TYPE="createdbefore" |
| Constructor Summary | |
|---|---|
CreationDateBeforeFilter(Date date)
Constructor for CreationDateBeforeFilter. |
|
CreationDateBeforeFilter(long epochTime)
Constructor for CreationDateBeforeFilter. |
|
| Method Summary | |
|---|---|
int |
bindParam(PreparedStatement ps,
int parameterIndex)
Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement. |
boolean |
equals(Object obj)
|
Date |
getDate()
Getter for the field date. |
String |
getDescription()
getDescription |
String |
getParamSql()
getParamSql |
String |
getSql()
getSql |
String |
getTextDescription()
getTextDescription |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
TYPE="createdbefore"
protected static final DateFormat DATE_FORMAT
DATE_FORMAT
protected Date date
| Constructor Detail |
|---|
public CreationDateBeforeFilter(Date date)
Constructor for CreationDateBeforeFilter.
date - a Date object.public CreationDateBeforeFilter(long epochTime)
Constructor for CreationDateBeforeFilter.
epochTime - a long.| Method Detail |
|---|
public String getSql()
getSql
getSql in interface FilterString object.public String getParamSql()
getParamSql
getParamSql in interface FilterString object.
public int bindParam(PreparedStatement ps,
int parameterIndex)
throws SQLException
bindParam in interface Filterps - a PreparedStatement object.parameterIndex - a int.
SQLException - if any.public String getDescription()
getDescription
getDescription in interface FilterString object.public String getTextDescription()
getTextDescription
getTextDescription in interface FilterString object.public String toString()
toString
toString in class ObjectString object.public Date getDate()
Getter for the field date.
Date object.public boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||