forked from LittleVer/Javaee-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserBiz.java
More file actions
33 lines (20 loc) · 749 Bytes
/
UserBiz.java
File metadata and controls
33 lines (20 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.system.service;
import com.entity.User;
import com.entity.vo.UserVo;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Set;
/**
* Created by c0de8ug on 16-2-9.
*/
public interface UserBiz {
public List<UserVo> findAll() throws InvocationTargetException, IllegalAccessException;
public User findById(String id);
public void update(User user);
public void add(User user);
public void delete(String id);
public void changePassword(String userId, String newPassword);
public User findByUsername(String username);
public Set<String> findRoles(String username);
public Set<String> findPermissions(String username);
}