org.mentawai.filter
Class PaginationDisplayTagFilter

java.lang.Object
  extended by org.mentawai.filter.PaginationFilter
      extended by org.mentawai.filter.PaginationDisplayTagFilter
All Implemented Interfaces:
Filter

public class PaginationDisplayTagFilter
extends PaginationFilter


Field Summary
 
Fields inherited from class org.mentawai.filter.PaginationFilter
KEY_PAGINATION, LIMIT_PAGINATION, PARAM_IS_DESC, PARAM_NUMBER_PAGE, PARAM_SORT_ATTRIBUTE
 
Constructor Summary
PaginationDisplayTagFilter(String tableId, String defaultOrder)
           
PaginationDisplayTagFilter(String tableId, String defaultOrder, int limitRecord)
           
PaginationDisplayTagFilter(String tableId, String defaultOrder, int limitRecord, String key)
           
 
Method Summary
protected  int getNumberPage(Input input)
           
protected  String getSortAttribute(Input input)
           
 String getTableId()
           
protected  boolean isDesc(Input input)
           
 
Methods inherited from class org.mentawai.filter.PaginationFilter
destroy, filter, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginationDisplayTagFilter

public PaginationDisplayTagFilter(String tableId,
                                  String defaultOrder)

PaginationDisplayTagFilter

public PaginationDisplayTagFilter(String tableId,
                                  String defaultOrder,
                                  int limitRecord)

PaginationDisplayTagFilter

public PaginationDisplayTagFilter(String tableId,
                                  String defaultOrder,
                                  int limitRecord,
                                  String key)
Method Detail

getNumberPage

protected int getNumberPage(Input input)
Overrides:
getNumberPage in class PaginationFilter

getSortAttribute

protected String getSortAttribute(Input input)
Overrides:
getSortAttribute in class PaginationFilter

isDesc

protected boolean isDesc(Input input)
Overrides:
isDesc in class PaginationFilter

getTableId

public String getTableId()


Copyright © 2013. All Rights Reserved.