| 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 | Contains classes an interfaces related to Cayenne remote object persistence features. | 
| org.apache.cayenne.remote.service | |
| org.apache.cayenne.rop | |
| org.apache.cayenne.util | General utility classes. | 
| org.apache.cayenne.validation | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConfigurationExceptionA runtime exception thrown on failures in Cayenne configuration. | 
| class  | DeleteDenyExceptionAn 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  | FaultFailureExceptionA 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  | DomainStoppedExceptionAn exception thrown on attempts to access a DataDomain after it was explicitly shut
 down by the user. | 
| class  | OptimisticLockExceptionAn 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  | EJBQLExceptionAn exception thrown on errors during parsing EJBQL statements. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ExpressionExceptionRuntimeException 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  | PropertyExceptionAn unchecked exception thrown on errors during property access, either within a
 Accessor or a Property. | 
| class  | UnresolvablePathExceptionA 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 | 
|---|---|
| protected abstract void | BaseConnection. beforeSendMessage(ClientMessage message)Called before logging the beginning of message processing. | 
| EventBridge | RemoteSession. createServerEventBridge()Deprecated. 
 since 4.0. Factory creation should is handled by the client connection. | 
| protected abstract Object | BaseConnection. doSendMessage(ClientMessage message)The worker method invoked to process message. | 
| EventBridge | ClientConnection. getServerEventBridge()Returns an EventBridge that receives remote server events. | 
| Object | BaseConnection. sendMessage(ClientMessage message)Invokes 'beforeSendMessage' on self, then invokes 'doSendMessage'. | 
| Object | ClientConnection. sendMessage(ClientMessage message)Sends a synchronous ClientMessage to the server, returning a reply. | 
| protected boolean | ClientChannel. setupRemoteChannelListener()Starts up an EventBridge to listen for remote updates. | 
| Constructor and Description | 
|---|
| ClientChannel(ClientConnection connection,
             boolean channelEventsEnabled,
             EventManager eventManager,
             boolean remoteEventsOptional) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MissingSessionExceptionAn exception that are thrown by the ROP server if the client are missing a session. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | LocalConnection. doSendMessage(ClientMessage message)Dispatches a message to an internal handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | HttpClientConnection. beforeSendMessage(ClientMessage message) | 
| protected EventBridge | HttpClientConnection. createServerEventBridge(RemoteSession session)Creates an EventBridge that will listen for server events. | 
| protected Object | HttpClientConnection. doSendMessage(ClientMessage message) | 
| EventBridge | HttpClientConnection. getServerEventBridge() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | IndexPropertyList. getValue() | 
| Object | PersistentObjectHolder. getValue()Returns a value resolving it via a query on the first call to this method. | 
| Object | PersistentObjectList. getValue() | 
| Object | PersistentObjectMap. getValue() | 
| Object | PersistentObjectSet. getValue() | 
| Object | IndexPropertyList. getValueDirectly() | 
| Object | PersistentObjectHolder. getValueDirectly() | 
| Object | PersistentObjectList. getValueDirectly() | 
| Object | PersistentObjectMap. getValueDirectly() | 
| Object | PersistentObjectSet. getValueDirectly() | 
| Object | IndexPropertyList. setValue(Object value) | 
| Object | PersistentObjectHolder. setValue(Object value)Sets an object value, marking this ValueHolder as resolved. | 
| Object | PersistentObjectList. setValue(Object value) | 
| Object | PersistentObjectMap. setValue(Object value) | 
| Object | PersistentObjectSet. setValue(Object value) | 
| Object | IndexPropertyList. setValueDirectly(Object value) | 
| Object | PersistentObjectHolder. setValueDirectly(Object value) | 
| Object | PersistentObjectList. setValueDirectly(Object value) | 
| Object | PersistentObjectMap. setValueDirectly(Object value) | 
| Object | PersistentObjectSet. setValueDirectly(Object value) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ValidationExceptionAn exception thrown on unsuccessful validation. | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.