org.riotfamily.riot.dao
Interface CutAndPasteEnabledDao

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

public interface CutAndPasteEnabledDao
extends RiotDao

In order to support cut and paste operations a RiotDao must be capable of performing add and remove operations without saving or deleting.


Method Summary
 void addChild(Object entity, Object parent)
          Adds the entity to a new parent.
 void removeChild(Object entity, Object parent)
          Removes the entity from the given parent.
 
Methods inherited from interface org.riotfamily.riot.dao.RiotDao
delete, getEntityClass, getListSize, getObjectId, list, load, merge, save, update
 

Method Detail

removeChild

void removeChild(Object entity,
                 Object parent)
Removes the entity from the given parent.


addChild

void addChild(Object entity,
              Object parent)
Adds the entity to a new parent.