Package org.apache.cayenne
package org.apache.cayenne
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Various utils for processing persistent objects and their propertiesObject representing Cayenne stack.A convenience class to assemble custom
CayenneRuntime.A generic unchecked exception that may be thrown by Cayenne framework.Tag interface whose implementors are DI modules that want to be auto-loaded when Cayenne starts.An exception thrown when a failure occurs while executing a query statement or reading its results.A runtime exception thrown on failures in Cayenne configuration.A DI module containing all Cayenne runtime configuration.A builder of extensions forCoreModule.DataChannel is an abstraction used by ObjectContexts to obtain mapping metadata and access a persistent store.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 filtersDeprecated, for removal: This API element is subject to removal in a future version.usePersistentinterface directlyDataRow is a precursor of a persistent object that holds its database values, but models no relationships.The layout of aDataRow: the column names in column order, with a lookup of a name to its position.Reads the columns of a layout from rows of any layouts.An implementation ofRuntimePropertiesthat returns properties that were injected via a map in constructor.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.Implementation ofPersistentthat usesMapto store object fields.This data object likeGenericPersistentObjectusesMapto 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.The main user-facing persistence API to work with a database.A portable global identifier for persistent objects.A registry of persistent objects managed by anObjectContext, keyed byObjectId.AQueryResultitem holding the values of the OUT and INOUT parameters of a stored procedure call, keyed by parameter name.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.Base implementation ofPersistent, have no assumption about how data is actually stored.A single item of a multipart query result.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 selecting queries execution.A callback interface invoked on each row when iterating overResultIterator.Represents a properties map for a givenCayenneRuntime.SelectResult<T>AQueryResultitem holding a list of objects or data rows produced by a selecting query.AQueryResultitem holding the update counts produced by a non-selecting query.Defines a number of callback methods that allow an object to be validated before safe.
PersistentObjectdirectly