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.ashwood |
org.apache.cayenne.exp | Cayenne data expression classes.
org.apache.cayenne.graph | Contains generic graph management tools used in Cayenne.
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, java.lang.Object prototype)` Deprecated. since 3.1 Cayenne users should use `BaseContext.localObject(Object)`; the internal code has been refactored to avoid using this method all together.
`Persistent` | `CayenneContext.localObject(ObjectId id, java.lang.Object prototype)` Deprecated. since 3.1 Cayenne users should use `BaseContext.localObject(Object)`; the internal code has been refactored to avoid using this method all together.
`Persistent` | `ObjectContext.localObject(ObjectId id, java.lang.Object prototype)` Deprecated. since 3.1 Cayenne users should use `ObjectContext.localObject(Object)`; the internal code has been refactored to avoid using this method all together.

Methods in org.apache.cayenne with parameters of type Persistent
`static java.util.Map<java.lang.String,java.lang.Object>` | `Cayenne.compoundPKForObject(Persistent dataObject)` Returns a primary key map for a persistent object.
`static java.util.Map<java.lang.String,java.lang.Object>` | `DataObjectUtils.compoundPKForObject(Persistent dataObject)` Deprecated. Returns a primary key map for a persistent object.
`static ClassDescriptor` | `Cayenne.getClassDescriptor(Persistent object)` Returns class descriptor for the object or null if the object is not registered with an ObjectContext or descriptor was not found.
`static ObjEntity` | `Cayenne.getObjEntity(Persistent p)` Returns mapped ObjEntity for object.
`static Property` | `Cayenne.getProperty(Persistent object, java.lang.String properyName)` Returns property descriptor for specified property.
`static int` | `Cayenne.intPKForObject(Persistent dataObject)` Returns an int primary key value for a persistent object.
`static int` | `DataObjectUtils.intPKForObject(Persistent dataObject)` Deprecated. Returns an int primary key value for a persistent object.
`static long` | `Cayenne.longPKForObject(Persistent dataObject)` Returns an int primary key value for a persistent object.
`static long` | `DataObjectUtils.longPKForObject(Persistent dataObject)` Deprecated. Returns an int primary key value for a persistent object.
`static java.lang.Object` | `Cayenne.pkForObject(Persistent dataObject)` Returns a primary key value for a persistent object.
`static java.lang.Object` | `DataObjectUtils.pkForObject(Persistent dataObject)` Deprecated. Returns a primary key value for a persistent object.
`void` | `BaseContext.prepareForAccess(Persistent object, java.lang.String property, boolean lazyFaulting)`
`void` | `ObjectContext.prepareForAccess(Persistent object, java.lang.String property, boolean lazyFaulting)` A callback method that child Persistent objects are expected to call before accessing property values.
`void` | `BaseContext.propertyChanged(Persistent object, java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)`
`void` | `ObjectContext.propertyChanged(Persistent object, java.lang.String property, java.lang.Object oldValue, java.lang.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 java.lang.Object` | `Fault.resolveFault(Persistent sourceObject, java.lang.String relationshipName)` Returns an object for a given source object and relationship.
`protected void` | `CayenneDataObject.willConnect(java.lang.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, java.lang.String relationship, java.lang.String reason)`

Uses of Persistent in org.apache.cayenne.access

Fields in org.apache.cayenne.access with type parameters of type Persistent
`protected java.util.Map<java.lang.Object,Persistent>` | `ObjectStore.objectMap`

Methods in org.apache.cayenne.access that return Persistent
`Persistent` | `DataContext.localObject(ObjectId id, java.lang.Object prototype)` Deprecated. since 3.1 Cayenne users should use `BaseContext.localObject(Object)`; the internal code has been refactored to avoid using this method all together.
`Persistent` | `DataContext.newObject(java.lang.String entityName)` Instantiates a new object and registers it with this context.

Methods in org.apache.cayenne.access that return types with arguments of type Persistent
`java.util.Map<java.lang.Object,Persistent>` | `DefaultObjectMapRetainStrategy.createObjectMap()`
`java.util.Map<java.lang.Object,Persistent>` | `ObjectMapRetainStrategy.createObjectMap()`
`java.util.List<Persistent>` | `ObjectStore.objectsInState(int state)` Return a subset of registered objects that are in a certain persistence state.

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.
`java.lang.Object` | `ToManyListFault.resolveFault(Persistent sourceObject, java.lang.String relationshipName)` Resolves this fault to a List of objects.
`java.lang.Object` | `ToManyMapFault.resolveFault(Persistent sourceObject, java.lang.String relationshipName)`
`java.lang.Object` | `ToManySetFault.resolveFault(Persistent sourceObject, java.lang.String relationshipName)`
`java.lang.Object` | `ToOneFault.resolveFault(Persistent sourceObject, java.lang.String relationshipName)` Resolves this fault to a DataObject.

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

Constructor parameters in org.apache.cayenne.access with type arguments of type Persistent
`NoSyncObjectStore(DataRowStore dataRowCache, java.util.Map<java.lang.Object,Persistent> objectMap)`
`ObjectStore(DataRowStore dataRowCache, java.util.Map<java.lang.Object,Persistent> objectMap)` Creates an ObjectStore with `DataRowStore` and a map to use for storing registered objects.

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.ashwood

Methods in org.apache.cayenne.ashwood with parameters of type Persistent
`protected java.lang.Object` | `AshwoodEntitySorter.findReflexiveMaster(Persistent object, ObjRelationship toOneRel, java.lang.String targetEntityName)`

Uses of Persistent in org.apache.cayenne.exp

Methods in org.apache.cayenne.exp with parameters of type Persistent
`static Expression` | `ExpressionFactory.matchAnyExp(Persistent... objects)` Creates an expression that matches any of the objects contained in the `objects` array
`static Expression` | `ExpressionFactory.matchExp(Persistent object)` Creates an expression that matches the primary key of object in `ObjectId`'s `IdSnapshot` for the argument `object`.

Method parameters in org.apache.cayenne.exp with type arguments of type Persistent
`static Expression` | `ExpressionFactory.matchAnyExp(java.util.List<? extends Persistent> objects)` Creates an expression that matches any of the objects contained in the list `objects`

Uses of Persistent in org.apache.cayenne.graph

Methods in org.apache.cayenne.graph that return Persistent
`protected Persistent` | `ChildDiffLoader.findObject(java.lang.Object nodeId)`
`protected Persistent` | `ChildDiffLoader.findObjectInCollection(java.lang.Object nodeId, java.lang.Object toManyHolder)`

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`

Fields in org.apache.cayenne.util with type parameters of type Persistent
`protected java.util.Map<ObjectId,Persistent>` | `DeepMergeOperation.seen`
`protected java.util.Map<ObjectId,Persistent>` | `ObjectDetachOperation.seen`

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

Methods in org.apache.cayenne.util with parameters of type Persistent
`protected java.lang.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 void` | `ObjectContextGraphAction.handleArcPropertyChange(Persistent object, ArcProperty property, java.lang.Object oldValue, java.lang.Object newValue)`
`void` | `ObjectContextGraphAction.handlePropertyChange(Persistent object, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)` Handles property change in a Persistent object, routing to either `ObjectContextGraphAction.handleArcPropertyChange(Persistent, ArcProperty, Object, Object)` or `ObjectContextGraphAction.handleSimplePropertyChange(Persistent, String, Object, Object)`.
`protected void` | `ObjectContextGraphAction.handleSimplePropertyChange(Persistent object, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)`
`protected boolean` | `ObjectContextGraphAction.markAsDirty(Persistent object)` Changes object state to MODIFIED if needed, returning true if the change has occurred, false if not.

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

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

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