Oracle Corporation

com.bea.wlcp.wlng.api.storage.filter
Interface Filter

All Superinterfaces:
Serializable
All Known Subinterfaces:
EntryFilter, EntryIndexFilter, IndexFilter

public interface Filter
extends Serializable

Filter interface. Used to optionally filter a query based on java objects. This is implemented by the user and configured separately. A public default (no argument) constructor is required in the implementing class.

Copyright © 2008 Oracle Corporation Systems, Inc. All Rights Reserved.

Method Summary
 boolean matches(Object value)
          Evaluate if a store entry matches the filter.
 void setParameters(Serializable[] parameters)
          Set query parameters.
 

Method Detail

matches

public boolean matches(Object value)
Evaluate if a store entry matches the filter.

Parameters:
value - The store entry value to evaluate.

setParameters

public void setParameters(Serializable[] parameters)
                   throws StorageException
Set query parameters. The parameters will be ordered as provided to the StoreQuery and it it the responsibility of the implementation to handle them in this order.

Parameters:
parameters - The query parameters to use.
Throws:
StorageException

Oracle Corporation