org.kuali.rice.krad.dao.proxy
Class PersistenceDaoProxy

java.lang.Object
  extended by org.kuali.rice.krad.dao.proxy.PersistenceDaoProxy
All Implemented Interfaces:
PersistenceDao

@Transactional
public class PersistenceDaoProxy
extends Object
implements PersistenceDao


Constructor Summary
PersistenceDaoProxy()
           
 
Method Summary
 void clearCache()
           
 boolean isProxied(Object object)
          Asks proper DAO implementation if the object is proxied
 Object resolveProxy(Object o)
           
 void retrieveAllReferences(Object o)
           
 void retrieveReference(Object o, String referenceName)
           
 void setPersistenceDaoJpa(PersistenceDao persistenceDaoJpa)
           
 void setPersistenceDaoOjb(PersistenceDao persistenceDaoOjb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceDaoProxy

public PersistenceDaoProxy()
Method Detail

setPersistenceDaoJpa

public void setPersistenceDaoJpa(PersistenceDao persistenceDaoJpa)

setPersistenceDaoOjb

public void setPersistenceDaoOjb(PersistenceDao persistenceDaoOjb)

clearCache

public void clearCache()
Specified by:
clearCache in interface PersistenceDao
See Also:
PersistenceDao.clearCache()

resolveProxy

public Object resolveProxy(Object o)
Specified by:
resolveProxy in interface PersistenceDao
See Also:
PersistenceDao.resolveProxy(java.lang.Object)

retrieveAllReferences

public void retrieveAllReferences(Object o)
Specified by:
retrieveAllReferences in interface PersistenceDao
See Also:
PersistenceDao.retrieveAllReferences(java.lang.Object)

retrieveReference

public void retrieveReference(Object o,
                              String referenceName)
Specified by:
retrieveReference in interface PersistenceDao
See Also:
PersistenceDao.retrieveReference(java.lang.Object, java.lang.String)

isProxied

public boolean isProxied(Object object)
Asks proper DAO implementation if the object is proxied

Specified by:
isProxied in interface PersistenceDao
Parameters:
object - the object to determine if it is a proxy
Returns:
true if the object is an ORM proxy; false otherwise
See Also:
PersistenceDao.isProxied(java.lang.Object)


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