|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.statistics.content.filter.StatisticsSolrDateFilter
public class StatisticsSolrDateFilter
Encapsulate a range of dates for Solr query filtering. Created by IntelliJ IDEA. User: kevinvandevelde Date: 13-mrt-2009 Time: 13:14:14
| Constructor Summary | |
|---|---|
StatisticsSolrDateFilter()
|
|
| Method Summary | |
|---|---|
void |
setEndDate(Date endDate)
Set the end date as a Date object. |
void |
setEndStr(String endStr)
Set the end date as a string expression. |
void |
setStartDate(Date startDate)
Set the start date as a Date object. |
void |
setStartStr(String startStr)
Set the start date as a string expression. |
void |
setTypeStr(String typeStr)
Set the range granularity: DAY, MONTH, or YEAR. |
String |
toQuery()
Convert the date range to a filter expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsSolrDateFilter()
| Method Detail |
|---|
public void setStartStr(String startStr)
setEndStr(String).
public void setEndStr(String endStr)
setStartStr(String).
public void setTypeStr(String typeStr)
public void setStartDate(Date startDate)
setEndDate(Date).
public void setEndDate(Date endDate)
setStartDate(Date).
public String toQuery()
toQuery in interface StatisticsFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||