org.kuali.rice.kim.service.impl
Class UiDocumentServiceImpl

java.lang.Object
  extended by org.kuali.rice.kim.service.impl.UiDocumentServiceImpl
All Implemented Interfaces:
UiDocumentService
Direct Known Subclasses:
LdapUiDocumentServiceImpl

public class UiDocumentServiceImpl
extends Object
implements UiDocumentService

This is a description of what this class does - shyu don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
protected static class UiDocumentServiceImpl.GroupMemberNameComparator
           
 
Field Summary
protected  UiDocumentServiceImpl.GroupMemberNameComparator groupMemberNameComparator
           
 
Constructor Summary
UiDocumentServiceImpl()
           
 
Method Summary
protected  boolean canAssignToRole(IdentityManagementRoleDocument document, String initiatorPrincipalId)
           
 boolean canModifyEntity(String currentUserPrincipalId, String toModifyPrincipalId)
           
 boolean canOverrideEntityPrivacyPreferences(String currentUserPrincipalId, String toModifyPrincipalId)
           
protected  void convertCheckboxAttributeData(org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo roleMemberAttributeData)
          Formats the attribute value on this checkbox attribute, changing "on" to "Y" and "off" to "N"
protected  void formatAttrValIfNecessary(KimDocumentRoleQualifier roleQualifier)
           
protected  void formatCheckboxAttributeData(KimDocumentRoleQualifier roleQualifier)
           
protected  KimAttributeField getAttributeDefinition(String kimTypId, String attrDefnId)
          Finds the KNS attribute used to render the given KimAttributeData
protected  List<KimAttributeField> getAttributeDefinitionsForRole(PersonDocumentRole role)
           
protected  String getAttributeDefnId(KimAttributeField definition)
           
 Map<String,Object> getAttributeEntries(List<KimAttributeField> definitions)
          This method is to set up the DD attribute entry map for role qualifiers, so it can be rendered.
protected  List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> getBlankRoleMemberAttrs(List<org.kuali.rice.kim.impl.role.RoleMemberBo> rolePrncpls)
           
protected  BusinessObjectService getBusinessObjectService()
           
protected  Set<String> getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> origRoleResponsibilities)
           
protected  List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> origAttributes, boolean activatingInactive, String delegationMemberId)
           
protected  List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> origDelegationMembers, boolean activatingInactive, String newDelegationIdAssigned)
           
protected  DocumentHelperService getDocumentHelperService()
           
 List<EntityEmployment> getEntityEmploymentInformationInfo(String entityId)
           
protected  List<org.kuali.rice.kim.impl.group.GroupAttributeBo> getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument, List<org.kuali.rice.kim.impl.group.GroupAttributeBo> origAttributes)
           
protected  List<org.kuali.rice.kim.impl.group.GroupMemberBo> getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument, List<org.kuali.rice.kim.impl.group.GroupMemberBo> origGroupMembers)
           
protected  GroupService getGroupService()
           
protected  IdentityService getIdentityService()
           
 KimDocumentRoleMember getKimDocumentRoleMember(MemberType memberType, String memberId, String roleId)
           
 KimTypeInfoService getKimTypeInfoService()
           
 BusinessObject getMember(MemberType memberType, String memberId)
           
 String getMemberFullName(MemberType memberType, String memberId)
           
 String getMemberIdByName(MemberType memberType, String memberNamespaceCode, String memberName)
           
 String getMemberName(MemberType memberType, BusinessObject member)
           
 String getMemberName(MemberType memberType, String memberId)
           
 String getMemberNamespaceCode(MemberType memberType, BusinessObject member)
           
 String getMemberNamespaceCode(MemberType memberType, String memberId)
           
 ParameterService getParameterService()
           
 PermissionService getPermissionService()
           
 List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getPersonDelegations(String principalId)
           
 ResponsibilityInternalService getResponsibilityInternalService()
           
protected  ResponsibilityService getResponsibilityService()
           
protected  List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> origDelegations)
           
 List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getRoleDelegations(String roleId)
           
 org.kuali.rice.kim.impl.role.RoleMemberBo getRoleMember(String roleMemberId)
           
protected  List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers, List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> origAttributes, boolean activatingInactive, String newRoleMemberIdAssigned)
           
