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

org.fingertip.simpledao.template.IQueryTemplate Maven / Gradle / Ivy

The newest version!
package org.fingertip.simpledao.template;

import java.sql.SQLException;
import java.util.List;

import org.fingertip.simpledao.query.Query;
import org.fingertip.simpledao.bean.PageRequest;
import org.fingertip.simpledao.bean.PageResult;

/**
 * 查询接口
 * 	所有查询实现的福接口
 * @author W.C.H
 */
public interface IQueryTemplate {

	 List find(Query query, Class resultEntity)throws  SQLException;

	 T findOneValue(Query query,Class valueEntity)throws  SQLException;

	 List findColumn(Query query,Class columnType)throws  SQLException;

	 T findOne(Query query,Class resultEntity) throws  SQLException;

	 PageResult page(Query query,Class resultEntity)throws  SQLException;

	 PageResult page(Query query,Class resultEntity,int from,int size)throws  SQLException;

	 PageResult page(Query query,Class resultEntity,PageRequest pageRequest)throws  SQLException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy