org.riotfamily.riot.list.ui
Class CommandContextImpl

java.lang.Object
  extended by org.riotfamily.riot.list.ui.CommandContextImpl
All Implemented Interfaces:
CommandContext

public class CommandContextImpl
extends Object
implements CommandContext


Constructor Summary
CommandContextImpl(ListSession session, HttpServletRequest request)
           
 
Method Summary
 int getBatchIndex()
           
 int getBatchSize()
           
 Object getBean()
           
 Class<?> getBeanClass()
           
 RiotDao getDao()
           
 int getItemsTotal()
           
 ListConfig getListConfig()
           
 ListDefinition getListDefinition()
           
 String getListSessionKey()
           
 String getListUrl()
           
 MessageResolver getMessageResolver()
           
 String getObjectId()
           
 ListParams getParams()
           
 Object getParent()
           
 String getParentEditorId()
           
 String getParentId()
           
 ListDefinition getParentListDefinition()
           
 HttpServletRequest getRequest()
           
 int getRowIndex()
           
 void setBatchIndex(int batchIndex)
           
 void setBatchSize(int batchSize)
           
 void setBean(Object bean, String objectId)
           
 void setItemsTotal(int itemsTotal)
           
 void setParent(Object parent, String parentId, String parentEditorId)
           
 void setRowIndex(int rowIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandContextImpl

public CommandContextImpl(ListSession session,
                          HttpServletRequest request)
Method Detail

getBeanClass

public Class<?> getBeanClass()

getDao

public RiotDao getDao()
Specified by:
getDao in interface CommandContext

getBean

public Object getBean()
Specified by:
getBean in interface CommandContext

setBean

public void setBean(Object bean,
                    String objectId)

getParent

public Object getParent()
Specified by:
getParent in interface CommandContext

setParent

public void setParent(Object parent,
                      String parentId,
                      String parentEditorId)

getParentEditorId

public String getParentEditorId()
Specified by:
getParentEditorId in interface CommandContext

getItemsTotal

public int getItemsTotal()
Specified by:
getItemsTotal in interface CommandContext

setItemsTotal

public void setItemsTotal(int itemsTotal)

getBatchSize

public int getBatchSize()
Specified by:
getBatchSize in interface CommandContext

setBatchSize

public void setBatchSize(int batchSize)

getBatchIndex

public int getBatchIndex()
Specified by:
getBatchIndex in interface CommandContext

setBatchIndex

public void setBatchIndex(int batchIndex)

getListDefinition

public ListDefinition getListDefinition()
Specified by:
getListDefinition in interface CommandContext

getParentListDefinition

public ListDefinition getParentListDefinition()
Specified by:
getParentListDefinition in interface CommandContext

getListConfig

public ListConfig getListConfig()
Specified by:
getListConfig in interface CommandContext

getMessageResolver

public MessageResolver getMessageResolver()
Specified by:
getMessageResolver in interface CommandContext

getObjectId

public String getObjectId()
Specified by:
getObjectId in interface CommandContext

getParams

public ListParams getParams()
Specified by:
getParams in interface CommandContext

getParentId

public String getParentId()
Specified by:
getParentId in interface CommandContext

getRequest

public HttpServletRequest getRequest()
Specified by:
getRequest in interface CommandContext

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in interface CommandContext

setRowIndex

public void setRowIndex(int rowIndex)

getListSessionKey

public String getListSessionKey()
Specified by:
getListSessionKey in interface CommandContext

getListUrl

public String getListUrl()
Specified by:
getListUrl in interface CommandContext