org.apache.empire.struts2.actionsupport
Class ListActionSupport
java.lang.Object
org.apache.empire.commons.ErrorObject
org.apache.empire.struts2.actionsupport.ListActionSupport
- All Implemented Interfaces:
- org.apache.empire.commons.ErrorInfo, ListPagingInfo, ListSortingInfo
- Direct Known Subclasses:
- BeanListActionSupport, ReaderListActionSupport
public abstract class ListActionSupport
- extends org.apache.empire.commons.ErrorObject
- implements ListPagingInfo, ListSortingInfo
ListActionSupport
This action support object provides functions for dealing with list paging and sorting.
Please used either ReaderListActionSupport or BeanListActionSupport object.
- Author:
- Rainer
Methods inherited from class org.apache.empire.commons.ErrorObject |
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListActionSupport
public ListActionSupport(ActionBase action,
java.lang.String propertyName)
getListPropertyName
public java.lang.String getListPropertyName()
- Specified by:
getListPropertyName
in interface ListPagingInfo
- Specified by:
getListPropertyName
in interface ListSortingInfo
getPageSize
public int getPageSize()
- Specified by:
getPageSize
in interface ListPagingInfo
getFirstItemIndex
public int getFirstItemIndex()
- Specified by:
getFirstItemIndex
in interface ListPagingInfo
getLastItemIndex
public int getLastItemIndex()
- Specified by:
getLastItemIndex
in interface ListPagingInfo
getItemCount
public int getItemCount()
- Specified by:
getItemCount
in interface ListPagingInfo
setItemCount
public void setItemCount(int itemCount)
getPageCount
public int getPageCount()
- Specified by:
getPageCount
in interface ListPagingInfo
getPage
public int getPage()
- Specified by:
getPage
in interface ListPagingInfo
setPage
public void setPage(int page)
- Specified by:
setPage
in interface ListPagingInfo
getSortColumn
public java.lang.String getSortColumn()
- Specified by:
getSortColumn
in interface ListSortingInfo
setSortColumn
public void setSortColumn(org.apache.empire.data.ColumnExpr column)
setSortColumn
public void setSortColumn(java.lang.String column)
- Specified by:
setSortColumn
in interface ListSortingInfo
isSortDescending
public boolean isSortDescending()
- Specified by:
isSortDescending
in interface ListSortingInfo
setSortDescending
public void setSortDescending(boolean sortDescending)
- Specified by:
setSortDescending
in interface ListSortingInfo