org.riotfamily.riot.list.ui
Class ListModel

java.lang.Object
  extended by org.riotfamily.riot.list.ui.ListModel

public class ListModel
extends Object

Since:
6.4
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
ListModel(int itemsTotal, int pageSize, int currentPage)
           
 
Method Summary
 ListItem findItem(String objectId)
           
 List<ListColumn> getColumns()
           
 String getCssClass()
           
 int getCurrentPage()
           
 String getEditorId()
           
 String getFilterFormHtml()
           
 List<CommandButton> getItemCommands()
           
 List<ListItem> getItems()
           
 int getItemsTotal()
           
 List<CommandButton> getListCommands()
           
 int getPages()
           
 int getPageSize()
           
 String getParentEditorId()
           
 String getParentId()
           
 Map<String,String> getTexts()
           
 boolean isInstantAction()
           
 boolean isTree()
           
 void setColumns(List<ListColumn> columns)
           
 void setCssClass(String cssClass)
           
 void setEditorId(String editorId)
           
 void setFilterFormHtml(String filterFormHtml)
           
 void setInstantAction(boolean instantAction)
           
 void setItemCommands(List<CommandButton> itemCommands)
           
 void setItems(List<ListItem> items)
           
 void setListCommands(List<CommandButton> listCommands)
           
 void setParentEditorId(String parentEditorId)
           
 void setParentId(String parentId)
           
 void setTexts(Map<String,String> texts)
           
 void setTree(boolean tree)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListModel

public ListModel(int itemsTotal,
                 int pageSize,
                 int currentPage)
Method Detail

getEditorId

public String getEditorId()

setEditorId

public void setEditorId(String editorId)

getParentId

public String getParentId()

setParentId

public void setParentId(String parentId)

getParentEditorId

public String getParentEditorId()

setParentEditorId

public void setParentEditorId(String parentEditorId)

isTree

public boolean isTree()

setTree

public void setTree(boolean tree)

isInstantAction

public boolean isInstantAction()

setInstantAction

public void setInstantAction(boolean instantAction)

getColumns

public List<ListColumn> getColumns()

setColumns

public void setColumns(List<ListColumn> columns)

getItems

public List<ListItem> getItems()

setItems

public void setItems(List<ListItem> items)

findItem

public ListItem findItem(String objectId)

getListCommands

public List<CommandButton> getListCommands()

setListCommands

public void setListCommands(List<CommandButton> listCommands)

getItemCommands

public List<CommandButton> getItemCommands()

setItemCommands

public void setItemCommands(List<CommandButton> itemCommands)

getCurrentPage

public int getCurrentPage()

getItemsTotal

public int getItemsTotal()

getPages

public int getPages()

getPageSize

public int getPageSize()

getFilterFormHtml

public String getFilterFormHtml()

setFilterFormHtml

public void setFilterFormHtml(String filterFormHtml)

getCssClass

public String getCssClass()

setCssClass

public void setCssClass(String cssClass)

getTexts

public Map<String,String> getTexts()

setTexts

public void setTexts(Map<String,String> texts)