org.riotfamily.riot.list
Class ListRepository

java.lang.Object
  extended by org.riotfamily.riot.list.ListRepository
All Implemented Interfaces:
ApplicationContextAware
Direct Known Subclasses:
XmlListRepository

public class ListRepository
extends Object
implements ApplicationContextAware


Constructor Summary
ListRepository()
           
 
Method Summary
 void addCommand(Command command)
           
 void addListConfig(ListConfig listConfig)
           
 void addListener(ConfigurationEventListener listener)
           
protected  ApplicationContext getApplicationContext()
           
 Command getCommand(String commandId)
           
 ObjectRenderer getDefaultCellRenderer()
           
 int getDefaultPageSize()
           
 ListConfig getListConfig(Class<?> entityClass)
           
 ListConfig getListConfig(String listId)
           
protected  Map<String,ListConfig> getListConfigs()
           
protected  Map<Class<?>,ListConfig> getListConfigsByClass()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setDefaultCellRenderer(ObjectRenderer defaultCellRenderer)
           
 void setDefaultPageSize(int defaultPageSize)
           
 void setRiotDaoService(RiotDaoService riotDaoService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListRepository

public ListRepository()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface ApplicationContextAware

setRiotDaoService

public void setRiotDaoService(RiotDaoService riotDaoService)

getApplicationContext

protected ApplicationContext getApplicationContext()
Returns:
Returns the applicationContext.

addListener

public void addListener(ConfigurationEventListener listener)

getCommand

public Command getCommand(String commandId)

addCommand

public void addCommand(Command command)

getListConfig

public ListConfig getListConfig(String listId)

getListConfig

public ListConfig getListConfig(Class<?> entityClass)

addListConfig

public void addListConfig(ListConfig listConfig)

getListConfigsByClass

protected Map<Class<?>,ListConfig> getListConfigsByClass()

getListConfigs

protected Map<String,ListConfig> getListConfigs()

getDefaultCellRenderer

public ObjectRenderer getDefaultCellRenderer()

setDefaultCellRenderer

public void setDefaultCellRenderer(ObjectRenderer defaultCellRenderer)

getDefaultPageSize

public int getDefaultPageSize()

setDefaultPageSize

public void setDefaultPageSize(int defaultPageSize)