org.riotfamily.riot.dao
Interface SwappableItemDao

All Superinterfaces:
RiotDao
All Known Implementing Classes:
HibernateUserDao, HqlDao, HqlIndexedListDao, HqlParentChildDao, HqlSortedCollectionDao, PageRiotDao, SiteRiotDao

public interface SwappableItemDao
extends RiotDao

RiotDao that allows to change the position of an entity using the swap command.


Method Summary
 void swapEntity(Object entity, Object parent, ListParams params, int swapWith)
           
 
Methods inherited from interface org.riotfamily.riot.dao.RiotDao
delete, getEntityClass, getListSize, getObjectId, list, load, merge, save, update
 

Method Detail

swapEntity

void swapEntity(Object entity,
                Object parent,
                ListParams params,
                int swapWith)