1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.service; |
17 | |
|
18 | |
import org.kuali.rice.core.api.membership.MemberType; |
19 | |
import org.kuali.rice.kim.api.group.Group; |
20 | |
import org.kuali.rice.kim.api.identity.employment.EntityEmployment; |
21 | |
import org.kuali.rice.kim.api.role.Role; |
22 | |
import org.kuali.rice.kim.api.type.KimAttributeField; |
23 | |
import org.kuali.rice.kim.bo.ui.KimDocumentRoleMember; |
24 | |
import org.kuali.rice.kim.document.IdentityManagementGroupDocument; |
25 | |
import org.kuali.rice.kim.document.IdentityManagementPersonDocument; |
26 | |
import org.kuali.rice.kim.document.IdentityManagementRoleDocument; |
27 | |
import org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo; |
28 | |
import org.kuali.rice.kim.impl.role.RoleMemberBo; |
29 | |
import org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo; |
30 | |
import org.kuali.rice.krad.bo.BusinessObject; |
31 | |
|
32 | |
import java.util.List; |
33 | |
import java.util.Map; |
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
public interface UiDocumentService { |
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
void saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument); |
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
Map<String,Object> getAttributeEntries( List<KimAttributeField> definitions ); |
57 | |
|
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
void loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument, String principalId); |
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
public void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument, Role kimRole); |
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
public void saveRole(IdentityManagementRoleDocument identityManagementRoleDocument); |
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
|
88 | |
|
89 | |
public void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument, Group kimGroup); |
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
public void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument); |
98 | |
|
99 | |
public BusinessObject getMember(MemberType memberType, String memberId); |
100 | |
|
101 | |
public String getMemberName(MemberType memberType, String memberId); |
102 | |
|
103 | |
public String getMemberNamespaceCode(MemberType memberType, String memberId); |
104 | |
|
105 | |
public String getMemberName(MemberType memberType, BusinessObject member); |
106 | |
|
107 | |
public String getMemberNamespaceCode(MemberType memberType, BusinessObject member); |
108 | |
|
109 | |
public List<RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId); |
110 | |
|
111 | |
public List<DelegateTypeBo> getRoleDelegations(String roleId); |
112 | |
|
113 | |
public KimDocumentRoleMember getKimDocumentRoleMember(MemberType memberType, String memberId, String roleId); |
114 | |
|
115 | |
public String getMemberIdByName(MemberType memberType, String memberNamespaceCode, String memberName); |
116 | |
|
117 | |
public void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument); |
118 | |
|
119 | |
public RoleMemberBo getRoleMember(String roleMemberId); |
120 | |
|
121 | |
public List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues); |
122 | |
|
123 | |
public boolean canModifyEntity( String currentUserPrincipalId, String toModifyPrincipalId ); |
124 | |
public boolean canOverrideEntityPrivacyPreferences( String currentUserPrincipalId, String toModifyPrincipalId ); |
125 | |
|
126 | |
public List<EntityEmployment> getEntityEmploymentInformationInfo(String entityId); |
127 | |
} |