org.riotfamily.riot.dao
Interface CopyAndPasteEnabledDao

All Superinterfaces:
RiotDao

public interface CopyAndPasteEnabledDao
extends RiotDao

In order to support copy and paste operations a RiotDao must be capable of creating copies of entities.


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

Method Detail

addCopy

void addCopy(Object entity,
             Object parent)
Adds a copy of the given entity to the specified parent.