Overview | Package | Class | 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(java.util.Collection dataMaps)` Initializes a list of DataMaps used by the sorter.
`void` | `sortDbEntities(java.util.List dbEntities, boolean deleteOrder)` Sorts a list of DbEntities.
`void` | `sortObjectsForEntity(ObjEntity entity, java.util.List objects, boolean deleteOrder)` Sorts a list of objects belonging to the ObjEntity.
`void` | `sortObjEntities(java.util.List objEntities, boolean deleteOrder)` Sorts a list of ObjEntities.

Method Detail

### setDataMaps

    void setDataMaps(java.util.Collection dataMaps)

  Initializes a list of DataMaps used by the sorter.

### sortDbEntities

    void sortDbEntities(java.util.List dbEntities,
                        boolean deleteOrder)

  Sorts a list of DbEntities.

### sortObjEntities

    void sortObjEntities(java.util.List objEntities,
                         boolean deleteOrder)

  Sorts a list of ObjEntities.

### sortObjectsForEntity

    void sortObjectsForEntity(ObjEntity entity,
                              java.util.List objects,
                              boolean deleteOrder)

  Sorts a list of objects belonging to the ObjEntity.

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

Copyright © 2001-2006 Apache.org All Rights Reserved.