protected  org.kuali.rice.kim.impl.role.RoleMemberBo getRoleMemberForRoleMemberId(String roleMemberId)
           
 List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(IdentityManagementRoleDocument identityManagementRoleDocument)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(KimDocumentRoleMember documentRoleMember, org.kuali.rice.kim.impl.role.RoleMemberBo origRoleMemberImplTemp, boolean activatingInactive, String newRoleMemberIdAssigned)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(List<org.kuali.rice.kim.impl.role.RoleMemberBo> newRoleMembersList)
           
protected  List<org.kuali.rice.kim.impl.role.RoleMemberBo> getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RoleMemberBo> origRoleMembers)
           
 List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues)
           
protected  List<org.kuali.rice.kim.impl.role.RoleMemberBo> getRoleMembersForPrincipal(String principalId)
           
protected  List<org.kuali.rice.kim.impl.role.RolePermissionBo> getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RolePermissionBo> origRolePermissions)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> origRoleResponsibilities)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleResponsibilityActionImpls(String roleResponsibilityId)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleRspActions(String roleMemberId)
           
protected  RoleService getRoleService()
           
protected  List<org.kuali.rice.kim.impl.role.RoleBo> getRolesForPrincipal(String principalId)
           
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<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementPersonDocument identityManagementPersonDocument, List<KimAttributeField> origAttributeDefinitions, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> attributeDataList)
           
protected  List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> attributeDataList)
           
protected  List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> members, org.kuali.rice.kim.impl.role.RoleBo roleImpl)
           
protected  List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> members)
           
protected  void loadDelegationsToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
           
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.
 void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument, Group groupInfo)
          This method loads a role document
protected  List<GroupDocumentMember> loadGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument, List<GroupMember> members)
           
protected  List<GroupDocumentQualifier> loadGroupQualifiers(IdentityManagementGroupDocument IdentityManagementGroupDocument, Map<String,String> attributes)
           
protected  void loadGroupToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument, List<? extends Group> groups)
          This method load related group data to pending document when usert initiate the 'edit'.
protected  List<KimDocumentRoleResponsibilityAction> loadKimDocumentRoleRespActions(List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> roleRespActionImpls)
           
protected  void loadMemberRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
           
protected  List<PersonDocumentName> loadNames(IdentityManagementPersonDocument personDoc, String principalId, List<EntityName> names, boolean suppressDisplay)
           
protected  List<KimDocumentRolePermission> loadPermissions(List<org.kuali.rice.kim.impl.role.RolePermissionBo> rolePermissions)
           
protected  List<PersonDocumentPhone> loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument, String principalId, List<EntityPhone> entityPhones, boolean suppressDisplay)
           
protected  PersonDocumentPrivacy loadPrivacyReferences(EntityPrivacyPreferences privacyPreferences)
           
protected  List<KimDocumentRoleResponsibility> loadResponsibilities(List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> roleResponsibilities)
           
protected  void loadResponsibilityRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
           
 void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument, Role role)
          This method loads a role document
protected  List<RoleDocumentDelegation> loadRoleDocumentDelegations(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> delegations)
           
protected  List<KimDocumentRoleQualifier> loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> attributeDataList)
           
protected  List<KimDocumentRoleMember> loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument, List<org.kuali.rice.kim.impl.role.RoleMemberBo> members)
           
protected  void loadRoleRstAction(PersonDocumentRole role)
           
protected  void loadRoleToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
           
protected  List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)
           
protected  List<KimDocumentRoleMember> populateDocRolePrncpl(String namespaceCode, List<org.kuali.rice.kim.impl.role.RoleMemberBo> roleMembers, String principalId, List<KimAttributeField> definitions)
           
protected  List<KimDocumentRoleQualifier> populateDocRoleQualifier(String namespaceCode, List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> qualifiers, List<KimAttributeField> definitions)
           
protected  List<org.kuali.rice.kim.impl.group.GroupMemberBo> populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
           
protected  List<org.kuali.rice.kim.impl.role.RoleMemberBo> populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
           
protected  List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> populateRoleRspActions(IdentityManagementPersonDocument identityManagementPersonDocument)
           
 void saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument)
          This method to populate Entity tables from person document pending tables when it is approved.
 void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument)
          This method ...
 void saveRole(IdentityManagementRoleDocument identityManagementRoleDocument)
          This method ...
protected  void setAttrDefnIdForQualifier(KimDocumentRoleQualifier qualifier, KimAttributeField definition)
           
 void setDelegationMembersInDocument(IdentityManagementPersonDocument identityManagementPersonDocument)
           
 void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument)
           
 void setParameterService(ParameterService parameterService)
           
 void setResponsibilityService(ResponsibilityService responsibilityService)
           
 void setRoleService(RoleService roleService)
           
protected  void setupAddress(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType, List<org.kuali.rice.kim.impl.identity.address.EntityAddressBo> origAddresses)
           
protected  void setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity, List<org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationBo> origAffiliations, List<org.kuali.rice.kim.impl.identity.employment.EntityEmploymentBo> origEmpInfos)
           
protected  void setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType, List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> origEmails)
           
protected  void setupName(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity, List<org.kuali.rice.kim.impl.identity.name.EntityNameBo> origNames)
           
protected  void setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType, List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> origPhones)
           
protected  boolean setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity, List<org.kuali.rice.kim.impl.identity.principal.PrincipalBo> origPrincipals)
           
protected  void setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument, org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity, org.kuali.rice.kim.impl.identity.privacy.EntityPrivacyPreferencesBo origPrivacy)
           
protected  void updateAttrValIfNecessary(org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo roleMemberAttributeData)
          Determines if the attribute value on the attribute data should be updated; if so, it performs some attribute value formatting.
protected  void updateResponsibilityActionVersionNumber(org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo newRoleRspAction, List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> origRoleRespActionImpls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupMemberNameComparator

protected UiDocumentServiceImpl.GroupMemberNameComparator groupMemberNameComparator
Constructor Detail

UiDocumentServiceImpl

public UiDocumentServiceImpl()
Method Detail

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
See Also:
UiDocumentService.saveEntityPerson(IdentityManagementPersonDocument)

getAttributeEntries

public Map<String,Object> getAttributeEntries(List<KimAttributeField> definitions)
Description copied from interface: UiDocumentService
This method is to set up the DD attribute entry map for role qualifiers, so it can be rendered.

Specified by:
getAttributeEntries in interface UiDocumentService

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
See Also:
UiDocumentService.loadEntityToPersonDoc(IdentityManagementPersonDocument, String)

getPersonDelegations

public List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getPersonDelegations(String principalId)

loadDelegationsToPersonDoc

protected void loadDelegationsToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)

setDelegationMembersInDocument

public void setDelegationMembersInDocument(IdentityManagementPersonDocument identityManagementPersonDocument)

loadDelegationMembers

protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument,
                                                                   List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> members,
                                                                   org.kuali.rice.kim.impl.role.RoleBo roleImpl)

loadDelegationMemberQualifiers

protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementPersonDocument identityManagementPersonDocument,
                                                                                     List<KimAttributeField> origAttributeDefinitions,
                                                                                     List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> attributeDataList)

loadGroupToPersonDoc

protected void loadGroupToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
                                    List<? extends Group> groups)
This method load related group data to pending document when usert initiate the 'edit'.

Parameters:
identityManagementPersonDocument -
groups -

loadRoleToPersonDoc

protected void loadRoleToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)

getAttributeDefinitionsForRole

protected List<KimAttributeField> getAttributeDefinitionsForRole(PersonDocumentRole role)

loadRoleRstAction

protected void loadRoleRstAction(PersonDocumentRole role)

setAttrDefnIdForQualifier

protected void setAttrDefnIdForQualifier(KimDocumentRoleQualifier qualifier,
                                         KimAttributeField definition)

getAttributeDefnId

protected String getAttributeDefnId(KimAttributeField definition)

getEntityEmploymentInformationInfo

public List<EntityEmployment> getEntityEmploymentInformationInfo(String entityId)
Specified by:
getEntityEmploymentInformationInfo in interface UiDocumentService

getRolesForPrincipal

protected List<org.kuali.rice.kim.impl.role.RoleBo> getRolesForPrincipal(String principalId)

getRoleMembersForPrincipal

protected List<org.kuali.rice.kim.impl.role.RoleMemberBo> getRoleMembersForPrincipal(String principalId)

getRoleMember

public org.kuali.rice.kim.impl.role.RoleMemberBo getRoleMember(String roleMemberId)
Specified by:
getRoleMember in interface UiDocumentService

getRoleRspActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleRspActions(String roleMemberId)

populateDocRolePrncpl

protected List<KimDocumentRoleMember> populateDocRolePrncpl(String namespaceCode,
                                                            List<org.kuali.rice.kim.impl.role.RoleMemberBo> roleMembers,
                                                            String principalId,
                                                            List<KimAttributeField> definitions)

populateDocRoleQualifier

protected List<KimDocumentRoleQualifier> populateDocRoleQualifier(String namespaceCode,
                                                                  List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> qualifiers,
                                                                  List<KimAttributeField> definitions)

loadNames

protected List<PersonDocumentName> loadNames(IdentityManagementPersonDocument personDoc,
                                             String principalId,
                                             List<EntityName> names,
                                             boolean suppressDisplay)

canModifyEntity

public boolean canModifyEntity(String currentUserPrincipalId,
                               String toModifyPrincipalId)
Specified by:
canModifyEntity in interface UiDocumentService

canOverrideEntityPrivacyPreferences

public boolean canOverrideEntityPrivacyPreferences(String currentUserPrincipalId,
                                                   String toModifyPrincipalId)
Specified by:
canOverrideEntityPrivacyPreferences in interface UiDocumentService

canAssignToRole

protected boolean canAssignToRole(IdentityManagementRoleDocument document,
                                  String initiatorPrincipalId)

loadAffiliations

protected List<PersonDocumentAffiliation> loadAffiliations(List<EntityAffiliation> affiliations,
                                                           List<EntityEmployment> empInfos)

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)

setupPrivacy

protected void setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument,
                            org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity,
                            org.kuali.rice.kim.impl.identity.privacy.EntityPrivacyPreferencesBo origPrivacy)

loadPrivacyReferences

protected PersonDocumentPrivacy loadPrivacyReferences(EntityPrivacyPreferences privacyPreferences)

setupName

protected void setupName(IdentityManagementPersonDocument identityManagementPersonDocument,
                         org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity,
                         List<org.kuali.rice.kim.impl.identity.name.EntityNameBo> origNames)

setupAffiliation

protected void setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument,
                                org.kuali.rice.kim.impl.identity.entity.EntityBo kimEntity,
                                List<org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationBo> origAffiliations,
                                List<org.kuali.rice.kim.impl.identity.employment.EntityEmploymentBo> origEmpInfos)

setupPhone

protected void setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument,
                          org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType,
                          List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> origPhones)

loadPhones

protected List<PersonDocumentPhone> loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
                                               String principalId,
                                               List<EntityPhone> entityPhones,
                                               boolean suppressDisplay)

setupEmail

protected void setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument,
                          org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType,
                          List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> origEmails)

loadEmails

protected List<PersonDocumentEmail> loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
                                               String principalId,
                                               List<EntityEmail> entityEmails,
                                               boolean suppressDisplay)

setupAddress

protected void setupAddress(IdentityManagementPersonDocument identityManagementPersonDocument,
                            org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityType,
                            List<org.kuali.rice.kim.impl.identity.address.EntityAddressBo> origAddresses)

loadAddresses

protected List<PersonDocumentAddress> loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
                                                    String principalId,
                                                    List<EntityAddress> entityAddresses,
                                                    boolean suppressDisplay)

populateGroupMembers

protected List<org.kuali.rice.kim.impl.group.GroupMemberBo> populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)

populateRoleMembers

protected List<org.kuali.rice.kim.impl.role.RoleMemberBo> populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)

populateDelegations

protected List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)

getBlankRoleMemberAttrs

protected List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> getBlankRoleMemberAttrs(List<org.kuali.rice.kim.impl.role.RoleMemberBo> rolePrncpls)

populateRoleRspActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> populateRoleRspActions(IdentityManagementPersonDocument identityManagementPersonDocument)

getBusinessObjectService

protected BusinessObjectService getBusinessObjectService()

getIdentityService

protected IdentityService getIdentityService()

getGroupService

protected GroupService getGroupService()

getDocumentHelperService

protected DocumentHelperService getDocumentHelperService()

getRoleService

protected RoleService getRoleService()

setRoleService

public void setRoleService(RoleService roleService)

getResponsibilityService

protected ResponsibilityService getResponsibilityService()

setResponsibilityService

