Package org.apache.cayenne
package org.apache.cayenne
Contains persistence APIs directly accessible by users.
-
ClassDescriptionA common base superclass for Cayenne ObjectContext implementors.Base implementation of
DataObject
, have no assumption about how data is actually stored.Various utils for processing persistent objects and their propertiesImplementation ofDataObject
that usesMap
to store object fields.Deprecated.A generic unchecked exception that may be thrown by Cayenne framework.A runtime exception thrown on failures in Cayenne configuration.DataChannel is an abstraction used by ObjectContexts to obtain mapping metadata and access a persistent store.Deprecated.since 4.1 useDataChannelQueryFilter
andDataChannelSyncFilter
Deprecated.since 4.1 in favor ofDataChannelSyncFilterChain
andDataChannelQueryFilterChain
A listener ofDataChannel
lifecycle events.An interface of a filter that allows to intercept DataChannel query operations.Interface for chain of query filtersAn interface of a filter that allows to intercept DataChannel sync operations.Interface for chain of sync filtersDefines basic methods for a persistent object in Cayenne.DataRow a map that holds values retrieved from the database for a given query row.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.An interface that Enum classes may implement to map enum instances to arbitrary DB values that do not match the enum names or positions.Represents a placeholder for an unresolved relationship from a source object.A runtime exception thrown when during lazy object initialization Cayenne finds that no matching row exists in the database for a given ObjectId.This data object likeCayenneDataObject
usesMap
to store generic attributes, only difference is that this Map will be created lazily at first write, thus reducing memory penalty if possible.A callback interface to listen to persistent object lifecycle events.A Cayenne object facade to a persistent store.A portable global identifier for persistent objects.Defines a set of object states from the point of view of persistence.Defines minimal API of an object that can be persisted via Cayenne.A convenience base superclass for concrete Persistent objects.Result of procedure call.Represents a result of query execution.QueryResult<T>Represents a collection of items which are results of a multipart query execution.Represents a single item in a multipart query execution.Defines API of a batch iterator over the ResultIterator returned as a result of Select queries execution.Defines API of an iterator over the records returned as a result of Select queries execution.A callback interface invoked on each row when iterating overResultIterator
.Defines a number of callback methods that allow an object to be validated before safe.ValueHolder<E>Provides a level of indirection for property value access, most often used for deferred faulting of to-one relationships.
CayenneRuntimeException
instead