com.atlassian.user.impl.hibernate
Class CachingExternalEntityDAO

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
          extended bycom.atlassian.user.impl.hibernate.DefaultExternalEntityDAO
              extended bycom.atlassian.user.impl.hibernate.CachingExternalEntityDAO
All Implemented Interfaces:
ExternalEntityDAO, org.springframework.beans.factory.InitializingBean

public class CachingExternalEntityDAO
extends DefaultExternalEntityDAO


Field Summary
 
Fields inherited from class com.atlassian.user.impl.hibernate.DefaultExternalEntityDAO
EXTERNAL_ENTITY_PREFIX, EXTERNAL_ENTITY_TYPE
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CachingExternalEntityDAO(net.sf.hibernate.SessionFactory sessionFactory, com.atlassian.cache.CacheFactory cacheFactory)
           
 
Method Summary
 ExternalEntity createExternalEntity(java.lang.String externalEntityName)
           
 ExternalEntity getExternalEntity(java.lang.String externalEntityName)
           
 void removeExternalEntity(java.lang.String externalEntityName)
          Remove the named external taking no action if the external entity can't be found.
 
Methods inherited from class com.atlassian.user.impl.hibernate.DefaultExternalEntityDAO
saveExternalEntity
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingExternalEntityDAO

public CachingExternalEntityDAO(net.sf.hibernate.SessionFactory sessionFactory,
                                com.atlassian.cache.CacheFactory cacheFactory)
Method Detail

getExternalEntity

public ExternalEntity getExternalEntity(java.lang.String externalEntityName)
Specified by:
getExternalEntity in interface ExternalEntityDAO
Overrides:
getExternalEntity in class DefaultExternalEntityDAO

removeExternalEntity

public void removeExternalEntity(java.lang.String externalEntityName)
Description copied from interface: ExternalEntityDAO
Remove the named external taking no action if the external entity can't be found.

Specified by:
removeExternalEntity in interface ExternalEntityDAO
Overrides:
removeExternalEntity in class DefaultExternalEntityDAO

createExternalEntity

public ExternalEntity createExternalEntity(java.lang.String externalEntityName)
Specified by:
createExternalEntity in interface ExternalEntityDAO
Overrides:
createExternalEntity in class DefaultExternalEntityDAO


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.