org.ow2.dragon.persistence.dao.organization.hibernate
Class OrganizationUnitDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl<OrganizationUnit,java.lang.String>
              extended by org.ow2.dragon.persistence.dao.organization.hibernate.OrganizationUnitDAOImpl
All Implemented Interfaces:
GenericORMDAO<OrganizationUnit,java.lang.String>, OrganizationUnitDAO, org.springframework.beans.factory.InitializingBean

public class OrganizationUnitDAOImpl
extends GenericHibernateDAOImpl<OrganizationUnit,java.lang.String>
implements OrganizationUnitDAO

Author:
ofabre - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
type
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
OrganizationUnitDAOImpl()
           
 
Method Summary
 java.util.List<OrganizationUnit> getAllWithoutMeAndMyChildren(java.lang.String initialOrgId)
           
 java.util.List<OrganizationUnit> getOrgAndChildren(java.lang.String initialOrgId)
           
 OrganizationUnit getOrgUnitByNameAndCity(java.lang.String name, java.lang.String city)
           
 
Methods inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, save, search, searchAndCount, searchEquals, searchLike, searchUnique, setType
 
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 org.ow2.dragon.persistence.dao.GenericORMDAO
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, save, search, searchAndCount, searchEquals, searchLike, searchUnique
 

Constructor Detail

OrganizationUnitDAOImpl

public OrganizationUnitDAOImpl()
Method Detail

getOrgUnitByNameAndCity

public OrganizationUnit getOrgUnitByNameAndCity(java.lang.String name,
                                                java.lang.String city)
Specified by:
getOrgUnitByNameAndCity in interface OrganizationUnitDAO

getOrgAndChildren

public java.util.List<OrganizationUnit> getOrgAndChildren(java.lang.String initialOrgId)
Specified by:
getOrgAndChildren in interface OrganizationUnitDAO

getAllWithoutMeAndMyChildren

public java.util.List<OrganizationUnit> getAllWithoutMeAndMyChildren(java.lang.String initialOrgId)
                                                              throws DAOLayerException
Specified by:
getAllWithoutMeAndMyChildren in interface OrganizationUnitDAO
Throws:
DAOLayerException


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.