Package | Description |
---|---|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.slice |
Extended OpenJPA Interfaces for distributed databases.
|
Modifier and Type | Method and Description |
---|---|
OpCallbacks |
AttachManager.getBehavior()
Return the behavior supplied on construction.
|
Modifier and Type | Method and Description |
---|---|
Object |
DelegatingBroker.attach(Object obj,
boolean copyNew,
OpCallbacks call) |
Object |
BrokerImpl.attach(Object obj,
boolean copyNew,
OpCallbacks call) |
Object |
Broker.attach(Object pc,
boolean copyNew,
OpCallbacks call)
Import the specified detached object into the broker.
|
Object[] |
DelegatingBroker.attachAll(Collection objs,
boolean copyNew,
OpCallbacks call) |
Object[] |
BrokerImpl.attachAll(Collection objs,
boolean copyNew,
OpCallbacks call) |
Object[] |
Broker.attachAll(Collection objs,
boolean copyNew,
OpCallbacks call)
Import the specified objects into the broker.
|
void |
DelegatingBroker.delete(Object obj,
OpCallbacks call) |
void |
BrokerImpl.delete(Object obj,
OpCallbacks call) |
void |
Broker.delete(Object pc,
OpCallbacks call)
Delete the given object.
|
void |
DelegatingBroker.deleteAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.deleteAll(Collection objs,
OpCallbacks call) |
void |
Broker.deleteAll(Collection objs,
OpCallbacks call)
Delete the given objects.
|
Object |
DelegatingBroker.detach(Object obj,
OpCallbacks call) |
Object |
BrokerImpl.detach(Object obj,
OpCallbacks call) |
Object |
Broker.detach(Object pc,
OpCallbacks call)
Detach the specified object from the broker.
|
Object[] |
DelegatingBroker.detachAll(Collection objs,
OpCallbacks call) |
Object[] |
BrokerImpl.detachAll(Collection objs,
OpCallbacks call) |
Object[] |
Broker.detachAll(Collection objs,
OpCallbacks call)
Detach the specified objects from the broker.
|
void |
DelegatingBroker.detachAll(OpCallbacks call) |
void |
BrokerImpl.detachAll(OpCallbacks call) |
void |
Broker.detachAll(OpCallbacks call)
Detach all objects in place.
|
void |
DelegatingBroker.detachAll(OpCallbacks call,
boolean flush) |
void |
BrokerImpl.detachAll(OpCallbacks call,
boolean flush) |
void |
Broker.detachAll(OpCallbacks call,
boolean flush)
Detach all objects in place, with the option of performing a
flush before doing the detachment.
|
void |
DelegatingBroker.evict(Object obj,
OpCallbacks call) |
void |
BrokerImpl.evict(Object obj,
OpCallbacks call) |
void |
Broker.evict(Object pc,
OpCallbacks call)
Evict the given object.
|
void |
DelegatingBroker.evictAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.evictAll(Collection objs,
OpCallbacks call) |
void |
Broker.evictAll(Collection objs,
OpCallbacks call)
Evict the given objects.
|
void |
DelegatingBroker.evictAll(Extent extent,
OpCallbacks call) |
void |
BrokerImpl.evictAll(Extent extent,
OpCallbacks call) |
void |
Broker.evictAll(Extent extent,
OpCallbacks call)
Evict all persistent-clean and persistent-nontransactional
instances in the given
Extent . |
void |
DelegatingBroker.evictAll(OpCallbacks call) |
void |
BrokerImpl.evictAll(OpCallbacks call) |
void |
Broker.evictAll(OpCallbacks call)
Evict all clean objects.
|
void |
DelegatingBroker.lock(Object obj,
int level,
int timeout,
OpCallbacks call) |
void |
BrokerImpl.lock(Object obj,
int level,
int timeout,
OpCallbacks call) |
void |
Broker.lock(Object pc,
int level,
int timeout,
OpCallbacks call)
Ensure that the given instance is locked at the given lock level.
|
void |
DelegatingBroker.lock(Object obj,
OpCallbacks call) |
void |
BrokerImpl.lock(Object obj,
OpCallbacks call) |
void |
Broker.lock(Object pc,
OpCallbacks call)
Ensure that the given instance is locked at the current lock level, as
set in the
FetchConfiguration for the broker. |
void |
DelegatingBroker.lockAll(Collection objs,
int level,
int timeout,
OpCallbacks call) |
void |
BrokerImpl.lockAll(Collection objs,
int level,
int timeout,
OpCallbacks call) |
void |
Broker.lockAll(Collection objs,
int level,
int timeout,
OpCallbacks call)
Ensure that the given instances are locked at the given lock level.
|
void |
DelegatingBroker.lockAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.lockAll(Collection objs,
OpCallbacks call) |
void |
Broker.lockAll(Collection objs,
OpCallbacks call)
Ensure that the given instances are locked at the current lock level, as
set in the
FetchConfiguration for the broker. |
void |
StoreContext.nontransactional(Object pc,
OpCallbacks call)
Make the given object non-transactional.
|
void |
DelegatingBroker.nontransactional(Object pc,
OpCallbacks call) |
void |
BrokerImpl.nontransactional(Object obj,
OpCallbacks call) |
void |
StoreContext.nontransactionalAll(Collection<Object> objs,
OpCallbacks call)
Make the given objects nontransactional.
|
void |
DelegatingBroker.nontransactionalAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.nontransactionalAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.persist(Object obj,
boolean explicit,
OpCallbacks call)
Persist the given object.
|
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
boolean explicit,
OpCallbacks call)
Persist the given object.
|
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
boolean explicit,
OpCallbacks call,
boolean fireEvent)
Persist the given object.
|
OpenJPAStateManager |
DelegatingBroker.persist(Object obj,
Object id,
OpCallbacks call) |
OpenJPAStateManager |
BrokerImpl.persist(Object obj,
Object id,
OpCallbacks call) |
OpenJPAStateManager |
Broker.persist(Object pc,
Object id,
OpCallbacks call)
Make the given instance persistent.
|
void |
DelegatingBroker.persist(Object obj,
OpCallbacks call) |
void |
BrokerImpl.persist(Object obj,
OpCallbacks call) |
void |
Broker.persist(Object obj,
OpCallbacks call)
Persist the given object.
|
void |
BrokerImpl.persistAll(Collection objs,
boolean explicit,
OpCallbacks call)
Persist the given objects.
|
void |
DelegatingBroker.persistAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.persistAll(Collection objs,
OpCallbacks call) |
void |
Broker.persistAll(Collection objs,
OpCallbacks call)
Persist the given objects.
|
void |
DelegatingBroker.refresh(Object obj,
OpCallbacks call) |
void |
BrokerImpl.refresh(Object obj,
OpCallbacks call) |
void |
Broker.refresh(Object pc,
OpCallbacks call)
Refresh the state of the given object.
|
void |
DelegatingBroker.refreshAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.refreshAll(Collection objs,
OpCallbacks call) |
void |
Broker.refreshAll(Collection objs,
OpCallbacks call)
Refresh the state of the given objects.
|
protected void |
BrokerImpl.refreshInternal(Collection objs,
OpCallbacks call)
This method is called with the full set of objects reachable via
cascade-refresh relations from the user-given instances.
|
protected void |
BrokerImpl.refreshInternal(Object obj,
OpCallbacks call)
Optimization for single-object refresh.
|
void |
DelegatingBroker.release(Object obj,
OpCallbacks call) |
void |
BrokerImpl.release(Object obj,
OpCallbacks call) |
void |
Broker.release(Object pc,
OpCallbacks call)
Release the given object from management.
|
void |
DelegatingBroker.releaseAll(Collection objs,
OpCallbacks call) |
void |
BrokerImpl.releaseAll(Collection objs,
OpCallbacks call) |
void |
Broker.releaseAll(Collection objs,
OpCallbacks call)
Release the given objects from management.
|
void |
StoreContext.retrieve(Object pc,
boolean fgOnly,
OpCallbacks call)
Immediately load the given object's persistent fields.
|
void |
DelegatingBroker.retrieve(Object obj,
boolean fgOnly,
OpCallbacks call) |
void |
BrokerImpl.retrieve(Object obj,
boolean dfgOnly,
OpCallbacks call) |
void |
StoreContext.retrieveAll(Collection<Object> objs,
boolean fgOnly,
OpCallbacks call)
Retrieve the given objects' persistent state.
|
void |
DelegatingBroker.retrieveAll(Collection objs,
boolean fgOnly,
OpCallbacks call) |
void |
BrokerImpl.retrieveAll(Collection objs,
boolean dfgOnly,
OpCallbacks call) |
void |
DelegatingBroker.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
void |
BrokerImpl.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex) |
void |
Broker.setImplicitBehavior(OpCallbacks call,
RuntimeExceptionTranslator ex)
Set the broker's behavior for implicit actions such as flushing,
automatic detachment, and exceptions thrown by managed instances outside
a broker operation.
|
void |
StoreContext.transactional(Object pc,
boolean updateVersion,
OpCallbacks call)
Make the given object transactional.
|
void |
DelegatingBroker.transactional(Object pc,
boolean updateVersion,
OpCallbacks call) |
void |
BrokerImpl.transactional(Object obj,
boolean updateVersion,
OpCallbacks call)
Make the given instances transactional.
|
void |
StoreContext.transactionalAll(Collection<Object> objs,
boolean updateVersion,
OpCallbacks call)
Make the given objects transactional.
|
void |
DelegatingBroker.transactionalAll(Collection objs,
boolean updateVersion,
OpCallbacks call) |
void |
BrokerImpl.transactionalAll(Collection objs,
boolean updateVersion,
OpCallbacks call)
Make the given instances transactional.
|
Constructor and Description |
---|
AttachManager(BrokerImpl broker,
boolean copyNew,
OpCallbacks call)
Constructor.
|
DetachManager(BrokerImpl broker,
boolean full,
OpCallbacks call)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityManagerImpl
Implementation of
EntityManager interface. |
Modifier and Type | Method and Description |
---|---|
OpenJPAStateManager |
DistributedBrokerImpl.persist(Object pc,
Object id,
boolean explicit,
OpCallbacks call)
Assigns slice identifier to the resultant StateManager as initialized by
the super class implementation.
|
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.