KNH_Project
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcareemr.Service;
import com.bestray.healthcarecommonutil.exception.ProcessingException;
import com.bestray.healthcarecommonutil.vo.TAccount;
import com.bestray.healthcarecommonutil.vo.TAccountDepartment;
import java.util.List;
// TODO: Auto-generated Javadoc
/**
* The Interface LoginService.
*
* @author user3
*/
public interface LoginService {
/**
* Authorize.
*
* @param account the account
* @return the t account
* @throws ProcessingException the processing exception
*/
public TAccount authorize(TAccount account)throws ProcessingException;
/**
* Gets the permission for user.
*
* @param useraccount the useraccount
* @return the permission for user
* @throws ProcessingException the processing exception
*/
public List<String> getPermissionForUser(TAccount useraccount)throws ProcessingException;
/**
* Gets the departments.
*
* @param useraccount the useraccount
* @return the departments
* @throws ProcessingException the processing exception
*/
public List<TAccountDepartment> getDepartments(TAccount useraccount)throws ProcessingException;
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 13:29:42 +0000 |
|