org.apache.beehive.netui.databinding.datagrid.runtime
Class DefaultDataGridURLBuilder
Object
DataGridURLBuilder
DefaultDataGridURLBuilder
public class DefaultDataGridURLBuilder
- extends DataGridURLBuilder
A class that is used to expose various URL parameter maps that can be data bound during JSP rendering.
Methods exposed here are useful for building URLs that can be clicked on in the future. A case
of this would be a pager URL that will move a UI to the "next" page of data. The URL parameters would be
computed using this class and rendered to the UI so that it is clickable for the next HTTP submit.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataGridURLBuilder
public DefaultDataGridURLBuilder(String namespace,
DefaultDataGridStateCodec codec,
DataGridState state)
getPagerRowQueryParamKey
public String getPagerRowQueryParamKey()
- Specified by:
getPagerRowQueryParamKey
in class DataGridURLBuilder
getQueryParams
public Map getQueryParams()
- Specified by:
getQueryParams
in class DataGridURLBuilder
getQueryParamsForFirstPage
public Map getQueryParamsForFirstPage()
- Specified by:
getQueryParamsForFirstPage
in class DataGridURLBuilder
getQueryParamsForPreviousPage
public Map getQueryParamsForPreviousPage()
- Specified by:
getQueryParamsForPreviousPage
in class DataGridURLBuilder
getQueryParamsForNextPage
public Map getQueryParamsForNextPage()
- Specified by:
getQueryParamsForNextPage
in class DataGridURLBuilder
getQueryParamsForLastPage
public Map getQueryParamsForLastPage()
- Specified by:
getQueryParamsForLastPage
in class DataGridURLBuilder
getPagerParamValues
public String[] getPagerParamValues()
- Specified by:
getPagerParamValues
in class DataGridURLBuilder
buildSortQueryParamsMap
public Map buildSortQueryParamsMap(String sortExpression)
- Specified by:
buildSortQueryParamsMap
in class DataGridURLBuilder