Class SearchCriteria
java.lang.Object
org.deltava.beans.cooler.SearchCriteria
A bean to store Water Cooler search criteria.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the author name to search for.Returns the channel to search in.Returns the earliest thread update date to include.booleanbooleanReturns whether thread subjects should also be searched.Returns the search string.voidsetAuthorName(String aName) voidsetChannel(String c) voidvoidsetSearchNameFragment(boolean doSearch) voidsetSearchSubject(boolean doSearch)
-
Constructor Details
-
SearchCriteria
Creates a new search criteria bean.- Parameters:
searchStr- the search string
-
-
Method Details
-
getChannel
-
getAuthorName
-
getMinimumDate
Returns the earliest thread update date to include.- Returns:
- the minimum thread last update date/time
-
getSearchTerm
-
getSearchSubject
public boolean getSearchSubject()Returns whether thread subjects should also be searched.- Returns:
- TRUE if subjects should be searched, otherwise FALSE
-
getSearchNameFragment
public boolean getSearchNameFragment() -
setChannel
-
setAuthorName
-
setMinimumDate
-
setSearchSubject
public void setSearchSubject(boolean doSearch) -
setSearchNameFragment
public void setSearchNameFragment(boolean doSearch)
-