Uses of Interface

Packages that use OpCallbacks
org.apache.openjpa.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.slice Extended OpenJPA Interfaces for distributed databases. 

Uses of OpCallbacks in org.apache.openjpa.kernel

Methods in org.apache.openjpa.kernel that return OpCallbacks
 OpCallbacks AttachManager.getBehavior()
          Return the behavior supplied on construction.

Methods in org.apache.openjpa.kernel with parameters of type OpCallbacks
 Object Broker.attach(Object pc, boolean copyNew, OpCallbacks call)
          Import the specified detached object into the broker.
 Object BrokerImpl.attach(Object obj, boolean copyNew, OpCallbacks call)
 Object 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)
(package private)  void StateManagerImpl.beforeFlush(int reason, OpCallbacks call)
          Delegates to the current state.
(package private)  void PDirtyState.beforeFlush(StateManagerImpl context, boolean logical, OpCallbacks call)
(package private)  void PCState.beforeFlush(StateManagerImpl context, boolean logical, OpCallbacks call)
          Called before the state is flushed.
(package private)  void ECopyState.beforeFlush(StateManagerImpl context, boolean logical, OpCallbacks call)
(package private)  void EDirtyState.beforeFlush(StateManagerImpl context, boolean logical, OpCallbacks call)
(package private)  void PNewState.beforeFlush(StateManagerImpl context, boolean logical, OpCallbacks call)
(package private)  void StateManagerImpl.cascadeDelete(OpCallbacks call)
          Cascade deletes and dereference dependent fields.
(package private)  void StateManagerImpl.cascadePersist(OpCallbacks call)
          Called after an instance is persisted by a user through the broker.
 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)
(package private)  void BrokerImpl.delete(Object obj, StateManagerImpl sm, OpCallbacks call)
          Internal delete.
 void SingleFieldManager.delete(OpCallbacks call)
          Delete and/or dereference field values.
(package private)  void SingleFieldManager.delete(ValueMetaData vmd, Object obj, OpCallbacks call)
          Delete an object embedded in the given value.
 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)
 Object Broker.detach(Object pc, OpCallbacks call)
          Detach the specified object from the broker.
 Object BrokerImpl.detach(Object obj, OpCallbacks call)
 Object DelegatingBroker.detach(Object obj, OpCallbacks call)
 Object[] Broker.detachAll(Collection objs, OpCallbacks call)
          Detach the specified objects from the broker.
 Object[] BrokerImpl.detachAll(Collection objs, OpCallbacks call)
 Object[] DelegatingBroker.detachAll(Collection objs, OpCallbacks call)
 void Broker.detachAll(OpCallbacks call)
          Detach all objects in place.
 void BrokerImpl.detachAll(OpCallbacks call)
 void DelegatingBroker.detachAll(OpCallbacks call)
 void Broker.detachAll(OpCallbacks call, boolean flush)
          Detach all objects in place, with the option of performing a flush before doing the detachment.
 void BrokerImpl.detachAll(OpCallbacks call, boolean flush)
 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 BrokerImpl.evictAll(Collection objs, OpCallbacks call)
 void DelegatingBroker.evictAll(Collection objs, OpCallbacks call)
 void Broker.evictAll(Extent extent, OpCallbacks call)
          Evict all persistent-clean and persistent-nontransactional instances in the given Extent.
 void BrokerImpl.evictAll(Extent extent, OpCallbacks call)
 void DelegatingBroker.evictAll(Extent extent, OpCallbacks call)
 void Broker.evictAll(OpCallbacks call)
          Evict all clean objects.
 void BrokerImpl.evictAll(OpCallbacks call)
 void DelegatingBroker.evictAll(OpCallbacks call)
(package private)  void BrokerImpl.gatherCascadeRefresh(Object obj, OpCallbacks call)
          Gathers all objects reachable through cascade-refresh relations into the operating set.
 void SingleFieldManager.gatherCascadeRefresh(OpCallbacks call)
          Recursively invoke the broker to gather cascade-refresh objects in the current field into the given set.