public void setResponsibilityService(ResponsibilityService responsibilityService)

loadRoleDoc

public void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument,
                        Role role)
Description copied from interface: UiDocumentService
This method loads a role document

Specified by:
loadRoleDoc in interface UiDocumentService

setDelegationMembersInDocument

public void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument)
Specified by:
setDelegationMembersInDocument in interface UiDocumentService

loadResponsibilities

protected List<KimDocumentRoleResponsibility> loadResponsibilities(List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> roleResponsibilities)

loadPermissions

protected List<KimDocumentRolePermission> loadPermissions(List<org.kuali.rice.kim.impl.role.RolePermissionBo> rolePermissions)

loadRoleMembers

protected List<KimDocumentRoleMember> loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                      List<org.kuali.rice.kim.impl.role.RoleMemberBo> members)

loadResponsibilityRoleRspActions

protected void loadResponsibilityRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)

getRoleResponsibilityActionImpls

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleResponsibilityActionImpls(String roleResponsibilityId)

getRoleMemberResponsibilityActionImpls

public List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId)
Specified by:
getRoleMemberResponsibilityActionImpls in interface UiDocumentService

loadMemberRoleRspActions

protected void loadMemberRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)

loadKimDocumentRoleRespActions

protected List<KimDocumentRoleResponsibilityAction> loadKimDocumentRoleRespActions(List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> roleRespActionImpls)

getMember

public BusinessObject getMember(MemberType memberType,
                                String memberId)
Specified by:
getMember in interface UiDocumentService

getMemberName

public String getMemberName(MemberType memberType,
                            String memberId)
Specified by:
getMemberName in interface UiDocumentService

getMemberFullName

public String getMemberFullName(MemberType memberType,
                                String memberId)

getMemberNamespaceCode

public String getMemberNamespaceCode(MemberType memberType,
                                     String memberId)
Specified by:
getMemberNamespaceCode in interface UiDocumentService

getMemberIdByName

public String getMemberIdByName(MemberType memberType,
                                String memberNamespaceCode,
                                String memberName)
Specified by:
getMemberIdByName in interface UiDocumentService

getMemberName

public String getMemberName(MemberType memberType,
                            BusinessObject member)
Specified by:
getMemberName in interface UiDocumentService

getMemberNamespaceCode

public String getMemberNamespaceCode(MemberType memberType,
                                     BusinessObject member)
Specified by:
getMemberNamespaceCode in interface UiDocumentService

loadRoleMemberQualifiers

protected List<KimDocumentRoleQualifier> loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                  List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> attributeDataList)

getRoleDelegations

public List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getRoleDelegations(String roleId)
Specified by:
getRoleDelegations in interface UiDocumentService

loadRoleDocumentDelegations

protected List<RoleDocumentDelegation> loadRoleDocumentDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                   List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> delegations)

loadDelegationMembers

protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                   List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> members)

getRoleMemberForRoleMemberId

protected org.kuali.rice.kim.impl.role.RoleMemberBo getRoleMemberForRoleMemberId(String roleMemberId)

loadDelegationMemberQualifiers

protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                                     List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> attributeDataList)

saveRole

public void saveRole(IdentityManagementRoleDocument identityManagementRoleDocument)
Description copied from interface: UiDocumentService
This method ...

Specified by:
saveRole in interface UiDocumentService
See Also:
UiDocumentService.saveEntityPerson(IdentityManagementPersonDocument)

getRolePermissions

protected List<org.kuali.rice.kim.impl.role.RolePermissionBo> getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                                 List<org.kuali.rice.kim.impl.role.RolePermissionBo> origRolePermissions)

getRoleResponsibilities

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                                          List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> origRoleResponsibilities)

getRoleResponsibilitiesActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)

updateResponsibilityActionVersionNumber

protected void updateResponsibilityActionVersionNumber(org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo newRoleRspAction,
                                                       List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> origRoleRespActionImpls)

getRoleMemberResponsibilityActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(List<org.kuali.rice.kim.impl.role.RoleMemberBo> newRoleMembersList)

getRoleMemberResponsibilityActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(IdentityManagementRoleDocument identityManagementRoleDocument)

getRoleMembers

protected List<org.kuali.rice.kim.impl.role.RoleMemberBo> getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                         List<org.kuali.rice.kim.impl.role.RoleMemberBo> origRoleMembers)

