|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filter<T>
For use by repository implementations to allow a set of objects returned by a back-end objectstore to be filtered before being returned to the caller.
Note that this is different from the pattern or criteria object accepted by some repositories' findXxx methods. Such criteria objects are implementation-specific to the configured objectstore and allow it to return an already-filtered set of rows. (For example, a Hibernate-based ObjectStore would accept a representation of a HQL query; an XML-based objectstore might accept an XPath query, etc.)
| Method Summary | |
|---|---|
boolean |
accept(T pojo)
Whether or not the supplied pojo meets this criteria. |
| Method Detail |
|---|
boolean accept(T pojo)
pojo -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||