Uses of Interface
org.apache.openjpa.kernel.OpCallbacks
Package
Description
OpenJPA Runtime Kernel
OpenJPA JPA
Extended OpenJPA Interfaces for distributed databases.
-
Uses of OpCallbacks in org.apache.openjpa.kernel
Modifier and TypeMethodDescriptionAttachManager.getBehavior()
Return the behavior supplied on construction.Modifier and TypeMethodDescriptionBroker.attach
(Object pc, boolean copyNew, OpCallbacks call) Import the specified detached object into the broker.BrokerImpl.attach
(Object obj, boolean copyNew, OpCallbacks call) DelegatingBroker.attach
(Object obj, boolean copyNew, OpCallbacks call) Object[]
Broker.attachAll
(Collection objs, boolean copyNew, OpCallbacks call) Import the specified objects into the broker.Object[]
BrokerImpl.attachAll
(Collection objs, boolean copyNew, OpCallbacks call) Object[]
DelegatingBroker.attachAll
(Collection objs, boolean copyNew, OpCallbacks call) void
Broker.delete
(Object pc, OpCallbacks call) Delete the given object.void
BrokerImpl.delete
(Object obj, OpCallbacks call) void
DelegatingBroker.delete
(Object obj, OpCallbacks call) void
Broker.deleteAll
(Collection objs, OpCallbacks call) Delete the given objects.void
BrokerImpl.deleteAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.deleteAll
(Collection objs, OpCallbacks call) Broker.detach
(Object pc, OpCallbacks call) Detach the specified object from the broker.BrokerImpl.detach
(Object obj, OpCallbacks call) DelegatingBroker.detach
(Object obj, OpCallbacks call) Object[]
Broker.detachAll
(Collection objs, OpCallbacks call) Detach the specified objects from the broker.void
Broker.detachAll
(OpCallbacks call) Detach all objects in place.void
Broker.detachAll
(OpCallbacks call, boolean flush) Detach all objects in place, with the option of performing a flush before doing the detachment.Object[]
BrokerImpl.detachAll
(Collection objs, OpCallbacks call) void
BrokerImpl.detachAll
(OpCallbacks call) void
BrokerImpl.detachAll
(OpCallbacks call, boolean flush) Object[]
DelegatingBroker.detachAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.detachAll
(OpCallbacks call) void
DelegatingBroker.detachAll
(OpCallbacks call, boolean flush) void
Broker.evict
(Object pc, OpCallbacks call) Evict the given object.void
BrokerImpl.evict
(Object obj, OpCallbacks call) void
DelegatingBroker.evict
(Object obj, OpCallbacks call) void
Broker.evictAll
(Collection objs, OpCallbacks call) Evict the given objects.void
Broker.evictAll
(Extent extent, OpCallbacks call) Evict all persistent-clean and persistent-nontransactional instances in the givenExtent
.void
Broker.evictAll
(OpCallbacks call) Evict all clean objects.void
BrokerImpl.evictAll
(Collection objs, OpCallbacks call) void
BrokerImpl.evictAll
(Extent extent, OpCallbacks call) void
BrokerImpl.evictAll
(OpCallbacks call) void
DelegatingBroker.evictAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.evictAll
(Extent extent, OpCallbacks call) void
DelegatingBroker.evictAll
(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
Broker.lock
(Object pc, OpCallbacks call) Ensure that the given instance is locked at the current lock level, as set in theFetchConfiguration
for the broker.void
BrokerImpl.lock
(Object obj, int level, int timeout, OpCallbacks call) void
BrokerImpl.lock
(Object obj, OpCallbacks call) void
DelegatingBroker.lock
(Object obj, int level, int timeout, OpCallbacks call) void
DelegatingBroker.lock
(Object obj, 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
Broker.lockAll
(Collection objs, OpCallbacks call) Ensure that the given instances are locked at the current lock level, as set in theFetchConfiguration
for the broker.void
BrokerImpl.lockAll
(Collection objs, int level, int timeout, OpCallbacks call) void
BrokerImpl.lockAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.lockAll
(Collection objs, int level, int timeout, OpCallbacks call) void
DelegatingBroker.lockAll
(Collection objs, OpCallbacks call) void
BrokerImpl.nontransactional
(Object obj, OpCallbacks call) void
DelegatingBroker.nontransactional
(Object pc, OpCallbacks call) void
StoreContext.nontransactional
(Object pc, OpCallbacks call) Make the given object non-transactional.void
BrokerImpl.nontransactionalAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.nontransactionalAll
(Collection objs, OpCallbacks call) void
StoreContext.nontransactionalAll
(Collection<Object> objs, OpCallbacks call) Make the given objects nontransactional.Broker.persist
(Object pc, Object id, OpCallbacks call) Make the given instance persistent.void
Broker.persist
(Object obj, OpCallbacks call) Persist the given object.void
BrokerImpl.persist
(Object obj, boolean explicit, OpCallbacks call) Persist the given object.BrokerImpl.persist
(Object obj, Object id, boolean explicit, OpCallbacks call) Persist the given object.BrokerImpl.persist
(Object obj, Object id, boolean explicit, OpCallbacks call, boolean fireEvent) Persist the given object.BrokerImpl.persist
(Object obj, Object id, OpCallbacks call) void
BrokerImpl.persist
(Object obj, OpCallbacks call) DelegatingBroker.persist
(Object obj, Object id, OpCallbacks call) void
DelegatingBroker.persist
(Object obj, OpCallbacks call) void
Broker.persistAll
(Collection objs, OpCallbacks call) Persist the given objects.void
BrokerImpl.persistAll
(Collection objs, boolean explicit, OpCallbacks call) Persist the given objects.void
BrokerImpl.persistAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.persistAll
(Collection objs, OpCallbacks call) void
Broker.refresh
(Object pc, OpCallbacks call) Refresh the state of the given object.void
BrokerImpl.refresh
(Object obj, OpCallbacks call) void
DelegatingBroker.refresh
(Object obj, OpCallbacks call) void
Broker.refreshAll
(Collection objs, OpCallbacks call) Refresh the state of the given objects.void
BrokerImpl.refreshAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.refreshAll
(Collection objs, OpCallbacks call) protected void
BrokerImpl.refreshInternal
(Object obj, OpCallbacks call) Optimization for single-object refresh.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.void
Broker.release
(Object pc, OpCallbacks call) Release the given object from management.void
BrokerImpl.release
(Object obj, OpCallbacks call) void
DelegatingBroker.release
(Object obj, OpCallbacks call) void
Broker.releaseAll
(Collection objs, OpCallbacks call) Release the given objects from management.void
BrokerImpl.releaseAll
(Collection objs, OpCallbacks call) void
DelegatingBroker.releaseAll
(Collection objs, OpCallbacks call) void
BrokerImpl.retrieve
(Object obj, boolean dfgOnly, OpCallbacks call) void
DelegatingBroker.retrieve
(Object obj, boolean fgOnly, OpCallbacks call) void
StoreContext.retrieve
(Object pc, boolean fgOnly, OpCallbacks call) Immediately load the given object's persistent fields.void
BrokerImpl.retrieveAll
(Collection objs, boolean dfgOnly, OpCallbacks call) void
DelegatingBroker.retrieveAll
(Collection objs, boolean fgOnly, OpCallbacks call) void
StoreContext.retrieveAll
(Collection<Object> objs, boolean fgOnly, OpCallbacks call) Retrieve the given objects' persistent state.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
BrokerImpl.setImplicitBehavior
(OpCallbacks call, RuntimeExceptionTranslator ex) void
DelegatingBroker.setImplicitBehavior
(OpCallbacks call, RuntimeExceptionTranslator ex) void
BrokerImpl.transactional
(Object obj, boolean updateVersion, OpCallbacks call) Make the given instances transactional.void
DelegatingBroker.transactional
(Object pc, boolean updateVersion, OpCallbacks call) void
StoreContext.transactional
(Object pc, boolean updateVersion, OpCallbacks call) Make the given object transactional.void
BrokerImpl.transactionalAll
(Collection objs, boolean updateVersion, OpCallbacks call) Make the given instances transactional.void
DelegatingBroker.transactionalAll
(Collection objs, boolean updateVersion, OpCallbacks call) void
StoreContext.transactionalAll
(Collection<Object> objs, boolean updateVersion, OpCallbacks call) Make the given objects transactional.ModifierConstructorDescriptionAttachManager
(BrokerImpl broker, boolean copyNew, OpCallbacks call) Constructor.DetachManager
(BrokerImpl broker, boolean full, OpCallbacks call) Constructor. -
Uses of OpCallbacks in org.apache.openjpa.persistence
Modifier and TypeClassDescriptionclass
Implementation ofEntityManager
interface. -
Uses of OpCallbacks in org.apache.openjpa.slice
Modifier and TypeMethodDescriptionDistributedBrokerImpl.persist
(Object pc, Object id, boolean explicit, OpCallbacks call) Assigns slice identifier to the resultant StateManager as initialized by the super class implementation.