getRoleMemberResponsibilityActions

protected List<org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(KimDocumentRoleMember documentRoleMember,
                                                                                                           org.kuali.rice.kim.impl.role.RoleMemberBo origRoleMemberImplTemp,
                                                                                                           boolean activatingInactive,
                                                                                                           String newRoleMemberIdAssigned)

getRoleMemberAttributeData

protected List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers,
                                                                                                  List<org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo> origAttributes,
                                                                                                  boolean activatingInactive,
                                                                                                  String newRoleMemberIdAssigned)

updateAttrValIfNecessary

protected void updateAttrValIfNecessary(org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo roleMemberAttributeData)
Determines if the attribute value on the attribute data should be updated; if so, it performs some attribute value formatting. In the default implementation, this method formats checkbox controls

Parameters:
roleMemberAttributeData - a role member qualifier attribute to update

formatAttrValIfNecessary

protected void formatAttrValIfNecessary(KimDocumentRoleQualifier roleQualifier)

formatCheckboxAttributeData

protected void formatCheckboxAttributeData(KimDocumentRoleQualifier roleQualifier)

getAttributeDefinition

protected KimAttributeField getAttributeDefinition(String kimTypId,
                                                   String attrDefnId)
Finds the KNS attribute used to render the given KimAttributeData

Returns:
the KNS attribute used to render that qualifier, or null if the AttributeDefinition cannot be determined

convertCheckboxAttributeData

protected void convertCheckboxAttributeData(org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo roleMemberAttributeData)
Formats the attribute value on this checkbox attribute, changing "on" to "Y" and "off" to "N"

Parameters:
roleMemberAttributeData - the attribute data to format the attribute value of

getRoleDelegations

protected List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                                                          List<org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo> origDelegations)

getDelegationMembers

protected List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers,
                                                                                              List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberBo> origDelegationMembers,
                                                                                              boolean activatingInactive,
                                                                                              String newDelegationIdAssigned)

getDelegationMemberAttributeData

protected List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers,
                                                                                                                       List<org.kuali.rice.kim.impl.common.delegate.DelegateMemberAttributeDataBo> origAttributes,
                                                                                                                       boolean activatingInactive,
                                                                                                                       String delegationMemberId)

loadGroupDoc

public void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument,
                         Group groupInfo)
Description copied from interface: UiDocumentService
This method loads a role document

Specified by:
loadGroupDoc in interface UiDocumentService

loadGroupMembers

protected List<GroupDocumentMember> loadGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
                                                     List<GroupMember> members)

loadGroupQualifiers

protected List<GroupDocumentQualifier> loadGroupQualifiers(IdentityManagementGroupDocument IdentityManagementGroupDocument,
                                                           Map<String,String> attributes)

saveGroup

public void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument)
Description copied from interface: UiDocumentService
This method ...

Specified by:
saveGroup in interface UiDocumentService
See Also:
UiDocumentService.saveEntityPerson(IdentityManagementPersonDocument)

getGroupMembers

protected List<org.kuali.rice.kim.impl.group.GroupMemberBo> getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
                                                                            List<org.kuali.rice.kim.impl.group.GroupMemberBo> origGroupMembers)

getGroupAttributeData

protected List<org.kuali.rice.kim.impl.group.GroupAttributeBo> getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument,
                                                                                     List<org.kuali.rice.kim.impl.group.GroupAttributeBo> origAttributes)

getKimDocumentRoleMember

public KimDocumentRoleMember getKimDocumentRoleMember(MemberType memberType,
                                                      String memberId,
                                                      String roleId)
Specified by:
getKimDocumentRoleMember in interface UiDocumentService

getChangedRoleResponsibilityIds

protected Set<String> getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument,
                                                      List<org.kuali.rice.kim.impl.role.RoleResponsibilityBo> origRoleResponsibilities)

getKimTypeInfoService

public KimTypeInfoService getKimTypeInfoService()

getRoleMembers

public List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues)
Specified by:
getRoleMembers in interface UiDocumentService

getResponsibilityInternalService

public ResponsibilityInternalService getResponsibilityInternalService()

getPermissionService

public PermissionService getPermissionService()

getParameterService

public ParameterService getParameterService()

setParameterService

public void setParameterService(ParameterService parameterService)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.