1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.api.role;
17
18 import org.kuali.rice.core.api.criteria.QueryByCriteria;
19 import org.kuali.rice.core.api.delegation.DelegationType;
20 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
21 import org.kuali.rice.core.api.exception.RiceIllegalStateException;
22 import org.kuali.rice.core.api.util.jaxb.MapStringStringAdapter;
23 import org.kuali.rice.kim.api.KimApiConstants;
24 import org.kuali.rice.kim.api.common.delegate.DelegateMember;
25 import org.kuali.rice.kim.api.common.delegate.DelegateType;
26 import org.springframework.cache.annotation.CacheEvict;
27 import org.springframework.cache.annotation.Cacheable;
28
29 import javax.jws.WebMethod;
30 import javax.jws.WebParam;
31 import javax.jws.WebResult;
32 import javax.jws.WebService;
33 import javax.jws.soap.SOAPBinding;
34 import javax.xml.bind.annotation.XmlElement;
35 import javax.xml.bind.annotation.XmlElementWrapper;
36 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
37 import java.util.Collection;
38 import java.util.List;
39 import java.util.Map;
40 import java.util.Set;
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64 @WebService(name = "roleService", targetNamespace = KimApiConstants.Namespaces.KIM_NAMESPACE_2_0 )
65 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
66 public interface RoleService {
67
68
69
70
71
72
73
74
75 @WebMethod(operationName="createRole")
76 @WebResult(name = "role")
77 @CacheEvict(value={Role.Cache.NAME, RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME}, allEntries = true)
78 Role createRole(@WebParam(name = "role") Role role)
79 throws RiceIllegalArgumentException, RiceIllegalStateException;
80
81
82
83
84
85
86
87
88 @WebMethod(operationName="updateRole")
89 @WebResult(name = "role")
90 @CacheEvict(value={Role.Cache.NAME, RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME}, allEntries = true)
91 Role updateRole(@WebParam(name = "role") Role role)
92 throws RiceIllegalArgumentException, RiceIllegalStateException;
93
94
95
96
97
98
99
100
101 @WebMethod(operationName = "getRole")
102 @WebResult(name = "role")
103 @Cacheable(value= Role.Cache.NAME, key="'id=' + #p0")
104 Role getRole(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
105
106
107
108
109
110
111
112
113 @WebMethod(operationName = "getRoles")
114 @XmlElementWrapper(name = "roles", required = true)
115 @XmlElement(name = "role", required = false)
116 @WebResult(name = "roles")
117 @Cacheable(value= Role.Cache.NAME, key="'ids=' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).key(#p0)")
118 List<Role> getRoles( @WebParam(name="ids") List<String> ids ) throws RiceIllegalArgumentException;
119
120
121
122
123
124
125
126
127
128 @WebMethod(operationName = "getRoleByNamespaceCodeAndName")
129 @WebResult(name = "role")
130 @Cacheable(value=Role.Cache.NAME, key="'namespaceCode=' + #p0 + '|' + 'name=' + #p1")
131 Role getRoleByNamespaceCodeAndName(@WebParam(name = "namespaceCode") String namespaceCode,
132 @WebParam(name = "name") String name) throws RiceIllegalArgumentException;
133
134
135
136
137
138
139
140
141
142
143 @WebMethod(operationName = "getRoleIdByNamespaceCodeAndName")
144 @WebResult(name = "roleId")
145 @Cacheable(value=Role.Cache.NAME, key="'{getRoleIdByNamespaceCodeAndName}' + 'namespaceCode=' + #p0 + '|' + 'name=' + #p1")
146 String getRoleIdByNamespaceCodeAndName(@WebParam(name = "namespaceCode") String namespaceCode,
147 @WebParam(name = "name") String name) throws RiceIllegalArgumentException;
148
149
150
151
152
153
154
155
156 @WebMethod(operationName = "isRoleActive")
157 @WebResult(name = "isRoleActive")
158 @Cacheable(value=Role.Cache.NAME, key="'{isRoleActive}' + 'id=' + #p0")
159 boolean isRoleActive( @WebParam(name="id") String id ) throws RiceIllegalArgumentException;
160
161
162
163
164
165
166
167
168
169
170
171
172 @WebMethod(operationName = "getRoleQualifersForPrincipalByRoleIds")
173 @XmlElementWrapper(name = "attributes", required = true)
174 @XmlElement(name = "attribute", required = false)
175 @WebResult(name = "attributes")
176 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
177 List<Map<String, String>> getRoleQualifersForPrincipalByRoleIds(@WebParam(name = "principalId") String principalId,
178 @WebParam(name = "roleIds") List<String> roleIds, @WebParam(name = "qualification") @XmlJavaTypeAdapter(
179 value = MapStringStringAdapter.class) Map<String, String> qualification)
180 throws RiceIllegalArgumentException;
181
182
183
184
185
186
187
188
189
190
191
192
193
194 @WebMethod(operationName = "getRoleQualifersForPrincipalByNamespaceAndRolename")
195 @XmlElementWrapper(name = "attributes", required = true)
196 @XmlElement(name = "attribute", required = false)
197 @WebResult(name = "attributes")
198 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
199 List<Map<String, String>> getRoleQualifersForPrincipalByNamespaceAndRolename(
200 @WebParam(name = "principalId") String principalId, @WebParam(name = "namespaceCode") String namespaceCode,
201 @WebParam(name = "roleName") String roleName, @WebParam(name = "qualification") @XmlJavaTypeAdapter(
202 value = MapStringStringAdapter.class) Map<String, String> qualification)
203 throws RiceIllegalArgumentException;
204
205
206
207
208
209
210
211
212
213
214
215
216 @WebMethod(operationName = "getNestedRoleQualifersForPrincipalByNamespaceAndRolename")
217 @XmlElementWrapper(name = "attributes", required = true)
218 @XmlElement(name = "attribute", required = false)
219 @WebResult(name = "attributes")
220 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
221 List<Map<String, String>> getNestedRoleQualifersForPrincipalByNamespaceAndRolename(
222 @WebParam(name = "principalId") String principalId, @WebParam(name = "namespaceCode") String namespaceCode,
223 @WebParam(name = "roleName") String roleName, @WebParam(name = "qualification") @XmlJavaTypeAdapter(
224 value = MapStringStringAdapter.class) Map<String, String> qualification)
225 throws RiceIllegalArgumentException;
226
227
228
229
230
231
232
233
234
235
236
237 @WebMethod(operationName = "getNestedRoleQualifiersForPrincipalByRoleIds")
238 @XmlElementWrapper(name = "attributes", required = true)
239 @XmlElement(name = "attribute", required = false)
240 @WebResult(name = "attributes")
241 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
242 List<Map<String, String>> getNestedRoleQualifiersForPrincipalByRoleIds(
243 @WebParam(name = "principalId") String principalId, @WebParam(name = "roleIds") List<String> roleIds,
244 @WebParam(name = "qualification") @XmlJavaTypeAdapter(
245 value = MapStringStringAdapter.class) Map<String, String> qualification)
246 throws RiceIllegalArgumentException;
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266 @WebMethod(operationName = "getRoleMembers")
267 @XmlElementWrapper(name = "roleMemberships", required = true)
268 @XmlElement(name = "roleMembership", required = false)
269 @WebResult(name = "roleMemberships")
270 List<RoleMembership> getRoleMembers(
271 @WebParam(name="roleIds")
272 List<String> roleIds,
273 @WebParam(name="qualification")
274 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
275 Map<String, String> qualification )
276 throws RiceIllegalArgumentException;
277
278
279
280
281
282
283
284
285
286
287 @WebMethod(operationName = "getRoleMemberPrincipalIds")
288 @XmlElementWrapper(name = "principalIds", required = true)
289 @XmlElement(name = "principalId", required = false)
290 @WebResult(name = "principalIds")
291 Collection<String> getRoleMemberPrincipalIds(@WebParam(name="namespaceCode") String namespaceCode,
292 @WebParam(name="roleName") String roleName,
293 @WebParam(name="qualification")
294 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
295 Map<String, String> qualification)
296 throws RiceIllegalArgumentException;
297
298
299
300
301
302
303
304
305
306
307 @WebMethod(operationName = "principalHasRole")
308 @WebResult(name = "principalHasRole")
309 boolean principalHasRole( @WebParam(name="principalId") String principalId,
310 @WebParam(name="roleIds") List<String> roleIds,
311 @WebParam(name="qualification") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualification )
312 throws RiceIllegalArgumentException;
313
314
315
316
317
318
319
320
321
322
323
324
325 @WebMethod(operationName = "getPrincipalIdSubListWithRole")
326 @XmlElementWrapper(name = "principalIds", required = true)
327 @XmlElement(name = "principalId", required = false)
328 @WebResult(name = "principalIds")
329 List<String> getPrincipalIdSubListWithRole( @WebParam(name="principalIds") List<String> principalIds,
330 @WebParam(name="roleNamespaceCode") String roleNamespaceCode,
331 @WebParam(name="roleName") String roleName,
332 @WebParam(name="qualification") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualification )
333 throws RiceIllegalArgumentException;
334
335
336
337
338
339
340
341
342
343 @WebMethod(operationName = "getRolesSearchResults")
344 @WebResult(name = "results")
345 RoleQueryResults findRoles(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362 @WebMethod(operationName = "getFirstLevelRoleMembers")
363 @XmlElementWrapper(name = "roleMemberships", required = true)
364 @XmlElement(name = "roleMembership", required = false)
365 @WebResult(name = "roleMemberships")
366 @Cacheable(value=RoleMembership.Cache.NAME, key="'roleIds=' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).key(#p0)")
367 List<RoleMembership> getFirstLevelRoleMembers(
368 @WebParam(name="roleIds") List<String> roleIds) throws RiceIllegalArgumentException;
369
370
371
372
373
374
375
376
377 @WebMethod(operationName = "findRoleMemberships")
378 @WebResult(name = "results")
379 RoleMembershipQueryResults findRoleMemberships(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
380
381
382
383
384
385
386
387
388
389 @WebMethod(operationName = "getMemberParentRoleIds")
390 @XmlElementWrapper(name = "roleIds", required = true)
391 @XmlElement(name = "roleId", required = false)
392 @WebResult(name = "roleIds")
393 @Cacheable(value=RoleMembership.Cache.NAME, key="'memberType=' + #p0 + '|' + 'memberId=' + #p1")
394 List<String> getMemberParentRoleIds(String memberType, String memberId) throws RiceIllegalArgumentException;
395
396
397
398
399
400
401
402
403
404 @WebMethod(operationName = "findRoleMembers")
405 @WebResult(name = "results")
406 RoleMemberQueryResults findRoleMembers(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
407
408
409
410
411
412
413
414
415
416 @WebMethod(operationName = "getRoleTypeRoleMemberIds")
417 @XmlElementWrapper(name = "memberIds", required = true)
418 @XmlElement(name = "memberId", required = false)
419 @WebResult(name = "memberIds")
420 @Cacheable(value=RoleMember.Cache.NAME, key="'{getRoleTypeRoleMemberIds}' + 'roleId=' + #p0")
421 Set<String> getRoleTypeRoleMemberIds(@WebParam(name = "roleId") String roleId) throws RiceIllegalArgumentException;
422
423
424
425
426
427
428
429
430
431 @WebMethod(operationName = "findDelegateMembers")
432 @WebResult(name = "results")
433 DelegateMemberQueryResults findDelegateMembers(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
434
435
436
437
438
439
440
441
442 @WebMethod(operationName = "getDelegationMembersByDelegationId")
443 @XmlElementWrapper(name = "delegateMembers", required = true)
444 @XmlElement(name = "delegateMember", required = false)
445 @WebResult(name = "delegateMembers")
446 @Cacheable(value=DelegateMember.Cache.NAME, key="'delegateId=' + #p0")
447 List<DelegateMember> getDelegationMembersByDelegationId(
448 @WebParam(name = "delegateId") String delegateId) throws RiceIllegalArgumentException;
449
450
451
452
453
454
455
456
457
458
459 @WebMethod(operationName = "getDelegationMemberByDelegationAndMemberId")
460 @WebResult(name = "delegateMember")
461 @Cacheable(value=DelegateMember.Cache.NAME, key="'delegateId=' + #p0 + '|' + 'memberId=' + #p1")
462 DelegateMember getDelegationMemberByDelegationAndMemberId(
463 @WebParam(name = "delegationId") String delegationId, @WebParam(name = "memberId") String memberId) throws RiceIllegalArgumentException;
464
465
466
467
468
469
470
471
472
473 @WebMethod(operationName = "getDelegationMemberById")
474 @WebResult(name = "delegateMember")
475 @Cacheable(value=DelegateMember.Cache.NAME, key="'id=' + #p0")
476 DelegateMember getDelegationMemberById(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
477
478
479
480
481
482
483
484
485
486 @WebMethod(operationName = "getRoleResponsibilities")
487 @XmlElementWrapper(name = "roleResponsibilities", required = true)
488 @XmlElement(name = "roleResponsibility", required = false)
489 @WebResult(name = "roleResponsibilities")
490 @Cacheable(value=RoleResponsibility.Cache.NAME, key="'roleId=' + #p0")
491 List<RoleResponsibility> getRoleResponsibilities(@WebParam(name="roleId") String roleId) throws RiceIllegalArgumentException;
492
493
494
495
496
497
498
499
500
501 @WebMethod(operationName = "getRoleMemberResponsibilityActions")
502 @XmlElementWrapper(name = "roleResponsibilityActions", required = true)
503 @XmlElement(name = "roleResponsibilityAction", required = false)
504 @WebResult(name = "roleResponsibilityActions")
505 @Cacheable(value=RoleResponsibility.Cache.NAME, key="'roleMemberId=' + #p0")
506 List<RoleResponsibilityAction> getRoleMemberResponsibilityActions(
507 @WebParam(name = "roleMemberId") String roleMemberId) throws RiceIllegalArgumentException;
508
509
510
511
512
513
514
515
516
517
518 @WebMethod(operationName = "getDelegateTypeByRoleIdAndDelegateTypeCode")
519 @WebResult(name = "delegateType")
520 @Cacheable(value=DelegateType.Cache.NAME, key="'roleId=' + #p0 + '|' + 'code=' + #p1")
521 DelegateType getDelegateTypeByRoleIdAndDelegateTypeCode(@WebParam(name = "roleId") String roleId,
522 @WebParam(name = "delegateType") DelegationType delegateType) throws RiceIllegalArgumentException;
523
524
525
526
527
528
529
530
531
532 @WebMethod(operationName = "getDelegateTypeByDelegationId")
533 @WebResult(name = "delegateType")
534 @Cacheable(value=DelegateType.Cache.NAME, key="'delegationId=' + #p0")
535 DelegateType getDelegateTypeByDelegationId(@WebParam(name = "delegationId") String delegationId) throws RiceIllegalArgumentException;
536
537
538
539
540
541
542
543
544
545
546
547
548 @WebMethod(operationName = "assignPrincipalToRole")
549 @WebResult(name = "roleMember")
550 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
551 RoleMember assignPrincipalToRole(@WebParam(name="principalId") String principalId,
552 @WebParam(name="namespaceCode")
553 String namespaceCode,
554 @WebParam(name="roleName")
555 String roleName,
556 @WebParam(name="qualifications")
557 @XmlJavaTypeAdapter(value = MapStringStringAdapter.class)
558 Map<String, String> qualifications)
559 throws RiceIllegalArgumentException;
560
561
562
563
564
565
566
567
568
569
570
571
572 @WebMethod(operationName = "assignGroupToRole")
573 @WebResult(name = "roleMember")
574 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
575 RoleMember assignGroupToRole(@WebParam(name="groupId") String groupId,
576 @WebParam(name="namespaceCode") String namespaceCode,
577 @WebParam(name="roleName") String roleName,
578 @WebParam(name="qualifications") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualifications)
579 throws RiceIllegalArgumentException;
580
581
582
583
584
585
586
587
588
589
590
591
592 @WebMethod(operationName = "assignRoleToRole")
593 @WebResult(name = "roleMember")
594 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
595 RoleMember assignRoleToRole(@WebParam(name="roleId") String roleId,
596 @WebParam(name="namespaceCode") String namespaceCode,
597 @WebParam(name="roleName") String roleName,
598 @WebParam(name="qualifications") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualifications)
599 throws RiceIllegalArgumentException;
600
601
602
603
604
605
606
607
608
609 @WebMethod(operationName = "createRoleMember")
610 @WebResult(name = "roleMember")
611 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
612 RoleMember createRoleMember(
613 @WebParam(name = "roleMember")
614 RoleMember roleMember) throws RiceIllegalArgumentException, RiceIllegalStateException;
615
616
617
618
619
620
621
622
623
624 @WebMethod(operationName = "updateRoleMember")
625 @WebResult(name = "roleMember")
626 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
627 RoleMember updateRoleMember(@WebParam(name = "roleMember") RoleMember roleMember) throws RiceIllegalArgumentException, RiceIllegalStateException;
628
629
630
631
632
633
634
635
636
637
638
639 @WebMethod(operationName = "createRoleResponsibilityAction")
640 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
641 RoleResponsibilityAction createRoleResponsibilityAction(@WebParam(name = "roleResponsibilityAction") RoleResponsibilityAction roleResponsibilityAction) throws RiceIllegalArgumentException;
642
643
644
645
646
647
648
649
650
651
652 @WebMethod(operationName = "createDelegateType")
653 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
654 DelegateType createDelegateType(@WebParam(name="delegateType") DelegateType delegateType) throws RiceIllegalArgumentException, RiceIllegalStateException;
655
656
657
658
659
660
661
662
663
664 @WebMethod(operationName = "updateDelegateType")
665 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
666 DelegateType updateDelegateType(@WebParam(name="delegateType") DelegateType delegateType) throws RiceIllegalArgumentException, RiceIllegalStateException;
667
668
669
670
671
672
673
674
675
676
677
678
679 @WebMethod(operationName = "removePrincipalFromRole")
680 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
681 void removePrincipalFromRole(@WebParam(name="principalId") String principalId,
682 @WebParam(name="namespaceCode") String namespaceCode,
683 @WebParam(name="roleName") String roleName,
684 @WebParam(name="qualifications") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualifications) throws RiceIllegalArgumentException;
685
686
687
688
689
690
691
692
693
694
695
696
697 @WebMethod(operationName = "removeGroupFromRole")
698 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
699 void removeGroupFromRole(@WebParam(name="groupId") String groupId,
700 @WebParam(name="namespaceCode") String namespaceCode,
701 @WebParam(name="roleName") String roleName,
702 @WebParam(name="qualifications") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualifications) throws RiceIllegalArgumentException;
703
704
705
706
707
708
709
710
711
712
713
714
715 @WebMethod(operationName = "removeRoleFromRole")
716 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
717 void removeRoleFromRole(@WebParam(name="roleId") String roleId,
718 @WebParam(name="namespaceCode") String namespaceCode,
719 @WebParam(name="roleName") String roleName,
720 @WebParam(name="qualifications") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String, String> qualifications) throws RiceIllegalArgumentException;
721
722
723
724
725
726
727
728
729
730 @WebMethod(operationName = "assignPermissionToRole")
731 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
732 void assignPermissionToRole(
733 @WebParam(name = "permissionId") String permissionId,
734 @WebParam(name = "roleId") String roleId)
735 throws RiceIllegalArgumentException;
736
737
738
739
740
741
742
743
744
745 @WebMethod(operationName = "revokePermissionFromRole")
746 @CacheEvict(value={RoleMembership.Cache.NAME, RoleMember.Cache.NAME, DelegateMember.Cache.NAME, RoleResponsibility.Cache.NAME, DelegateType.Cache.NAME }, allEntries = true)
747 void revokePermissionFromRole(
748 @WebParam(name = "permissionId") String permissionId,
749 @WebParam(name = "roleId") String roleId)
750 throws RiceIllegalArgumentException;
751 }