org.kuali.rice.kim.service.impl
Class LdapUiDocumentServiceImpl
java.lang.Object
org.kuali.rice.kim.service.impl.UiDocumentServiceImpl
org.kuali.rice.kim.service.impl.LdapUiDocumentServiceImpl
- All Implemented Interfaces:
- UiDocumentService
public class LdapUiDocumentServiceImpl
- extends UiDocumentServiceImpl
Customized version of the UiDocumentServiceImpl to support LDAP communcation
- Author:
- Leo Przybylski (przybyls@arizona.edu)
Method Summary |
boolean |
canModifyEntity(String currentUserPrincipalId,
String toModifyPrincipalId)
Overridden to only check permission - users should not be able to edit themselves. |
protected String |
getInitiatorPrincipalId(Document document)
|
BusinessObject |
getMember(String memberTypeCode,
String memberId)
|
protected List<org.kuali.rice.kim.impl.role.RoleMemberBo> |
getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<org.kuali.rice.kim.impl.role.RoleMemberBo> origRoleMembers)
|
protected List<PersonDocumentAddress> |
loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityAddress> entityAddresses,
boolean suppressDisplay)
|
protected List<PersonDocumentAffiliation> |
loadAffiliations(List<EntityAffiliation> affiliations,
List<EntityEmployment> empInfos)
|
protected List<PersonDocumentEmail> |
loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityEmail> entityEmails,
boolean suppressDisplay)
|
void |
loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId)
This method is to load identity to person document pending Bos when user 'initiate' a document for 'editing' identity. |
protected List<PersonDocumentName> |
loadNames(IdentityManagementPersonDocument personDoc,
String principalId,
List<EntityName> names,
boolean suppressDisplay)
|
protected List<PersonDocumentPhone> |
loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityPhone> entityPhones,
boolean suppressDisplay)
|
void |
saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument)
This method to populate Entity tables from person document pending tables when it is approved. |
protected boolean |
setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument,
org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity,
List<org.kuali.rice.kim.impl.identity.principal.PrincipalBo> origPrincipals)
|
Methods inherited from class org.kuali.rice.kim.service.impl.UiDocumentServiceImpl |
canAssignToRole, canOverrideEntityPrivacyPreferences, clearRestrictedRoleMembersSearchResults, convertCheckboxAttributeData, findPrincipalsByPrincipalIds, formatAttrValIfNecessary, formatCheckboxAttributeData, getAttributeDefinition, getAttributeDefinitionsForRole, getAttributeDefnId, getAttributeEntries, getBlankRoleMemberAttrs, getBusinessObjectService, getChangedRoleResponsibilityIds, getDelegationMemberAttributeData, getDelegationMembers, getDocumentHelperService, getEntityEmploymentInformationInfo, getGroupAttributeData, getGroupMembers, getGroupService, getIdentityArchiveService, getIdentityService, getKimDocumentRoleMember, getKimTypeInfoService, getMember, getMemberFullName, getMemberIdByName, getMemberName, getMemberName, getMemberNamespaceCode, getMemberNamespaceCode, getParameterService, getPermissionService, getPersonDelegations, getResponsibilityInternalService, getResponsibilityService, getRoleDelegations, getRoleDelegations, getRoleMember, getRoleMemberAttributeData, getRoleMemberForRoleMemberId, getRoleMemberResponsibilityActionImpls, getRoleMemberResponsibilityActions, getRoleMemberResponsibilityActions, getRoleMembers, getRoleMembersForPrincipal, getRolePermissions, getRoleResponsibilities, getRoleResponsibilitiesActions, getRoleResponsibilityActionImpl, getRoleResponsibilityActionImpls, getRoleRspActions, getRoleService, getRolesForPrincipal, getUiDocumentServiceDAO, loadDelegationMemberQualifiers, loadDelegationMemberQualifiers, loadDelegationMembers, loadDelegationMembers, loadDelegationsToPersonDoc, loadGroupDoc, loadGroupMembers, loadGroupQualifiers, loadGroupToPersonDoc, loadKimDocumentRoleRespActions, loadMemberRoleRspActions, loadPermissions, loadPrivacyReferences, loadResponsibilities, loadResponsibilityRoleRspActions, loadRoleDoc, loadRoleDocumentDelegations, loadRoleMemberQualifiers, loadRoleMembers, loadRoleMembersBasedOnSearch, loadRoleRstAction, loadRoleToPersonDoc, populateDelegations, populateDocRolePrncpl, populateDocRoleQualifier, populateGroupMembers, populateRoleMembers, populateRoleRspActions, saveGroup, saveRole, setAttrDefnIdForQualifier, setDelegationMembersInDocument, setDelegationMembersInDocument, setMembersInDocument, setParameterService, setResponsibilityService, setRoleService, setUiDocumentService, setupAddress, setupAffiliation, setupEmail, setupName, setupPhone, setupPrivacy, updateAttrValIfNecessary, updateResponsibilityActionVersionNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapUiDocumentServiceImpl
public LdapUiDocumentServiceImpl()
loadEntityToPersonDoc
public void loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId)
- Description copied from interface:
UiDocumentService
- This method is to load identity to person document pending Bos when user 'initiate' a document for 'editing' identity.
- Specified by:
loadEntityToPersonDoc
in interface UiDocumentService
- Overrides:
loadEntityToPersonDoc
in class UiDocumentServiceImpl
- See Also:
UiDocumentService.loadEntityToPersonDoc(IdentityManagementPersonDocument, String)
getInitiatorPrincipalId
protected String getInitiatorPrincipalId(Document document)
saveEntityPerson
public void saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument)
- Description copied from interface:
UiDocumentService
- This method to populate Entity tables from person document pending tables when it is approved.
- Specified by:
saveEntityPerson
in interface UiDocumentService
- Overrides:
saveEntityPerson
in class UiDocumentServiceImpl
- See Also:
UiDocumentService.saveEntityPerson(IdentityManagementPersonDocument)
setupPrincipal
protected boolean setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument,
org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity,
List<org.kuali.rice.kim.impl.identity.principal.PrincipalBo> origPrincipals)
- Overrides:
setupPrincipal
in class UiDocumentServiceImpl
loadAffiliations
protected List<PersonDocumentAffiliation> loadAffiliations(List<EntityAffiliation> affiliations,
List<EntityEmployment> empInfos)
- Overrides:
loadAffiliations
in class UiDocumentServiceImpl
loadNames
protected List<PersonDocumentName> loadNames(IdentityManagementPersonDocument personDoc,
String principalId,
List<EntityName> names,
boolean suppressDisplay)
- Overrides:
loadNames
in class UiDocumentServiceImpl
loadAddresses
protected List<PersonDocumentAddress> loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityAddress> entityAddresses,
boolean suppressDisplay)
- Overrides:
loadAddresses
in class UiDocumentServiceImpl
loadEmails
protected List<PersonDocumentEmail> loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityEmail> entityEmails,
boolean suppressDisplay)
- Overrides:
loadEmails
in class UiDocumentServiceImpl
loadPhones
protected List<PersonDocumentPhone> loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityPhone> entityPhones,
boolean suppressDisplay)
- Overrides:
loadPhones
in class UiDocumentServiceImpl
getMember
public BusinessObject getMember(String memberTypeCode,
String memberId)
canModifyEntity
public boolean canModifyEntity(String currentUserPrincipalId,
String toModifyPrincipalId)
- Overridden to only check permission - users should not be able to edit themselves.
- Specified by:
canModifyEntity
in interface UiDocumentService
- Overrides:
canModifyEntity
in class UiDocumentServiceImpl
- See Also:
UiDocumentServiceImpl.canModifyEntity(java.lang.String, java.lang.String)
getRoleMembers
protected List<org.kuali.rice.kim.impl.role.RoleMemberBo> getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<org.kuali.rice.kim.impl.role.RoleMemberBo> origRoleMembers)
- Overrides:
getRoleMembers
in class UiDocumentServiceImpl
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.