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