package com.jiuqi.mobile.nigo.comeclose.manager;
import com.jiuqi.mobile.nigo.comeclose.exception.NiGoException;
public interface ISimpleManger<T> extends IManager{
/**
* 新建
* @param bean
* @throws NiGoException
*/
void create(T bean) throws NiGoException;
/**
* 修改
* @param bean
* @throws NiGoException
*/
int update(T bean) throws NiGoException;
/**
* 插入(新建或修改)
* @param bean
* @throws NiGoException
*/
void put(T bean) throws NiGoException;
/**
* 删除
* @param guid
* @return
* @throws NiGoException
*/
boolean delete(String guid) throws NiGoException;
/**
* 查询
* @param guid
* @return
*/
T find(String guid);
}