📄 accountmgr.java
字号:
package com.set.system.business;
import java.util.Collection;
import java.util.List;
import com.set.appframe.data.GenericValueObject;
import com.set.appframe.data.SearchResult;
import com.set.appframe.exception.SystemException;
import com.set.system.model.AccountVO;
import com.set.system.model.UsersVO;
public interface AccountMgr {
/**
* 把前台用户输入的数据(vo)保存至数据库,并把更新后的对象(譬如包含Id)返回
*
* @param vo
* @return AccountVO
* @throws SystemException
* 数据库错误
*/
public AccountVO create(AccountVO vo,UsersVO svo) throws SystemException;
/**
* 检测该用户是否存在,并把相关信息返回
* @param vo
* @return
* @throws SystemException
*/
public GenericValueObject checkUser(UsersVO vo) throws SystemException;
/**
* 根据用户userid取得该用户的基本信息
* @param userid
* @return
* @throws SystemException
*/
public GenericValueObject getByUserid(String userid) throws SystemException;
/**
* 修改用户信息
* @param vo
* @return
* @throws SystemException
*/
public AccountVO update(AccountVO vo) throws SystemException;
public UsersVO updatePassword(UsersVO vo) throws SystemException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -