# Package org.apache.cayenne

Contains persistence APIs directly accessible by users.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DataChannel | DataChannel is an abstraction used by ObjectContexts to obtain mapping metadata and access a persistent store.
  DataChannelFilter | An interface of a filter that allows to intercept DataChannel operations.
  DataChannelFilterChain | Provides DataChannelFilters with API to pass control to the next filter in the chain or the underlying DataChannel for the last chain filter.
  DataChannelListener | A listener of `DataChannel` lifecycle events.
  DataChannelSyncFilterChain |
  DataObject | Defines basic methods for a persistent object in Cayenne.
  ExtendedEnumeration | An interface that Enum classes may implement to map enum instances to arbitrary DB values that do not match the enum names or positions.
  LifecycleListener | A callback interface to listen to persistent object lifecycle events.
  ObjectContext | A Cayenne object facade to a persistent store.
  Persistent | Defines minimal API of an object that can be persisted via Cayenne.
  QueryResponse | Represents a result of query execution.
  Validating | Defines a number of callback methods that allow an object to be validated before safe.
  ValueHolder | Provides a level of indirection for property value access, most often used for deferred faulting of to-one relationships.

- Class Summary
  Class | Description
  --- | ---
  BaseContext | A common base superclass for Cayenne ObjectContext implementors.
  Cayenne | Various utils for processing persistent objects and their properties
  CayenneContext | A default generic implementation of ObjectContext suitable for accessing Cayenne from either an ORM or a client tiers.
  CayenneDataObject | A default implementation of DataObject interface.
  DataChannelSyncCallbackAction |
  DataObjectUtils | Deprecated since 3.1 `Cayenne` class is used instead
  DataRow | DataRow a map that holds values retrieved from the database for a given query row.
  Fault | Represents a placeholder for an unresolved relationship from a source object.
  ObjectId | A portable global identifier for persistent objects.
  PersistenceState | Defines a set of object states from the point of view of persistence.
  PersistentObject | A convenience base superclass for concrete Persistent objects.

- Exception Summary
  Exception | Description
  --- | ---
  CayenneException | A generic checked exception that may be thrown by Cayenne framework.
  CayenneRuntimeException | A generic unchecked exception that may be thrown by Cayenne framework.
  ConfigurationException | A runtime exception thrown on failures in Cayenne configuration.
  DeleteDenyException | An exception thrown during an attempt to delete an object that has a relationship to a non-null related object, that has a DENY delete rule.
  FaultFailureException | A runtime exception thrown when during lazy object initialization Cayenne finds that no matching row exists in the database for a given ObjectId.

## Package org.apache.cayenne Description

Contains persistence APIs directly accessible by users.

Copyright © 2001–2014 Apache Cayenne. All rights reserved.