com.atlassian.crowd.openid.server.model.profile.attribute
Class AttributeDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.atlassian.crowd.util.persistence.hibernate.HibernateDao
              extended by com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
                  extended by com.atlassian.crowd.openid.server.model.profile.attribute.AttributeDAOHibernate
All Implemented Interfaces:
EntityObjectDAO, AttributeDAO, ObjectDao, org.springframework.beans.factory.InitializingBean

public class AttributeDAOHibernate
extends EntityObjectDAOHibernate
implements AttributeDAO


Field Summary
 
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
batchProcessor
 
Constructor Summary
AttributeDAOHibernate()
           
 
Method Summary
 Attribute findAttributeByName(java.lang.String name, Profile profile)
          Finds an attribute in a profile given a specific name.
 java.lang.Class getPersistentClass()
          All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly
 
Methods inherited from class com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
findAll, save, update
 
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
load, remove, save, saveOrUpdate, setBatchProcessor, update
 
Methods inherited from class org.springframework.orm.hibernate3.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
 
Methods inherited from interface com.atlassian.crowd.openid.server.model.EntityObjectDAO
findAll, save, update
 
Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao
load, remove, save, update
 

Constructor Detail

AttributeDAOHibernate

public AttributeDAOHibernate()
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()
Description copied from class: HibernateDao
All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly

Specified by:
getPersistentClass in interface ObjectDao
Specified by:
getPersistentClass in class HibernateDao
Returns:
Class

findAttributeByName

public Attribute findAttributeByName(java.lang.String name,
                                     Profile profile)
Description copied from interface: AttributeDAO
Finds an attribute in a profile given a specific name.

Specified by:
findAttributeByName in interface AttributeDAO
Parameters:
name - name of attribute.
profile - profile to look in.
Returns:
attribute object (name-value pair).


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.