Package de.uplanet.lucy.server.newsagent
Class NewsArchiveReceivedFilter
java.lang.Object
de.uplanet.lucy.server.newsagent.AbstractFilter
de.uplanet.lucy.server.newsagent.NewsArchiveReceivedFilter
- All Implemented Interfaces:
IFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if post-processing is needed after SQL retrieval.booleanDecide if the given message passes the filter.voidsetDateFrom(Date p_dtFrom) voidsqlQuery()Provide a SQL search query.Methods inherited from class de.uplanet.lucy.server.newsagent.AbstractFilter
filter, forConnection, forUser
-
Constructor Details
-
NewsArchiveReceivedFilter
public NewsArchiveReceivedFilter()
-
-
Method Details
-
setDateFrom
- Parameters:
p_dtFrom- The lower bound date.
-
setDateTo
- Parameters:
p_dtTo- The lower bound date.
-
sqlQuery
Description copied from interface:IFilterProvide a SQL search query.- Returns:
- A SQL query, or
nullif the filter cannot be applied at database level.
-
needsSqlPostProcessing
public boolean needsSqlPostProcessing()Description copied from interface:IFilterIndicates if post-processing is needed after SQL retrieval.- Returns:
- Always
false. - See Also:
-
pass
Description copied from interface:IFilterDecide if the given message passes the filter.- Parameters:
p_message- The message to be filtered.- Returns:
trueif the message passes the filter,falseotherwise.
-