public interface QueryCustomizer extends AttributeContainer
...If the customized Query is null execution of PB retrieveCollection is skipped and an empty Collection is placed in the relationship attribute....
PersistenceBroker.getCollectionByQuery(org.apache.ojb.broker.query.Query)| Modifier and Type | Method and Description |
|---|---|
Query |
customizeQuery(java.lang.Object anObject,
PersistenceBroker aBroker,
CollectionDescriptor aCod,
QueryByCriteria aQuery)
Return a new Query based on the original Query, the originator object and
the additional Attributes.
|
addAttribute, getAttribute, getAttributeQuery customizeQuery(java.lang.Object anObject, PersistenceBroker aBroker, CollectionDescriptor aCod, QueryByCriteria aQuery)
anObject - the originator objectaBroker - the PersistenceBrokeraCod - the CollectionDescriptoraQuery - the original 1:n-Query(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30