Package de.uplanet.lucy.server.newsagent
Class AbstractFilter
java.lang.Object
de.uplanet.lucy.server.newsagent.AbstractFilter
- All Implemented Interfaces:
IFilter
- Direct Known Subclasses:
AppGuidFilter
,AppGuidNullFilter
,AppIdFilter
,AppIdNullFilter
,IdentityFilter
,NewsArchiveReceivedFilter
,NewsArchiveSentFilter
,NotExpiredFilter
,RecipientFilter
,SingleAppGuidFilter
,SingleAppIdFilter
Base class for filters that implements some default behaviour.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Do the filtering, operating on array lists.void
forConnection
(de.uplanet.jdbc.JdbcConnection p_conn) Initialize the filter with a database connection.void
Prepare the filter for a specific user.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uplanet.lucy.server.newsagent.IFilter
needsSqlPostProcessing, pass, sqlQuery
-
Constructor Details
-
AbstractFilter
public AbstractFilter()
-
-
Method Details
-
forConnection
public void forConnection(de.uplanet.jdbc.JdbcConnection p_conn) Description copied from interface:IFilter
Initialize the filter with a database connection.This may be used if the property
IFilter.needsSqlPostProcessing()
depends on the database used.- Specified by:
forConnection
in interfaceIFilter
- Parameters:
p_conn
- The database connection used.
-
forUser
Description copied from interface:IFilter
Prepare the filter for a specific user. -
filter
Description copied from interface:IFilter
Do the filtering, operating on array lists.
-