All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ejlchina.searcher.implement.pagination.Pagination Maven / Gradle / Ivy

There is a newer version: 3.8.3
Show newest version
package com.ejlchina.searcher.implement.pagination;

import com.ejlchina.searcher.param.SearchParam;

/**
 * 分页解析器
 *  
 * @author Troy.Zhou
 *
 */
public interface Pagination {

	
	/**
	 * 
	 * @param searchParam
	 * @param paraName 参数名
	 * @param paraValue 参数值
	 * @return true if paginated else false
	 */
	boolean paginate(SearchParam searchParam, String paraName, String paraValue);
	
	
	/**
	 * @return 最大条数的参数名
	 * */
	String getMaxParamName();
	
	/**
	 * @return 开始页
	 */
	public int getStartPage();
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy