Package de.uplanet.lucy.server.newsagent
Class AppGuidFilter
java.lang.Object
de.uplanet.lucy.server.newsagent.AbstractFilter
de.uplanet.lucy.server.newsagent.AppGuidFilter
- All Implemented Interfaces:
IFilter
Filter by applications by GUIDs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if post-processing is needed after SQL retrieval.booleanDecide if the given message passes the filter.voidsetApplicationGuidList(List<String> p_listAppGuid) Set a list of application GUIDs to filter for.voidsetComplement(boolean p_bComplement) sqlQuery()Provide a SQL search query.Methods inherited from class de.uplanet.lucy.server.newsagent.AbstractFilter
filter, forConnection, forUser
-
Constructor Details
-
AppGuidFilter
public AppGuidFilter()
-
-
Method Details
-
setApplicationGuidList
Set a list of application GUIDs to filter for.- Parameters:
p_listAppGuid- A list of application GUIDs.
-
setComplement
public void setComplement(boolean p_bComplement) - Parameters:
p_bComplement-trueif the complement set should be returned,falseotherwise (default isfalse).
-
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.
-