Package org.javlo.search
Class SearchFilter
- java.lang.Object
-
- org.javlo.search.SearchFilter
-
public class SearchFilter extends Object
-
-
Constructor Summary
Constructors Constructor Description SearchFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRootPageName(String inRootPageName)
void
clearRootPages()
Date
getEndDate()
String
getEndDateStr()
static SearchFilter
getInstance(ContentContext ctx)
Map<String,String>
getRootPageName()
Date
getStartDate()
String
getStartDateStr()
String
getTag()
boolean
isInside(Date date)
return true if date in between start date and end datevoid
reset(ContentContext ctx)
void
setEndDate(Date endDate)
void
setStartDate(Date startDate)
void
setTag(String tag)
-
-
-
Method Detail
-
getInstance
public static final SearchFilter getInstance(ContentContext ctx)
-
reset
public void reset(ContentContext ctx)
-
clearRootPages
public void clearRootPages()
-
addRootPageName
public void addRootPageName(String inRootPageName)
-
getTag
public String getTag()
-
setTag
public void setTag(String tag)
-
getStartDate
public Date getStartDate()
-
setStartDate
public void setStartDate(Date startDate)
-
getEndDate
public Date getEndDate()
-
setEndDate
public void setEndDate(Date endDate)
-
getStartDateStr
public String getStartDateStr()
-
getEndDateStr
public String getEndDateStr()
-
isInside
public boolean isInside(Date date)
return true if date in between start date and end date- Parameters:
date
-- Returns:
-
-