1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.dao; |
17 | |
|
18 | |
import java.util.Collection; |
19 | |
import java.util.List; |
20 | |
import java.util.Map; |
21 | |
|
22 | |
import org.kuali.rice.core.util.AttributeSet; |
23 | |
import org.kuali.rice.kim.api.group.GroupMember; |
24 | |
import org.kuali.rice.kim.bo.impl.RoleImpl; |
25 | |
import org.kuali.rice.kim.bo.role.dto.RoleMemberCompleteInfo; |
26 | |
import org.kuali.rice.kim.bo.role.dto.RoleMembershipInfo; |
27 | |
import org.kuali.rice.kim.bo.role.impl.KimDelegationImpl; |
28 | |
import org.kuali.rice.kim.bo.role.impl.KimDelegationMemberImpl; |
29 | |
import org.kuali.rice.kim.bo.role.impl.RoleMemberImpl; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
public interface KimRoleDao { |
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
List<RoleMemberImpl> getRolePrincipalsForPrincipalIdAndRoleIds( Collection<String> roleIds, String principalId, AttributeSet qualification ); |
45 | |
|
46 | |
List<GroupMember> getGroupPrincipalsForPrincipalIdAndGroupIds( Collection<String> groupIds, String principalId ); |
47 | |
|
48 | |
List<RoleMemberImpl> getRoleGroupsForGroupIdsAndRoleIds( Collection<String> roleIds, Collection<String> groupIds, AttributeSet qualification ); |
49 | |
|
50 | |
Map<String,KimDelegationImpl> getDelegationImplMapFromRoleIds(Collection<String> roleIds); |
51 | |
|
52 | |
List<KimDelegationImpl> getDelegationImplsForRoleIds(Collection<String> roleIds); |
53 | |
|
54 | |
List<KimDelegationMemberImpl> getDelegationPrincipalsForPrincipalIdAndDelegationIds( Collection<String> delegationIds, String principalId ); |
55 | |
|
56 | |
List<KimDelegationMemberImpl> getDelegationGroupsForGroupIdsAndDelegationIds( Collection<String> delegationIds, List<String> groupIds ); |
57 | |
|
58 | |
List<RoleMemberImpl> getRoleMembersForRoleIds( Collection<String> roleIds, String memberTypeCode, AttributeSet qualification ); |
59 | |
|
60 | |
List<RoleMemberImpl> getRoleMembershipsForRoleIdsAsMembers(Collection<String> roleIds, AttributeSet qualification ); |
61 | |
|
62 | |
List<RoleMemberImpl> getRoleMembershipsForMemberId(String memberType, String memberId, AttributeSet qualification); |
63 | |
|
64 | |
List<RoleMemberImpl> getRoleMembersForRoleIdsWithFilters( Collection<String> roleIds, String principalId, List<String> groupIds, AttributeSet qualification ); |
65 | |
|
66 | |
Map<String,List<KimDelegationMemberImpl>> getDelegationMembersForDelegationIds( List<String> delegationIds ); |
67 | |
|
68 | |
List<RoleImpl> getRoles(Map<String,String> fieldValues); |
69 | |
|
70 | |
List<GroupMember> getGroupMembers(Collection<String> groupIds); |
71 | |
|
72 | |
List<RoleMembershipInfo> getRoleMembers(Map<String,String> fieldValues); |
73 | |
|
74 | |
List<RoleMemberCompleteInfo> getRoleMembersCompleteInfo(Map<String,String> fieldValues); |
75 | |
|
76 | |
} |