Package de.uplanet.lucy.server.newsagent
Class SingleAppGuidFilter
java.lang.Object
de.uplanet.lucy.server.newsagent.AbstractFilter
de.uplanet.lucy.server.newsagent.SingleAppGuidFilter
- All Implemented Interfaces:
IFilter
Filter by application GUID.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if post-processing is needed after SQL retrieval.booleanDecide if the given message passes the filter.voidsetApplicationGuid(String p_strAppGuid) Set the application GUID to filter for.sqlQuery()Provide a SQL search query.Methods inherited from class de.uplanet.lucy.server.newsagent.AbstractFilter
filter, forConnection, forUser
-
Constructor Details
-
SingleAppGuidFilter
public SingleAppGuidFilter()
-
-
Method Details
-
setApplicationGuid
Set the application GUID to filter for.- Parameters:
p_strAppGuid- The application GUID.
-
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.
-
sqlQuery
Description copied from interface:IFilterProvide a SQL search query.- Returns:
- A SQL query, or
nullif the filter cannot be applied at database level.
-