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

org.onetwo.common.db.InnerBaseEntityManager Maven / Gradle / Ivy

The newest version!
package org.onetwo.common.db;

import java.util.List;

import org.onetwo.common.db.spi.BaseEntityManager;
import org.onetwo.common.db.sqlext.DeleteExtQuery;
import org.onetwo.common.db.sqlext.SelectExtQuery;
import org.onetwo.common.utils.Page;

public interface InnerBaseEntityManager extends BaseEntityManager {
	
	 List select(SelectExtQuery extQuery);
	 T selectUnique(SelectExtQuery extQuery);
	 void selectPage(Page page, SelectExtQuery extQuery);
	

	 List findList(DbmQueryValue queryValue);
	 T findUnique(DbmQueryValue queryValue);

	Number count(SelectExtQuery extQuery);
	
	int remove(DeleteExtQuery deleteQuery);
	
	/****
	 * 检测数据是否存在
	 * @author weishao zeng
	 * @param extQuery
	 * @return
	 */
//	boolean exist(SelectExtQuery extQuery);
//	 T selectOne(SelectExtQuery extQuery);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy