package org.jerrymouse.database;

import java.util.List;

public interface DaoSupport<T> {
	boolean delete(Object key, Class<T> type);
	T get(Object key, Class<T> type);
	List<T> list(Class<T> type);

	/**
	 * ²»ÃÝµÈ
	 * 
	 * @param object
	 */
	boolean post(T object);

	/**
	 * save or update boolean is success ÃÝµÈ
	 * 
	 * @param object
	 */
	boolean put(T object);

}
