java.lang.Object
org.objectstyle.cayenne.access.util.NullSorter
- All Implemented Interfaces:
- DependencySorter
- public class NullSorter
- extends java.lang.Object
- implements DependencySorter
Noop DependencySorter implementation. Used when no operation sorting is
required.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_SORTER
public static final DependencySorter NULL_SORTER
NullSorter
public NullSorter()
sortDbEntities
public void sortDbEntities(java.util.List dbEntities,
boolean deleteOrder)
- Description copied from interface:
DependencySorter
- Sorts a list of DbEntities.
- Specified by:
sortDbEntities in interface DependencySorter
sortObjEntities
public void sortObjEntities(java.util.List objEntities,
boolean deleteOrder)
- Description copied from interface:
DependencySorter
- Sorts a list of ObjEntities.
- Specified by:
sortObjEntities in interface DependencySorter
sortObjectsForEntity
public void sortObjectsForEntity(org.objectstyle.cayenne.map.ObjEntity entity,
java.util.List objects,
boolean deleteOrder)
- Description copied from interface:
DependencySorter
- Sorts a list of objects belonging to the ObjEntity.
- Specified by:
sortObjectsForEntity in interface DependencySorter
indexSorter
public void indexSorter(org.objectstyle.cayenne.access.QueryEngine queryEngine)
- Description copied from interface:
DependencySorter
- Reindexes sorter for the query engine.
- Specified by:
indexSorter in interface DependencySorter