1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.kim.mock; |
17 | |
|
18 | |
import org.kuali.rice.kim.bo.role.dto.KimPermissionInfo; |
19 | |
import org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo; |
20 | |
import org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo; |
21 | |
import org.kuali.rice.kim.bo.types.dto.AttributeSet; |
22 | |
|
23 | |
import java.util.*; |
24 | |
import org.kuali.rice.kim.service.PermissionService; |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | 0 | public class PermissionServiceMockImpl implements PermissionService { |
30 | |
|
31 | |
@Override |
32 | |
public List<KimPermissionTemplateInfo> getAllTemplates() { |
33 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
34 | |
} |
35 | |
|
36 | |
@Override |
37 | |
public List<KimPermissionInfo> getAuthorizedPermissions(String string, String string1, String string2, AttributeSet as, AttributeSet as1) { |
38 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
39 | |
} |
40 | |
|
41 | |
@Override |
42 | |
public List<KimPermissionInfo> getAuthorizedPermissionsByTemplateName(String string, String string1, String string2, AttributeSet as, AttributeSet as1) { |
43 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
44 | |
} |
45 | |
|
46 | |
@Override |
47 | |
public KimPermissionInfo getPermission(String string) { |
48 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
49 | |
} |
50 | |
|
51 | |
@Override |
52 | |
public List<PermissionAssigneeInfo> getPermissionAssignees(String string, String string1, AttributeSet as, AttributeSet as1) { |
53 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
54 | |
} |
55 | |
|
56 | |
@Override |
57 | |
public List<PermissionAssigneeInfo> getPermissionAssigneesForTemplateName(String string, String string1, AttributeSet as, AttributeSet as1) { |
58 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
59 | |
} |
60 | |
|
61 | |
@Override |
62 | |
public String getPermissionDetailLabel(String string, String string1, String string2) { |
63 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
64 | |
} |
65 | |
|
66 | |
@Override |
67 | |
public KimPermissionTemplateInfo getPermissionTemplate(String string) { |
68 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
69 | |
} |
70 | |
|
71 | |
@Override |
72 | |
public KimPermissionTemplateInfo getPermissionTemplateByName(String string, String string1) { |
73 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
74 | |
} |
75 | |
|
76 | |
@Override |
77 | |
public List<KimPermissionInfo> getPermissionsByName(String string, String string1) { |
78 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
79 | |
} |
80 | |
|
81 | |
@Override |
82 | |
public List<KimPermissionInfo> getPermissionsByNameIncludingInactive(String string, String string1) { |
83 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
84 | |
} |
85 | |
|
86 | |
@Override |
87 | |
public List<KimPermissionInfo> getPermissionsByTemplateName(String string, String string1) { |
88 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
89 | |
} |
90 | |
|
91 | |
@Override |
92 | |
public List<String> getRoleIdsForPermission(String string, String string1, AttributeSet as) { |
93 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
94 | |
} |
95 | |
|
96 | |
@Override |
97 | |
public List<String> getRoleIdsForPermissionId(String string) { |
98 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
99 | |
} |
100 | |
|
101 | |
@Override |
102 | |
public List<String> getRoleIdsForPermissions(List<KimPermissionInfo> list) { |
103 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
104 | |
} |
105 | |
|
106 | |
@Override |
107 | |
public boolean hasPermission(String string, String string1, String string2, AttributeSet as) { |
108 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
109 | |
} |
110 | |
|
111 | |
@Override |
112 | |
public boolean hasPermissionByTemplateName(String string, String string1, String string2, AttributeSet as) { |
113 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
114 | |
} |
115 | |
|
116 | |
@Override |
117 | |
public boolean isAuthorized(String string, String string1, String string2, AttributeSet as, AttributeSet as1) { |
118 | 0 | return true; |
119 | |
} |
120 | |
|
121 | |
@Override |
122 | |
public boolean isAuthorizedByTemplateName(String string, String string1, String string2, AttributeSet as, AttributeSet as1) { |
123 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
124 | |
} |
125 | |
|
126 | |
@Override |
127 | |
public boolean isPermissionDefined(String string, String string1, AttributeSet as) { |
128 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
129 | |
} |
130 | |
|
131 | |
@Override |
132 | |
public boolean isPermissionDefinedForTemplateName(String string, String string1, AttributeSet as) { |
133 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
134 | |
} |
135 | |
|
136 | |
@Override |
137 | |
public List<KimPermissionInfo> lookupPermissions(Map<String, String> map, boolean bln) { |
138 | 0 | throw new UnsupportedOperationException("Not supported yet."); |
139 | |
} |
140 | |
|
141 | |
} |
142 | |
|