Package | Description |
---|---|
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.configuration | |
org.apache.cayenne.configuration.server | |
org.apache.cayenne.ejbql | |
org.apache.cayenne.exp |
Cayenne data expression classes.
|
org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
org.apache.cayenne.reflect | |
org.apache.cayenne.remote | |
org.apache.cayenne.remote.service | |
org.apache.cayenne.util |
General utility classes.
|
org.apache.cayenne.validation |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationException
A runtime exception thrown on failures in Cayenne configuration.
|
class |
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.
|
class |
FaultFailureException
A runtime exception thrown when during lazy object initialization Cayenne finds that no
matching row exists in the database for a given ObjectId.
|
Modifier and Type | Method and Description |
---|---|
Object |
ValueHolder.getValue()
Returns an object stored by this ValueHolder.
|
Object |
ValueHolder.getValueDirectly()
Retrieves ValueHolder value without triggering fault resolution.
|
Object |
ValueHolder.setValue(Object value)
Sets an object stored by this ValueHolder.
|
Object |
ValueHolder.setValueDirectly(Object value)
Sets ValueHolder vaue without triggering fault resolution.
|
Modifier and Type | Class and Description |
---|---|
class |
DomainStoppedException
An exception thrown on attempts to access a DataDomain after it was explicitly shut
down by the user.
|
class |
OptimisticLockException
An exception thrown on optimistic lock failure.
|
Modifier and Type | Method and Description |
---|---|
void |
DataContext.commitChanges()
Synchronizes object graph with the database.
|
Modifier and Type | Method and Description |
---|---|
DataMap |
DataMapLoader.load(Resource configurationResource) |
DataMap |
XMLDataMapLoader.load(Resource configurationResource) |
Modifier and Type | Class and Description |
---|---|
class |
DataDomainLoadException |
Modifier and Type | Class and Description |
---|---|
class |
EJBQLException
An exception thrown on errors during parsing EJBQL statements.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionException
RuntimeException thrown on errors during expressions creation/parsing.
|
Modifier and Type | Method and Description |
---|---|
DataMap |
MapLoader.loadDataMap(InputSource src)
Loads a DataMap from XML input source.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyException
An unchecked exception thrown on errors during property access, either within a
Accessor or a Property.
|
class |
UnresolvablePathException
A runtime exception thrown when
PropertyUtils.getProperty() finds that
there is a null value in middle of the resolved path. |
Modifier and Type | Method and Description |
---|---|
static Object |
PropertyUtils.getProperty(Object object,
String nestedPropertyName)
Returns object property using JavaBean-compatible introspection with one
addition - a property can be a dot-separated property name path.
|
static void |
PropertyUtils.setProperty(Object object,
String nestedPropertyName,
Object value)
Sets object property using JavaBean-compatible introspection with one
addition - a property can be a dot-separated property name path.
|
Modifier and Type | Method and Description |
---|---|
EventBridge |
RemoteSession.createServerEventBridge()
Deprecated.
since 4.0. Factory creation should is handled by the client connection.
|
Modifier and Type | Class and Description |
---|---|
class |
MissingSessionException
An exception that are thrown by the ROP server if the client are missing a session.
|
Modifier and Type | Method and Description |
---|---|
Object |
PersistentObjectMap.getValue() |
Object |
PersistentObjectList.getValue() |
Object |
IndexPropertyList.getValue() |
Object |
PersistentObjectHolder.getValue()
Returns a value resolving it via a query on the first call to this method.
|
Object |
PersistentObjectSet.getValue() |
Object |
PersistentObjectMap.getValueDirectly() |
Object |
PersistentObjectList.getValueDirectly() |
Object |
IndexPropertyList.getValueDirectly() |
Object |
PersistentObjectHolder.getValueDirectly() |
Object |
PersistentObjectSet.getValueDirectly() |
Object |
PersistentObjectMap.setValue(Object value) |
Object |
PersistentObjectList.setValue(Object value) |
Object |
IndexPropertyList.setValue(Object value) |
Object |
PersistentObjectHolder.setValue(Object value)
Sets an object value, marking this ValueHolder as resolved.
|
Object |
PersistentObjectSet.setValue(Object value) |
Object |
PersistentObjectMap.setValueDirectly(Object value) |
Object |
PersistentObjectList.setValueDirectly(Object value) |
Object |
IndexPropertyList.setValueDirectly(Object value) |
Object |
PersistentObjectHolder.setValueDirectly(Object value) |
Object |
PersistentObjectSet.setValueDirectly(Object value) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationException
An exception thrown on unsuccessful validation.
|
Copyright © 2001–2019 Apache Cayenne. All rights reserved.