org.kuali.rice.krad.util
Class KualiPersistenceBrokerImpl

java.lang.Object
  extended by org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
      extended by org.apache.ojb.broker.core.PersistenceBrokerImpl
          extended by org.kuali.rice.krad.util.KualiPersistenceBrokerImpl
All Implemented Interfaces:
org.apache.ojb.broker.PBState, org.apache.ojb.broker.PersistenceBroker, org.apache.ojb.broker.PersistenceBrokerInternal, org.apache.ojb.broker.util.configuration.Configurable, org.odbms.ObjectContainer

public class KualiPersistenceBrokerImpl
extends org.apache.ojb.broker.core.PersistenceBrokerImpl


Field Summary
 
Fields inherited from class org.apache.ojb.broker.core.PersistenceBrokerImpl
brokerHelper, mtoNBroker, pbf, referencesBroker
 
Fields inherited from class org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
AFTER_BEGIN_EVENT, AFTER_COMMIT_EVENT, AFTER_DELETE_EVENT, AFTER_LOOKUP_EVENT, AFTER_OPEN_EVENT, AFTER_ROLLBACK_EVENT, AFTER_STORE_EVENT, AFTER_UPDATE_EVENT, BEFORE_BEGIN_EVENT, BEFORE_CLOSE_EVENT, BEFORE_COMMIT_EVENT, BEFORE_DELETE_EVENT, BEFORE_ROLLBACK_EVENT, BEFORE_STORE_EVENT, BEFORE_UPDATE_EVENT
 
Constructor Summary
KualiPersistenceBrokerImpl(org.apache.ojb.broker.PBKey key, org.apache.ojb.broker.core.PersistenceBrokerFactoryIF pbf)
           
 
Method Summary
 void abortTransaction()
           
 void beginTransaction()
           
 boolean close()
           
 void commitTransaction()
           
 boolean isFresh()
           
 
Methods inherited from class org.apache.ojb.broker.core.PersistenceBrokerImpl
addMtoNImplementor, checkRefreshRelationships, clearCache, createProxy, delete, delete, deleteByQuery, deleteMtoNImplementor, destroy, doGetObjectByIdentity, finalize, getClassDescriptor, getCollectionByQuery, getCollectionByQuery, getCount, getDescriptorRepository, getInternalCache, getIteratorByQuery, getIteratorFromQuery, getObjectByIdentity, getObjectByQuery, getPBKey, getPKEnumerationByQuery, getProxyFactory, getReferenceBroker, getRelationshipPrefetcherFactory, getReportQueryIteratorByQuery, getTopLevelClass, hasClassDescriptor, isClosed, isInTransaction, isManaged, link, linkMtoN, linkOneToMany, linkOneToOne, query, refresh, removeFromCache, retrieveAllReferences, retrieveReference, serviceBrokerHelper, serviceConnectionManager, serviceIdentity, serviceJdbcAccess, serviceObjectCache, serviceSequenceManager, serviceSqlGenerator, serviceStatementManager, setClosed, setInTransaction, setManaged, setPBKey, store, store, store, store, unlinkFK, unlinkXtoN
 
Methods inherited from class org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
addListener, addListener, configure, fireBrokerEvent, fireBrokerEvent, fireBrokerEvent, isTxCheck, removeAllListeners, removeAllListeners, removeListener, setTxCheck
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KualiPersistenceBrokerImpl

public KualiPersistenceBrokerImpl(org.apache.ojb.broker.PBKey key,
                                  org.apache.ojb.broker.core.PersistenceBrokerFactoryIF pbf)
Method Detail

isFresh

public boolean isFresh()

beginTransaction

public void beginTransaction()
                      throws org.apache.ojb.broker.TransactionInProgressException,
                             org.apache.ojb.broker.TransactionAbortedException
Specified by:
beginTransaction in interface org.apache.ojb.broker.PersistenceBroker
Overrides:
beginTransaction in class org.apache.ojb.broker.core.PersistenceBrokerImpl
Throws:
org.apache.ojb.broker.TransactionInProgressException
org.apache.ojb.broker.TransactionAbortedException
See Also:
PersistenceBrokerImpl.beginTransaction()

abortTransaction

public void abortTransaction()
                      throws org.apache.ojb.broker.TransactionNotInProgressException
Specified by:
abortTransaction in interface org.apache.ojb.broker.PersistenceBroker
Overrides:
abortTransaction in class org.apache.ojb.broker.core.PersistenceBrokerImpl
Throws:
org.apache.ojb.broker.TransactionNotInProgressException
See Also:
PersistenceBrokerImpl.abortTransaction()

commitTransaction

public void commitTransaction()
                       throws org.apache.ojb.broker.TransactionNotInProgressException,
                              org.apache.ojb.broker.TransactionAbortedException
Specified by:
commitTransaction in interface org.apache.ojb.broker.PersistenceBroker
Overrides:
commitTransaction in class org.apache.ojb.broker.core.PersistenceBrokerImpl
Throws:
org.apache.ojb.broker.TransactionNotInProgressException
org.apache.ojb.broker.TransactionAbortedException
See Also:
PersistenceBrokerImpl.commitTransaction()

close

public boolean close()
Specified by:
close in interface org.apache.ojb.broker.PersistenceBroker
Overrides:
close in class org.apache.ojb.broker.core.PersistenceBrokerImpl
See Also:
PersistenceBrokerImpl.close()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.