(package private)  void StateManagerImpl.gatherCascadeRefresh(OpCallbacks call)
          Gather relations reachable from values using ValueMetaData.CASCADE_IMMEDIATE.
 void Broker.lock(Object pc, int level, int timeout, OpCallbacks call)
          Ensure that the given instance is locked at the given lock level.
 void BrokerImpl.lock(Object obj, int level, int timeout, OpCallbacks call)
 void DelegatingBroker.lock(Object obj, int level, int timeout, 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 BrokerImpl.lock(Object obj, 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 BrokerImpl.lockAll(Collection objs, int level, int timeout, OpCallbacks call)
 void DelegatingBroker.lockAll(Collection objs, int level, int timeout, 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 BrokerImpl.lockAll(Collection objs, OpCallbacks call)
 void DelegatingBroker.lockAll(Collection objs, OpCallbacks call)
(package private)  void StateManagerImpl.nonprovisional(boolean logical, OpCallbacks call)
          Delegates to the current state.
(package private)  PCState PCState.nonprovisional(StateManagerImpl context, boolean logical, OpCallbacks call)
          Return the state to transition to after making no longer provisional.
(package private)  PCState PNewProvisionalState.nonprovisional(StateManagerImpl context, boolean logical, OpCallbacks call)
 void StoreContext.nontransactional(Object pc, OpCallbacks call)
          Make the given object nontransactional.
 void BrokerImpl.nontransactional(Object obj, OpCallbacks call)
 void DelegatingBroker.nontransactional(Object pc, OpCallbacks call)
 void StoreContext.nontransactionalAll(Collection objs, OpCallbacks call)
          Make the given objects nontransactional.
 void BrokerImpl.nontransactionalAll(Collection objs, OpCallbacks call)
 void DelegatingBroker.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 Broker.persist(Object pc, Object id, OpCallbacks call)
          Make the given instance persistent.
 OpenJPAStateManager BrokerImpl.persist(Object obj, Object id, OpCallbacks call)
 OpenJPAStateManager DelegatingBroker.persist(Object obj, Object id, OpCallbacks call)
 void Broker.persist(Object obj, OpCallbacks call)
          Persist the given object.
 void BrokerImpl.persist(Object obj, OpCallbacks call)
 void DelegatingBroker.persist(Object obj, OpCallbacks call)
 void SingleFieldManager.persist(OpCallbacks call)
          Persist the stored field safely, preventing infinite recursion using the given set of already-persisted objects.
 void BrokerImpl.persistAll(Collection objs, boolean explicit, OpCallbacks call)
          Persist the given objects.
 void Broker.persistAll(Collection objs, OpCallbacks call)
          Persist the given objects.
 void BrokerImpl.persistAll(Collection objs, OpCallbacks call)
 void DelegatingBroker.persistAll(Collection objs, OpCallbacks call)
 boolean SingleFieldManager.preFlush(boolean logical, OpCallbacks call)
          Perform pre-flush tasks on the current field.
(package private)  void StateManagerImpl.preFlush(boolean logical, OpCallbacks call)
          Get ready for a flush.
 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(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 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 StoreContext.retrieve(Object pc, boolean fgOnly, OpCallbacks call)
          Immediately load the given object's persistent fields.
 void BrokerImpl.retrieve(Object obj, boolean dfgOnly, OpCallbacks call)
 void DelegatingBroker.retrieve(Object obj, boolean fgOnly, OpCallbacks call)
 void StoreContext.retrieveAll(Collection objs, boolean fgOnly, OpCallbacks call)
          Retrieve the given objects' persistent state.
 void BrokerImpl.retrieveAll(Collection objs, boolean dfgOnly, OpCallbacks call)
 void DelegatingBroker.retrieveAll(Collection objs, boolean fgOnly, OpCallbacks call)
 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 StoreContext.transactional(Object pc, boolean updateVersion, OpCallbacks call)
          Make the given object transactional.
 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.transactionalAll(Collection objs, boolean updateVersion, OpCallbacks call)
          Make the given objects transactional.
 void BrokerImpl.transactionalAll(Collection objs, boolean updateVersion, OpCallbacks call)
          Make the given instances transactional.
 void DelegatingBroker.transactionalAll(Collection objs, boolean updateVersion, OpCallbacks call)

Constructors in org.apache.openjpa.kernel with parameters of type OpCallbacks
AttachManager(BrokerImpl broker, boolean copyNew, OpCallbacks call)
DetachManager(BrokerImpl broker, boolean full, OpCallbacks call)

Uses of OpCallbacks in org.apache.openjpa.persistence

Classes in org.apache.openjpa.persistence that implement OpCallbacks
 class EntityManagerImpl
          Implementation of EntityManager interface.

Uses of OpCallbacks in org.apache.openjpa.slice

Methods in org.apache.openjpa.slice with parameters of type OpCallbacks
 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-2013 Apache Software Foundation. All Rights Reserved.