public class KraQueryCustomizerDefaultImpl
extends org.apache.ojb.broker.accesslayer.QueryCustomizerDefaultImpl
collection-descriptor tag.
Eg:
| Constructor and Description |
|---|
KraQueryCustomizerDefaultImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String name,
String value)
Override this method, if developer needs more than just supplying values to the 'where' clause
|
protected void |
addProposalSystemAttribute(String name,
String value)
Helper method to add system parameter values to customized query criteria
If customizer class needs to add proposal system parameter, override
addAttribute method
and call addProposalSystemAttribute method. |
org.apache.ojb.broker.query.Query |
customizeQuery(Object anObject,
org.apache.ojb.broker.PersistenceBroker aBroker,
org.apache.ojb.broker.metadata.CollectionDescriptor aCod,
org.apache.ojb.broker.query.QueryByCriteria aQuery) |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Looks up and returns the ParameterService.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public org.apache.ojb.broker.query.Query customizeQuery(Object anObject, org.apache.ojb.broker.PersistenceBroker aBroker, org.apache.ojb.broker.metadata.CollectionDescriptor aCod, org.apache.ojb.broker.query.QueryByCriteria aQuery)
customizeQuery in interface org.apache.ojb.broker.accesslayer.QueryCustomizercustomizeQuery in class org.apache.ojb.broker.accesslayer.QueryCustomizerDefaultImplQueryCustomizerDefaultImpl.customizeQuery(java.lang.Object, org.apache.ojb.broker.PersistenceBroker, org.apache.ojb.broker.metadata.CollectionDescriptor, org.apache.ojb.broker.query.QueryByCriteria)public void addAttribute(String name, String value)
addAttribute in interface org.apache.ojb.broker.metadata.AttributeContaineraddAttribute in class org.apache.ojb.broker.accesslayer.QueryCustomizerDefaultImplQueryCustomizerDefaultImpl.addAttribute(java.lang.String, java.lang.String)protected void addProposalSystemAttribute(String name, String value)
addAttribute method
and call addProposalSystemAttribute method.name - value - Copyright © 2013 The Kuali Foundation. All Rights Reserved.