com.atlassian.user.impl.hibernate
Class DefaultExternalEntityDAO

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

public class DefaultExternalEntityDAO
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements ExternalEntityDAO


Field Summary
static java.lang.String EXTERNAL_ENTITY_PREFIX
          Deprecated. since 1.29
static java.lang.String EXTERNAL_ENTITY_TYPE
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DefaultExternalEntityDAO(net.sf.hibernate.SessionFactory sessionFactory)
           
 
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.
 void saveExternalEntity(ExternalEntity externalEntity)
           
 
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
 

Field Detail

EXTERNAL_ENTITY_PREFIX

public static final java.lang.String EXTERNAL_ENTITY_PREFIX
Deprecated. since 1.29

See Also:
Constant Field Values

EXTERNAL_ENTITY_TYPE

public static final java.lang.String EXTERNAL_ENTITY_TYPE
See Also:
Constant Field Values
Constructor Detail

DefaultExternalEntityDAO

public DefaultExternalEntityDAO(net.sf.hibernate.SessionFactory sessionFactory)
Method Detail

getExternalEntity

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

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
Parameters:
externalEntityName - the name of the external entity

saveExternalEntity

public void saveExternalEntity(ExternalEntity externalEntity)
Specified by:
saveExternalEntity in interface ExternalEntityDAO

createExternalEntity

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


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