Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.map
Interface EntitySorter

All Known Implementing Classes:
  AshwoodEntitySorter

    public interface EntitySorter

Defines API for sorting of Cayenne entities based on their mutual dependencies.

Since:
  1.1
Author:
  Andrus Adamchik

Method Summary
`void` | `setDataMaps(Collection dataMaps)` Initializes a list of DataMaps used by the sorter.
`void` | `sortDbEntities(List dbEntities, boolean deleteOrder)` Sorts a list of DbEntities.
`void` | `sortObjectsForEntity(ObjEntity entity, List objects, boolean deleteOrder)` Sorts a list of objects belonging to the ObjEntity.
`void` | `sortObjEntities(List objEntities, boolean deleteOrder)` Sorts a list of ObjEntities.

Method Detail

### setDataMaps

    void setDataMaps(Collection dataMaps)

  Initializes a list of DataMaps used by the sorter.

### sortDbEntities

    void sortDbEntities(List dbEntities,
                        boolean deleteOrder)

  Sorts a list of DbEntities.

### sortObjEntities

    void sortObjEntities(List objEntities,
                         boolean deleteOrder)

  Sorts a list of ObjEntities.

### sortObjectsForEntity

    void sortObjectsForEntity(ObjEntity entity,
                              List objects,
                              boolean deleteOrder)

  Sorts a list of objects belonging to the ObjEntity.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.