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 TypeMethodDescriptionboolean
Indicates if post-processing is needed after SQL retrieval.boolean
Decide if the given message passes the filter.void
setApplicationGuid
(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:IFilter
Indicates if post-processing is needed after SQL retrieval.- Returns:
- Always
false
. - See Also:
-
pass
Description copied from interface:IFilter
Decide if the given message passes the filter.- Parameters:
p_message
- The message to be filtered.- Returns:
true
if the message passes the filter,false
otherwise.
-
sqlQuery
Description copied from interface:IFilter
Provide a SQL search query.- Returns:
- A SQL query, or
null
if the filter cannot be applied at database level.
-