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

com.giants.dal.dao.GiantsDao Maven / Gradle / Ivy

/**
 * 
 */
package com.giants.dal.dao;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * @author vencent.lu
 *
 */
public interface GiantsDao {

	void insert(T entity);

	void update(T entity);	

	void insertAll(List entityList);	

	void delete(T entity);

	void deleteAll(List entityList);

	T get(Serializable id);

	T load(Serializable id);

	List loadAll();

	Date getCurrentDatetime();

	T findOneEntityByExample(T exampleEntity);

	List findByExample(T exampleEntity);

	List searchForEntityList(String statementName, Object parameterBean);

	int searchForCount(String statementName, Object parameterBean);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy