1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.impl.role; |
17 | |
|
18 | |
import org.kuali.rice.kim.api.group.GroupMember; |
19 | |
import org.kuali.rice.kim.api.role.RoleMember; |
20 | |
import org.kuali.rice.kim.api.role.RoleMembership; |
21 | |
import org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo; |
22 | |
import org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo; |
23 | |
|
24 | |
import java.util.Collection; |
25 | |
import java.util.List; |
26 | |
import java.util.Map; |
27 | |
|
28 | |
public interface RoleDao { |
29 | |
|
30 | |
List<RoleMemberBo> getRolePrincipalsForPrincipalIdAndRoleIds(Collection<String> roleIds, String principalId, Map<String, String> qualification); |
31 | |
|
32 | |
List<GroupMember> getGroupPrincipalsForPrincipalIdAndGroupIds(Collection<String> groupIds, String principalId); |
33 | |
|
34 | |
List<RoleMemberBo> getRoleGroupsForGroupIdsAndRoleIds(Collection<String> roleIds, Collection<String> groupIds, Map<String, String> qualification); |
35 | |
|
36 | |
Map<String, DelegateTypeBo> getDelegationImplMapFromRoleIds(Collection<String> roleIds); |
37 | |
|
38 | |
List<DelegateTypeBo> getDelegationBosForRoleIds(Collection<String> roleIds); |
39 | |
|
40 | |
List<DelegateMemberBo> getDelegationPrincipalsForPrincipalIdAndDelegationIds(Collection<String> delegationIds, String principalId); |
41 | |
|
42 | |
List<DelegateMemberBo> getDelegationGroupsForGroupIdsAndDelegationIds(Collection<String> delegationIds, List<String> groupIds); |
43 | |
|
44 | |
List<RoleMemberBo> getRoleMembersForRoleIds(Collection<String> roleIds, String memberTypeCode, Map<String, String> qualification); |
45 | |
|
46 | |
List<RoleMemberBo> getRoleMembershipsForRoleIdsAsMembers(Collection<String> roleIds, Map<String, String> qualification); |
47 | |
|
48 | |
List<RoleMemberBo> getRoleMembershipsForMemberId(String memberType, String memberId, Map<String, String> qualification); |
49 | |
|
50 | |
List<RoleMemberBo> getRoleMembersForRoleIdsWithFilters(Collection<String> roleIds, String principalId, Collection<String> groupIds, Map<String, String> qualification); |
51 | |
|
52 | |
List<RoleBo> getRoles(Map<String, String> fieldValues); |
53 | |
|
54 | |
List<GroupMember> getGroupMembers(Collection<String> groupIds); |
55 | |
} |