org.riotfamily.riot.list.ui
Interface ListService

All Known Implementing Classes:
ListServiceImpl

public interface ListService

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

Method Summary
 CommandResult execCommand(String key, List<ListItem> items, String commandId, boolean confirmed, HttpServletRequest request, HttpServletResponse response)
           
 ListModel filter(String key, Map<String,String> filter, HttpServletRequest request)
           
 ListModel getChildren(String key, String parentId, HttpServletRequest request)
           
 String getFilterFormHtml(String key, HttpServletRequest request)
           
 List<CommandButton> getFormCommands(String key, String objectId, HttpServletRequest request)
           
 List<CommandButton> getListCommands(String key, HttpServletRequest request)
           
 ListModel getModel(String key, String expandedId, HttpServletRequest request)
           
 ListSession getOrCreateListSession(String editorId, String parentId, String parentEditorId, String choose, HttpServletRequest request)
           
 ListModel gotoPage(String key, int page, HttpServletRequest request)
           
 ListModel sort(String key, String property, HttpServletRequest request)
           
 

Method Detail

getOrCreateListSession

ListSession getOrCreateListSession(String editorId,
                                   String parentId,
                                   String parentEditorId,
                                   String choose,
                                   HttpServletRequest request)

getModel

ListModel getModel(String key,
                   String expandedId,
                   HttpServletRequest request)
                   throws ListSessionExpiredException
Throws:
ListSessionExpiredException

gotoPage

ListModel gotoPage(String key,
                   int page,
                   HttpServletRequest request)
                   throws ListSessionExpiredException
Throws:
ListSessionExpiredException

sort

ListModel sort(String key,
               String property,
               HttpServletRequest request)
               throws ListSessionExpiredException
Throws:
ListSessionExpiredException

filter

ListModel filter(String key,
                 Map<String,String> filter,
                 HttpServletRequest request)
                 throws ListSessionExpiredException
Throws:
ListSessionExpiredException

getListCommands

List<CommandButton> getListCommands(String key,
                                    HttpServletRequest request)
                                    throws ListSessionExpiredException
Throws:
ListSessionExpiredException

getFormCommands

List<CommandButton> getFormCommands(String key,
                                    String objectId,
                                    HttpServletRequest request)
                                    throws ListSessionExpiredException
Throws:
ListSessionExpiredException

execCommand

CommandResult execCommand(String key,
                          List<ListItem> items,
                          String commandId,
                          boolean confirmed,
                          HttpServletRequest request,
                          HttpServletResponse response)
                          throws ListSessionExpiredException
Throws:
ListSessionExpiredException

getFilterFormHtml

String getFilterFormHtml(String key,
                         HttpServletRequest request)
                         throws ListSessionExpiredException
Throws:
ListSessionExpiredException

getChildren

ListModel getChildren(String key,
                      String parentId,
                      HttpServletRequest request)
                      throws ListSessionExpiredException
Throws:
ListSessionExpiredException