org.riotfamily.riot.list.support
Class EmptyListParams

java.lang.Object
  extended by org.riotfamily.riot.list.support.EmptyListParams
All Implemented Interfaces:
ListParams

public class EmptyListParams
extends Object
implements ListParams

Since:
6.5
Author:
alf

Constructor Summary
EmptyListParams()
           
 
Method Summary
 Object getFilter()
          Returns an object populated by the list's filter-form, or null if the list does not have a filter.
 String[] getFilteredProperties()
          Returns the names of all properties bound to the filter-form, or null if the list does not have a filter.
 int getOffset()
          Returns the offset (starting at 0) of the first object that should be displayed.
 List<Order> getOrder()
          Returns a list of Order objects that should be used to sort the list.
 int getPageSize()
          Returns the maximum number of objects that should be displayed on a page.
 String getSearch()
          Returns the String that should be used to perform a full-text search, or null if no search should be performed.
 String[] getSearchProperties()
          Returns the name of all properties that should be included in the full-text search, or null if searching is disabled.
 boolean hasOrder()
          Returns whether sort-order was specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyListParams

public EmptyListParams()
Method Detail

getFilter

public Object getFilter()
Description copied from interface: ListParams
Returns an object populated by the list's filter-form, or null if the list does not have a filter.

Specified by:
getFilter in interface ListParams

getFilteredProperties

public String[] getFilteredProperties()
Description copied from interface: ListParams
Returns the names of all properties bound to the filter-form, or null if the list does not have a filter.

Specified by:
getFilteredProperties in interface ListParams

getOffset

public int getOffset()
Description copied from interface: ListParams
Returns the offset (starting at 0) of the first object that should be displayed.

Specified by:
getOffset in interface ListParams

getOrder

public List<Order> getOrder()
Description copied from interface: ListParams
Returns a list of Order objects that should be used to sort the list.

Specified by:
getOrder in interface ListParams

getPageSize

public int getPageSize()
Description copied from interface: ListParams
Returns the maximum number of objects that should be displayed on a page.

Specified by:
getPageSize in interface ListParams

getSearch

public String getSearch()
Description copied from interface: ListParams
Returns the String that should be used to perform a full-text search, or null if no search should be performed.

Specified by:
getSearch in interface ListParams

getSearchProperties

public String[] getSearchProperties()
Description copied from interface: ListParams
Returns the name of all properties that should be included in the full-text search, or null if searching is disabled.

Specified by:
getSearchProperties in interface ListParams

hasOrder

public boolean hasOrder()
Description copied from interface: ListParams
Returns whether sort-order was specified.

Specified by:
hasOrder in interface ListParams