org.riotfamily.riot.hibernate.dao
Class HqlIndexedListDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.riotfamily.riot.hibernate.dao.AbstractHibernateRiotDao
              extended by org.riotfamily.riot.hibernate.dao.HqlCollectionDao
                  extended by org.riotfamily.riot.hibernate.dao.HqlIndexedListDao
All Implemented Interfaces:
CutAndPasteEnabledDao, ParentChildDao, RiotDao, SortableDao, SwappableItemDao, InitializingBean

public class HqlIndexedListDao
extends HqlCollectionDao
implements SwappableItemDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HqlIndexedListDao(org.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
 void swapEntity(Object entity, Object parent, ListParams params, int swapWith)
           
 
Methods inherited from class org.riotfamily.riot.hibernate.dao.HqlCollectionDao
addChild, buildQueryString, delete, getCollection, getEntityClass, getListSize, getOrderBy, getParent, listInternal, removeChild, save, setCollectionProperty, setEntityClass, setParentClass, setParentProperty, setPolymorph, setWhere
 
Methods inherited from class org.riotfamily.riot.hibernate.dao.AbstractHibernateRiotDao
getObjectId, list, load, merge, 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 org.riotfamily.riot.dao.RiotDao
delete, getEntityClass, getListSize, getObjectId, list, load, merge, save, update
 

Constructor Detail

HqlIndexedListDao

public HqlIndexedListDao(org.hibernate.SessionFactory sessionFactory)
Method Detail

swapEntity

public void swapEntity(Object entity,
                       Object parent,
                       ListParams params,
                       int swapWith)
Specified by:
swapEntity in interface SwappableItemDao