1 package org.kuali.student.enrollment.class1.hold.service.facade;
2
3 import org.kuali.rice.kim.api.role.Role;
4 import org.kuali.student.r2.common.dto.ContextInfo;
5 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
6 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
7 import org.kuali.student.r2.common.exceptions.MissingParameterException;
8 import org.kuali.student.r2.common.exceptions.OperationFailedException;
9 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
10
11 import java.util.List;
12
13
14
15
16
17
18 public interface HoldIssueAuthorizingOrgFacade {
19
20
21
22
23
24
25
26
27
28
29 List<Role> getHoldFunctions(ContextInfo contextInfo);
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 void storeBinding(String holdIssueId, String orgId, Role role, ContextInfo contextInfo)
45 throws DoesNotExistException, MissingParameterException, InvalidParameterException, OperationFailedException, PermissionDeniedException;
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 void removeBinding(String holdIssueId, String orgId, Role role, ContextInfo contextInfo)
61 throws DoesNotExistException, MissingParameterException, InvalidParameterException, OperationFailedException, PermissionDeniedException;
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 List<String> getBindingByRoleAndHoldIssue(String roleId, String holdIssueId, ContextInfo contextInfo)
77 throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException;
78
79
80
81
82
83
84
85
86 public boolean canPerformFunction(String principalId, String holdIssueId, String actionEvent);
87 }