org.kuali.rice.kim.service.impl
Class UiDocumentServiceImpl
java.lang.Object
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)
Method Summary |
protected boolean |
canAssignToRole(IdentityManagementRoleDocument document,
String initiatorPrincipalId)
|
boolean |
canModifyEntity(String currentUserPrincipalId,
String toModifyPrincipalId)
|
boolean |
canOverrideEntityPrivacyPreferences(String currentUserPrincipalId,
String toModifyPrincipalId)
|
void |
clearRestrictedRoleMembersSearchResults(IdentityManagementRoleDocument identityManagementRoleDocument)
This method loads a document's original role members |
protected void |
convertCheckboxAttributeData(RoleMemberAttributeDataBo roleMemberAttributeData)
Formats the attribute value on this checkbox attribute, changing "on" to "Y" and "off" to "N" |
Map<String,Group> |
findGroupsForRole(String roleId)
|
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<RoleMemberAttributeDataBo> |
getBlankRoleMemberAttrs(List<RoleMemberBo> rolePrncpls)
|
protected Set<String> |
getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityBo> origRoleResponsibilities)
|
protected DataObjectService |
getDataObjectService()
|
DateTimeService |
getDateTimeService()
|
protected List<DelegateMemberAttributeDataBo> |
getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers,
List<DelegateMemberAttributeDataBo> origAttributes,
boolean activatingInactive,
String delegationMemberId)
|
protected List<DelegateMemberBo> |
getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers,
List<DelegateMemberBo> origDelegationMembers,
List<DelegateMemberBo> allOrigMembers,
boolean activatingInactive,
String newDelegationIdAssigned)
|
protected DocumentHelperService |
getDocumentHelperService()
|
List<EntityEmployment> |
getEntityEmploymentInformationInfo(String entityId)
|
protected List<GroupAttributeBo> |
getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupAttributeBo> origAttributes)
|
protected List<GroupMemberBo> |
getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupMemberBo> origGroupMembers)
|
protected GroupService |
getGroupService()
|
static IdentityArchiveService |
getIdentityArchiveService()
|
protected IdentityService |
getIdentityService()
|
KimTypeInfoService |
getKimTypeInfoService()
|
Object |
getMember(MemberType memberType,
String memberId)
|
String |
getMemberFullName(MemberType memberType,
String memberId)
|
String |
getMemberIdByName(MemberType memberType,
String memberNamespaceCode,
String memberName)
|
String |
getMemberName(MemberType memberType,
Object member)
|
String |
getMemberName(MemberType memberType,
String memberId)
|
String |
getMemberNamespaceCode(MemberType memberType,
Object member)
|
String |
getMemberNamespaceCode(MemberType memberType,
String memberId)
|
ParameterService |
getParameterService()
|
PermissionService |
getPermissionService()
|
List<DelegateTypeBo> |
getPersonDelegations(String principalId)
|
ResponsibilityInternalService |
getResponsibilityInternalService()
|
protected ResponsibilityService |
getResponsibilityService()
|
protected List<DelegateTypeBo> |
getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<DelegateTypeBo> origDelegations)
|
List<DelegateTypeBo> |
getRoleDelegations(String roleId)
|
RoleMemberBo |
getRoleMember(String id)
|
protected List<RoleMemberAttributeDataBo> |
getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers,
List<RoleMemberAttributeDataBo> origAttributes)
|
protected RoleMemberBo |
getRoleMemberForRoleMemberId(String roleMemberId)
|
List<RoleResponsibilityActionBo> |
getRoleMemberResponsibilityActionImpls(String roleMemberId)
|
protected List<RoleResponsibilityActionBo> |
getRoleMemberResponsibilityActions(List<RoleMemberBo> newRoleMembersList)
|
List<KimDocumentRoleMember> |
getRoleMembers(Map<String,String> fieldValues)
|
protected List<RoleMemberBo> |
getRoleMembersForPrincipal(String principalId)
|
protected List<RolePermissionBo> |
getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RolePermissionBo> origRolePermissions)
|
protected List<RoleResponsibilityBo> |
getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityBo> origRoleResponsibilities)
|
protected List<RoleResponsibilityActionBo> |
getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)
|
protected RoleResponsibilityActionBo |
getRoleResponsibilityActionImpl(String roleResponsibilityActionId)
|
protected List<RoleResponsibilityActionBo> |
getRoleResponsibilityActionImpls(String roleResponsibilityId)
|
protected List<RoleResponsibilityActionBo> |
getRoleRspActions(String roleMemberId)
|
protected RoleService |
getRoleService()
|
protected List<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<DelegateMemberAttributeDataBo> attributeDataList)
|
protected List<RoleDocumentDelegationMemberQualifier> |
loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<DelegateMemberAttributeDataBo> attributeDataList)
|
protected List<RoleDocumentDelegationMember> |
loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument,
List<DelegateMemberBo> members,
Role roleImpl)
|
protected List<RoleDocumentDelegationMember> |
loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<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 loads related group data to pending person document when user initiates the 'edit' or 'inquiry'. |
protected List<KimDocumentRoleResponsibilityAction> |
loadKimDocumentRoleRespActions(List<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<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<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<DelegateTypeBo> delegations)
|
protected List<KimDocumentRoleQualifier> |
loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberAttributeDataBo> attributeDataList)
|
protected List<KimDocumentRoleMember> |
loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberBo> members)
|
void |
loadRoleMembersBasedOnSearch(IdentityManagementRoleDocument identityManagementRoleDocument,
String memberSearchValue)
This method loads a role document members based on search criteria |
protected void |
loadRoleRstAction(PersonDocumentRole role)
|
protected void |
loadRoleToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
Used to populate the PersonDocumentRole objects for a IdentityManagementPersonDocument |
protected List<DelegateTypeBo> |
populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<KimDocumentRoleMember> |
populateDocRolePrncpl(String namespaceCode,
List<RoleMemberBo> roleMembers,
String principalId,
List<KimAttributeField> definitions)
|
protected List<KimDocumentRoleQualifier> |
populateDocRoleQualifier(String namespaceCode,
List<RoleMemberAttributeDataBo> qualifiers,
List<KimAttributeField> definitions)
|
protected List<GroupMemberBo> |
populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<RoleMemberBo> |
populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<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 |
setMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument)
|
void |
setParameterService(ParameterService parameterService)
|
void |
setResponsibilityService(ResponsibilityService responsibilityService)
|
void |
setRoleService(RoleService roleService)
|
protected void |
setupAddress(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityAddressBo> origAddresses)
|
protected void |
setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
List<EntityAffiliationBo> origAffiliations,
List<EntityEmploymentBo> origEmpInfos)
|
protected void |
setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityEmailBo> origEmails)
|
protected void |
setupName(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
List<EntityNameBo> origNames)
|
protected void |
setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityPhoneBo> origPhones)
|
protected boolean |
setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
List<PrincipalBo> origPrincipals)
|
protected void |
setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
EntityPrivacyPreferencesBo origPrivacy)
|
protected void |
updateAttrValIfNecessary(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(RoleResponsibilityActionBo newRoleRspAction,
RoleResponsibilityActionBo origRoleRespActionImpl)
|
protected void |
updateRoleMemberResponsibilityActions(List<KimDocumentRoleResponsibilityAction> documentRoleMemberActions,
List<RoleResponsibilityActionBo> roleMemberActions)
|
protected void |
updateRoleMembers(String roleId,
String kimTypeId,
List<KimDocumentRoleMember> modifiedRoleMembers,
List<RoleMemberBo> roleMembers)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupMemberNameComparator
protected UiDocumentServiceImpl.GroupMemberNameComparator groupMemberNameComparator
UiDocumentServiceImpl
public UiDocumentServiceImpl()
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<DelegateTypeBo> getPersonDelegations(String principalId)
loadDelegationsToPersonDoc
protected void loadDelegationsToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
setDelegationMembersInDocument
public void setDelegationMembersInDocument(IdentityManagementPersonDocument identityManagementPersonDocument)
loadDelegationMembers
protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument,
List<DelegateMemberBo> members,
Role roleImpl)
loadDelegationMemberQualifiers
protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementPersonDocument identityManagementPersonDocument,
List<KimAttributeField> origAttributeDefinitions,
List<DelegateMemberAttributeDataBo> attributeDataList)
loadGroupToPersonDoc
protected void loadGroupToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
List<? extends Group> groups)
- This method loads related group data to pending person document when user initiates the 'edit' or 'inquiry'.
- Parameters:
identityManagementPersonDocument
- groups
-
loadRoleToPersonDoc
protected void loadRoleToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
- Used to populate the
PersonDocumentRole
objects for a IdentityManagementPersonDocument
- Parameters:
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<RoleBo> getRolesForPrincipal(String principalId)
getRoleMembersForPrincipal
protected List<RoleMemberBo> getRoleMembersForPrincipal(String principalId)
getRoleMember
public RoleMemberBo getRoleMember(String id)
- Specified by:
getRoleMember
in interface UiDocumentService
getRoleRspActions
protected List<RoleResponsibilityActionBo> getRoleRspActions(String roleMemberId)
populateDocRolePrncpl
protected List<KimDocumentRoleMember> populateDocRolePrncpl(String namespaceCode,
List<RoleMemberBo> roleMembers,
String principalId,
List<KimAttributeField> definitions)
populateDocRoleQualifier
protected List<KimDocumentRoleQualifier> populateDocRoleQualifier(String namespaceCode,
List<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,
EntityBo kimEntity,
List<PrincipalBo> origPrincipals)
setupPrivacy
protected void setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
EntityPrivacyPreferencesBo origPrivacy)
loadPrivacyReferences
protected PersonDocumentPrivacy loadPrivacyReferences(EntityPrivacyPreferences privacyPreferences)
setupName
protected void setupName(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
List<EntityNameBo> origNames)
setupAffiliation
protected void setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityBo kimEntity,
List<EntityAffiliationBo> origAffiliations,
List<EntityEmploymentBo> origEmpInfos)
setupPhone
protected void setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityPhoneBo> origPhones)
loadPhones
protected List<PersonDocumentPhone> loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityPhone> entityPhones,
boolean suppressDisplay)
setupEmail
protected void setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityEmailBo> origEmails)
loadEmails
protected List<PersonDocumentEmail> loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityEmail> entityEmails,
boolean suppressDisplay)
setupAddress
protected void setupAddress(IdentityManagementPersonDocument identityManagementPersonDocument,
EntityTypeContactInfoBo entityType,
List<EntityAddressBo> origAddresses)
loadAddresses
protected List<PersonDocumentAddress> loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<EntityAddress> entityAddresses,
boolean suppressDisplay)
populateGroupMembers
protected List<GroupMemberBo> populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
populateRoleMembers
protected List<RoleMemberBo> populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
populateDelegations
protected List<DelegateTypeBo> populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)
getBlankRoleMemberAttrs
protected List<RoleMemberAttributeDataBo> getBlankRoleMemberAttrs(List<RoleMemberBo> rolePrncpls)
populateRoleRspActions
protected List<RoleResponsibilityActionBo> populateRoleRspActions(IdentityManagementPersonDocument identityManagementPersonDocument)
getDataObjectService
protected DataObjectService getDataObjectService()
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
loadRoleMembersBasedOnSearch
public void loadRoleMembersBasedOnSearch(IdentityManagementRoleDocument identityManagementRoleDocument,
String memberSearchValue)
- Description copied from interface:
UiDocumentService
- This method loads a role document members based on search criteria
- Specified by:
loadRoleMembersBasedOnSearch
in interface UiDocumentService
clearRestrictedRoleMembersSearchResults
public void clearRestrictedRoleMembersSearchResults(IdentityManagementRoleDocument identityManagementRoleDocument)
- Description copied from interface:
UiDocumentService
- This method loads a document's original role members
- Specified by:
clearRestrictedRoleMembersSearchResults
in interface UiDocumentService
setDelegationMembersInDocument
public void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument)
- Specified by:
setDelegationMembersInDocument
in interface UiDocumentService
loadResponsibilities
protected List<KimDocumentRoleResponsibility> loadResponsibilities(List<RoleResponsibilityBo> roleResponsibilities)
loadPermissions
protected List<KimDocumentRolePermission> loadPermissions(List<RolePermissionBo> rolePermissions)
setMembersInDocument
public void setMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument)
- Specified by:
setMembersInDocument
in interface UiDocumentService
findGroupsForRole
public Map<String,Group> findGroupsForRole(String roleId)
loadRoleMembers
protected List<KimDocumentRoleMember> loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberBo> members)
loadResponsibilityRoleRspActions
protected void loadResponsibilityRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
getRoleResponsibilityActionImpl
protected RoleResponsibilityActionBo getRoleResponsibilityActionImpl(String roleResponsibilityActionId)
getRoleResponsibilityActionImpls
protected List<RoleResponsibilityActionBo> getRoleResponsibilityActionImpls(String roleResponsibilityId)
getRoleMemberResponsibilityActionImpls
public List<RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId)
- Specified by:
getRoleMemberResponsibilityActionImpls
in interface UiDocumentService
loadMemberRoleRspActions
protected void loadMemberRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
loadKimDocumentRoleRespActions
protected List<KimDocumentRoleResponsibilityAction> loadKimDocumentRoleRespActions(List<RoleResponsibilityActionBo> roleRespActionImpls)
getMember
public Object 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,
Object member)
- Specified by:
getMemberName
in interface UiDocumentService
getMemberNamespaceCode
public String getMemberNamespaceCode(MemberType memberType,
Object member)
- Specified by:
getMemberNamespaceCode
in interface UiDocumentService
loadRoleMemberQualifiers
protected List<KimDocumentRoleQualifier> loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberAttributeDataBo> attributeDataList)
getRoleDelegations
public List<DelegateTypeBo> getRoleDelegations(String roleId)
- Specified by:
getRoleDelegations
in interface UiDocumentService
loadRoleDocumentDelegations
protected List<RoleDocumentDelegation> loadRoleDocumentDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<DelegateTypeBo> delegations)
loadDelegationMembers
protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<DelegateMemberBo> members)
getRoleMemberForRoleMemberId
protected RoleMemberBo getRoleMemberForRoleMemberId(String roleMemberId)
loadDelegationMemberQualifiers
protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<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<RolePermissionBo> getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RolePermissionBo> origRolePermissions)
getRoleResponsibilities
protected List<RoleResponsibilityBo> getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityBo> origRoleResponsibilities)
getRoleResponsibilitiesActions
protected List<RoleResponsibilityActionBo> getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)
updateResponsibilityActionVersionNumber
protected void updateResponsibilityActionVersionNumber(RoleResponsibilityActionBo newRoleRspAction,
RoleResponsibilityActionBo origRoleRespActionImpl)
getRoleMemberResponsibilityActions
protected List<RoleResponsibilityActionBo> getRoleMemberResponsibilityActions(List<RoleMemberBo> newRoleMembersList)
updateRoleMembers
protected void updateRoleMembers(String roleId,
String kimTypeId,
List<KimDocumentRoleMember> modifiedRoleMembers,
List<RoleMemberBo> roleMembers)
updateRoleMemberResponsibilityActions
protected void updateRoleMemberResponsibilityActions(List<KimDocumentRoleResponsibilityAction> documentRoleMemberActions,
List<RoleResponsibilityActionBo> roleMemberActions)
getRoleMemberAttributeData
protected List<RoleMemberAttributeDataBo> getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers,
List<RoleMemberAttributeDataBo> origAttributes)
updateAttrValIfNecessary
protected void updateAttrValIfNecessary(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(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<DelegateTypeBo> getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<DelegateTypeBo> origDelegations)
getDelegationMembers
protected List<DelegateMemberBo> getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers,
List<DelegateMemberBo> origDelegationMembers,
List<DelegateMemberBo> allOrigMembers,
boolean activatingInactive,
String newDelegationIdAssigned)
getDelegationMemberAttributeData
protected List<DelegateMemberAttributeDataBo> getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers,
List<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<GroupMemberBo> getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupMemberBo> origGroupMembers)
getGroupAttributeData
protected List<GroupAttributeBo> getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupAttributeBo> origAttributes)
getChangedRoleResponsibilityIds
protected Set<String> getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument,
List<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()
getDateTimeService
public DateTimeService getDateTimeService()
setParameterService
public void setParameterService(ParameterService parameterService)
getIdentityArchiveService
public static IdentityArchiveService getIdentityArchiveService()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.