userdao.java
来自「评分系统,acegi+JSF+spring+hibernate,可上传附件」· Java 代码 · 共 39 行
JAVA
39 行
package com.sgm.partybranch.persistence.sysadmin;
import java.util.List;
import org.springframework.dao.DataAccessException;
import com.sgm.partybranch.vo.sysadmin.PartyBranch;
import com.sgm.partybranch.vo.sysadmin.PartyGroup;
import com.sgm.partybranch.vo.sysadmin.User;
public interface UserDAO {
public User getUserById(String uuid) throws DataAccessException;
public List<User> getUserByAccount(String account, Integer offset,
Integer pageSize) throws DataAccessException;
public List<User> getUserByUsername(String username, Integer offset,
Integer pageSize) throws DataAccessException;
public List<User> getUsersByPartyBranch(PartyBranch partyBranch, Integer offset,
Integer pageSize) throws DataAccessException;
public List<User> getUsersByPartyGroup(PartyGroup partyGroup, Integer offset,
Integer pageSize) throws DataAccessException;
public List<User> getUsersByStaffNo(String staffNo, Integer offset,
Integer pageSize) throws DataAccessException;
public List<User> getAllUsers(Integer offset, Integer pageSize)
throws DataAccessException;
public void create(User user) throws DataAccessException;
public void update(User user) throws DataAccessException;
public void delete(User user) throws DataAccessException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?