Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.cayenne.Persistent

Packages that use Persistent
org.apache.cayenne | Contains persistence APIs directly accessible by users.
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.trans | Provides translators for Cayenne queries.
org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
org.apache.cayenne.reflect |
org.apache.cayenne.util | General utility classes.

Uses of Persistent in org.apache.cayenne

Subinterfaces of Persistent in org.apache.cayenne
`interface` | `DataObject` Defines basic methods for a persistent object in Cayenne.

Classes in org.apache.cayenne that implement Persistent
`class` | `CayenneDataObject` A default implementation of DataObject interface.
`class` | `PersistentObject` A convenience base superclass for concrete Persistent objects.

Fields in org.apache.cayenne declared as Persistent
`protected Persistent` | `DeleteDenyException.object`

Methods in org.apache.cayenne that return Persistent
`Persistent` | `DeleteDenyException.getObject()`
`abstract Persistent` | `BaseContext.localObject(ObjectId id, Object prototype)`
`Persistent` | `CayenneContext.localObject(ObjectId id, Object prototype)` Converts a list of Persistent objects registered in some other ObjectContext to a list of objects local to this ObjectContext.
`Persistent` | `ObjectContext.localObject(ObjectId id, Object prototype)` Returns an object local to this ObjectContext and matching the ObjectId.

Methods in org.apache.cayenne with parameters of type Persistent
`static Map<String,Object>` | `DataObjectUtils.compoundPKForObject(Persistent dataObject)` Returns a primary key map for a persistent object.
`static int` | `DataObjectUtils.intPKForObject(Persistent dataObject)` Returns an int primary key value for a persistent object.
`static long` | `DataObjectUtils.longPKForObject(Persistent dataObject)` Returns an int primary key value for a persistent object.
`static Object` | `DataObjectUtils.pkForObject(Persistent dataObject)` Returns a primary key value for a persistent object.
`void` | `BaseContext.prepareForAccess(Persistent object, String property)` Deprecated. since 3.0 this method is replaced by `BaseContext.prepareForAccess(Persistent, String, boolean)`.
`void` | `ObjectContext.prepareForAccess(Persistent object, String property)` Deprecated. since 3.0 use `ObjectContext.prepareForAccess(Persistent, String, boolean)`.
`void` | `BaseContext.prepareForAccess(Persistent object, String property, boolean lazyFaulting)`
`void` | `ObjectContext.prepareForAccess(Persistent object, String property, boolean lazyFaulting)` A callback method that child Persistent objects are expected to call before accessing property values.
`abstract void` | `BaseContext.propertyChanged(Persistent object, String property, Object oldValue, Object newValue)`
`void` | `CayenneContext.propertyChanged(Persistent object, String property, Object oldValue, Object newValue)`
`void` | `ObjectContext.propertyChanged(Persistent object, String property, Object oldValue, Object newValue)` A callback method that child Persistent objects are expected to call from inside the setter after modifying a value of a persistent property, including "simple" and "arc" properties.
`abstract Object` | `Fault.resolveFault(Persistent sourceObject, String relationshipName)` Returns an object for a given source object and relationship.
`protected void` | `CayenneDataObject.willConnect(String relationshipName, Persistent object)` Called before establishing a relationship with another object.

Constructors in org.apache.cayenne with parameters of type Persistent
`DeleteDenyException(Persistent object, String relationship, String reason)`

Uses of Persistent in org.apache.cayenne.access

Methods in org.apache.cayenne.access that return Persistent
`Persistent` | `ToManyList.getRelationshipOwner()`
`Persistent` | `DataContext.localObject(ObjectId id, Object prototype)` Returns an object local to this DataContext and matching the ObjectId.
`Persistent` | `DataContext.newObject(String entityName)` Instantiates a new object and registers it with this context.

Methods in org.apache.cayenne.access with parameters of type Persistent
`DataRow` | `DataContext.currentSnapshot(Persistent object)` Returns a DataRow reflecting current, possibly uncommitted, object state.
`void` | `DataContext.propertyChanged(Persistent object, String property, Object oldValue, Object newValue)`
`Object` | `ToManyListFault.resolveFault(Persistent sourceObject, String relationshipName)` Resolves this fault to a List of objects.
`Object` | `ToManyMapFault.resolveFault(Persistent sourceObject, String relationshipName)`
`Object` | `ToManySetFault.resolveFault(Persistent sourceObject, String relationshipName)`
`Object` | `ToOneFault.resolveFault(Persistent sourceObject, String relationshipName)` Resolves this fault to a DataObject.
`void` | `ObjectStore.resolveHollow(Persistent object)` Deprecated. since 3.0 use `ObjectContext.prepareForAccess(Persistent, String, boolean)`.

Constructors in org.apache.cayenne.access with parameters of type Persistent
`ToManyList(Persistent source, String relationship)` Creates ToManyList.

Uses of Persistent in org.apache.cayenne.access.trans

Methods in org.apache.cayenne.access.trans with parameters of type Persistent
`void` | `DataObjectMatchTranslator.setDataObject(Persistent obj)`

Uses of Persistent in org.apache.cayenne.map

Methods in org.apache.cayenne.map with parameters of type Persistent
`protected Object` | `AshwoodEntitySorter.findReflexiveMaster(Persistent object, ObjRelationship toOneRel, String targetEntityName)`
`DbEntity` | `EntityResolver.lookupDbEntity(Persistent dataObject)` Deprecated. since 3.0 - lookup DbEntity via ObjEntity instead.

Uses of Persistent in org.apache.cayenne.query

Constructors in org.apache.cayenne.query with parameters of type Persistent
`RefreshQuery(Persistent object)` Creates a RefreshQuery that refreshes a single object, including invalidation of its relationships.

Uses of Persistent in org.apache.cayenne.reflect

Methods in org.apache.cayenne.reflect with parameters of type Persistent
`void` | `LifecycleCallbackRegistry.performCallbacks(LifecycleEvent type, Persistent object)` Invokes callbacks of a specific type for a given entity object.

Uses of Persistent in org.apache.cayenne.util

Fields in org.apache.cayenne.util declared as Persistent
`protected Persistent` | `RelationshipFault.relationshipOwner`

Methods in org.apache.cayenne.util that return Persistent
`Persistent` | `RelationshipFault.getRelationshipOwner()`

Methods in org.apache.cayenne.util with parameters of type Persistent
`protected Object` | `PersistentObjectHolder.connect(Persistent persistent)` Returns an object that should be stored as a value in this ValueHolder, ensuring that it is registered with the same context.
`protected abstract void` | `ObjectContextGraphAction.handleArcPropertyChange(Persistent object, ArcProperty property, Object oldValue, Object newValue)`
`void` | `ObjectContextGraphAction.handlePropertyChange(Persistent object, String propertyName, Object oldValue, Object newValue)` Handles property change in a Peristent object, routing to either `ObjectContextGraphAction.handleArcPropertyChange(Persistent, ArcProperty, Object, Object)` or `ObjectContextGraphAction.handleSimplePropertyChange(Persistent, String, Object, Object)`.
`protected abstract void` | `ObjectContextGraphAction.handleSimplePropertyChange(Persistent object, String propertyName, Object oldValue, Object newValue)`
`protected boolean` | `ObjectContextGraphAction.markAsDirty(Persistent object)` Changes object state to MODIFIED if needed, returning true if the change has occured, false if not.

Constructors in org.apache.cayenne.util with parameters of type Persistent
`PersistentObjectHolder(Persistent relationshipOwner, String relationshipName)`
`PersistentObjectList(Persistent relationshipOwner, String relationshipName)` Creates PersistentObjectList initializing it with list owner persistent object and relationship name that this list maps to.
`PersistentObjectMap(Persistent relationshipOwner, String relationshipName, Accessor mapKeyAccessor)` Creates PersistentObjectList initializing it with list owner persistent object and relationship name that this list maps to.
`PersistentObjectSet(Persistent relationshipOwner, String relationshipName)`
`RelationshipFault(Persistent relationshipOwner, String relationshipName)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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