package org.zbq.dao;

import java.util.List;

public interface BaseDao<T> {
	public void doSave(T t);

	public void doUpdate(T t);

	public void doDelete(T t);

	public T findById(Integer id);

	public List<T> findAll();

	public List<T> findAll(int firstResult, int maxResults);
}
