org.riotfamily.riot.dao.support
Class InMemoryRiotDao

java.lang.Object
  extended by org.riotfamily.riot.dao.support.RiotDaoAdapter
      extended by org.riotfamily.riot.dao.support.InMemoryRiotDao
All Implemented Interfaces:
RiotDao, SortableDao

public abstract class InMemoryRiotDao
extends RiotDaoAdapter
implements SortableDao


Constructor Summary
InMemoryRiotDao()
           
 
Method Summary
protected  boolean filterMatches(Object item, ListParams params)
           
 Collection<?> list(Object parent, ListParams params)
          Always returns Collections.EMPTY_LIST.
protected abstract  Collection<?> listInternal(Object parent)
           
protected  boolean searchMatches(Object item, ListParams params)
           
 
Methods inherited from class org.riotfamily.riot.dao.support.RiotDaoAdapter
delete, getEntityClass, getListSize, getObjectId, load, merge, save, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryRiotDao

public InMemoryRiotDao()
Method Detail

list

public Collection<?> list(Object parent,
                          ListParams params)
                   throws DataAccessException
Description copied from class: RiotDaoAdapter
Always returns Collections.EMPTY_LIST.

Specified by:
list in interface RiotDao
Overrides:
list in class RiotDaoAdapter
Throws:
DataAccessException

filterMatches

protected boolean filterMatches(Object item,
                                ListParams params)

searchMatches

protected boolean searchMatches(Object item,
                                ListParams params)

listInternal

protected abstract Collection<?> listInternal(Object parent)
                                       throws Exception
Throws:
Exception