Class ListPageElement.ListTableInfo

java.lang.Object
org.apache.empire.jsf2.pageelements.ListPageElement.ListTableInfo
Direct Known Subclasses:
BeanListPageElement.BeanListTableInfo
Enclosing class:
ListPageElement<T>

public static class ListPageElement.ListTableInfo extends Object
This class holds information about the list view to display. This will be held on the session in order to maintain position and sorting when navigating back and forth.
  • Constructor Details

    • ListTableInfo

      public ListTableInfo()
  • Method Details

    • init

      public void init(int itemCount, int pageSize)
    • isValid

      public boolean isValid()
    • setValid

      public void setValid(boolean valid)
    • isModified

      public boolean isModified()
    • setModified

      public void setModified(boolean modified)
    • getItemCount

      public int getItemCount()
    • getPageSize

      public int getPageSize()
    • getSortColumnName

      public String getSortColumnName()
    • setSortColumnName

      public void setSortColumnName(String column)
    • isSortAscending

      public boolean isSortAscending()
    • setSortAscending

      public void setSortAscending(boolean sortAscending)
    • isSortOrderChanged

      public boolean isSortOrderChanged()
    • setSortOrderChanged

      public void setSortOrderChanged(boolean sortOrderChanged)
    • setSortColumn

      public void setSortColumn(javax.faces.event.ActionEvent ae)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • isAllowPagination

      public boolean isAllowPagination()
    • isFirstPage

      public boolean isFirstPage()
    • isLastPage

      public boolean isLastPage()
    • isHasNextPage

      public boolean isHasNextPage()
    • isHasPrevPage

      public boolean isHasPrevPage()
    • nextPage

      public void nextPage(javax.faces.event.ActionEvent e)
      set the next x entries
      Parameters:
      e - the action event
    • prevPage

      public void prevPage(javax.faces.event.ActionEvent e)
      set the prev x entries
      Parameters:
      e - the action event
    • firstPage

      public void firstPage(javax.faces.event.ActionEvent e)
      set the next x entries
      Parameters:
      e - the action event
    • lastPage

      public void lastPage(javax.faces.event.ActionEvent e)
      set the next x entries
      Parameters:
      e - the action event
    • getPageNumber

      public int getPageNumber()
    • setPageNumber

      public void setPageNumber(int newPageNumber)
    • getPageCount

      public int getPageCount()