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