org.zeroexchange.dataset.criteria
Class ProcessorsCriteriaDataSet<T extends Persistent>
java.lang.Object
org.zeroexchange.dataset.criteria.CriteriaDataSet<T>
org.zeroexchange.dataset.criteria.ProcessorsCriteriaDataSet<T>
- All Implemented Interfaces:
- Iterable<T>, DataSet<T>, SlicingDataSet<T>, ProcessorAwareDataSet<T>
- Direct Known Subclasses:
- ResourceTenderDAOImpl.TendersDataSet
public abstract class ProcessorsCriteriaDataSet<T extends Persistent>
- extends CriteriaDataSet<T>
- implements ProcessorAwareDataSet<T>
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessorsCriteriaDataSet
public ProcessorsCriteriaDataSet(Class<T> itemClass)
- Constructor.
- Parameters:
itemClass
-
setSortProcessor
public void setSortProcessor(SortProcessor sortProcessor,
OrderData orderData)
- Adds the sort processor.
- Specified by:
setSortProcessor
in interface ProcessorAwareDataSet<T extends Persistent>
orderData
- TODO
setFilterProcessor
public void setFilterProcessor(FilterProcessor<Object> filterProcessor,
Object filterData)
- Adds the filter processor.
- Specified by:
setFilterProcessor
in interface ProcessorAwareDataSet<T extends Persistent>
processCriteria
protected void processCriteria(org.hibernate.Criteria criteria,
boolean isCount)
- Processes criteria
Extension point to process criteria.
- Overrides:
processCriteria
in class CriteriaDataSet<T extends Persistent>
processCriteria
protected void processCriteria(org.hibernate.Criteria criteria,
CriteriaDescriptor criteriaDescriptor,
boolean isCount)
- Override in subclasses if needed.
Copyright © 2013. All Rights Reserved.