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 voidaddRootPageName(String inRootPageName)voidclearRootPages()DategetEndDate()StringgetEndDateStr()static SearchFiltergetInstance(ContentContext ctx)Map<String,String>getRootPageName()DategetStartDate()StringgetStartDateStr()StringgetTag()booleanisInside(Date date)return true if date in between start date and end datevoidreset(ContentContext ctx)voidsetEndDate(Date endDate)voidsetStartDate(Date startDate)voidsetTag(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:
-
-