org.kuali.rice.kim.service.impl
Class UiDocumentServiceImpl
java.lang.Object
org.kuali.rice.kim.service.impl.UiDocumentServiceImpl
- All Implemented Interfaces:
- UiDocumentService
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)
|
protected void |
convertCheckboxAttributeData(RoleMemberAttributeDataImpl 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 AttributeDefinitionMap |
getAttributeDefinitionsForRole(PersonDocumentRole role)
|
protected String |
getAttributeDefnId(AttributeDefinition definition)
|
Map<String,Object> |
getAttributeEntries(AttributeDefinitionMap definitions)
This method is to set up the DD attribute entry map for role qualifiers, so it can be rendered. |
protected List<RoleMemberAttributeDataImpl> |
getBlankRoleMemberAttrs(List<RoleMemberImpl> rolePrncpls)
|
protected BusinessObjectService |
getBusinessObjectService()
|
protected Set<String> |
getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityImpl> origRoleResponsibilities)
|
protected List<KimDelegationMemberAttributeDataImpl> |
getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers,
List<KimDelegationMemberAttributeDataImpl> origAttributes,
boolean activatingInactive,
String delegationMemberId)
|
protected List<KimDelegationMemberImpl> |
getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers,
List<KimDelegationMemberImpl> origDelegationMembers,
boolean activatingInactive,
String newDelegationIdAssigned)
|
protected DocumentHelperService |
getDocumentHelperService()
|
List<KimEntityEmploymentInformationInfo> |
getEntityEmploymentInformationInfo(String entityId)
|
String |
getFullMemberName(String memberTypeCode,
BusinessObject member)
Deprecated. This method was called previously only by getMemberFullName(). The logic in this method has been moved there. |
protected List<GroupAttributeDataImpl> |
getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupAttributeDataImpl> origAttributes)
|
protected List<GroupMemberImpl> |
getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupMemberImpl> origGroupMembers)
|
protected List<? extends Group> |
getGroupsByIds(List<String> groupIds)
Looks up GroupInfo objects for each group id passed in |
protected GroupService |
getGroupService()
|
protected IdentityManagementService |
getIdentityManagementService()
|
protected IdentityService |
getIdentityService()
|
KimDocumentRoleMember |
getKimDocumentRoleMember(String memberTypeCode,
String memberId,
String roleId)
|
KimTypeInfoService |
getKimTypeInfoService()
|
protected AttributeDefinition |
getKNSAttributeDefinition(String kimTypId,
String attrDefnId)
Finds the KNS attribute used to render the given KimAttributeData |
BusinessObject |
getMember(String memberTypeCode,
String memberId)
|
String |
getMemberFullName(String memberTypeCode,
String memberId)
|
String |
getMemberIdByName(String memberTypeCode,
String memberNamespaceCode,
String memberName)
|
String |
getMemberName(String memberTypeCode,
BusinessObject member)
|
String |
getMemberName(String memberTypeCode,
String memberId)
|
String |
getMemberNamespaceCode(String memberTypeCode,
BusinessObject member)
|
String |
getMemberNamespaceCode(String memberTypeCode,
String memberId)
|
ParameterService |
getParameterService()
|
List<KimDelegationImpl> |
getPersonDelegations(String principalId)
|
protected ResponsibilityService |
getResponsibilityService()
|
protected List<KimDelegationImpl> |
getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationImpl> origDelegations)
|
List<KimDelegationImpl> |
getRoleDelegations(String roleId)
|
protected RoleManagementService |
getRoleManagementService()
|
RoleMemberImpl |
getRoleMember(String roleMemberId)
|
protected List<RoleMemberAttributeDataImpl> |
getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers,
List<RoleMemberAttributeDataImpl> origAttributes,
boolean activatingInactive,
String newRoleMemberIdAssigned)
|
protected RoleMemberImpl |
getRoleMemberForRoleMemberId(String roleMemberId)
|
List<RoleResponsibilityActionImpl> |
getRoleMemberResponsibilityActionImpls(String roleMemberId)
|
protected List<RoleResponsibilityActionImpl> |
getRoleMemberResponsibilityActions(IdentityManagementRoleDocument identityManagementRoleDocument)
|
protected List<RoleResponsibilityActionImpl> |
getRoleMemberResponsibilityActions(KimDocumentRoleMember documentRoleMember,
RoleMemberImpl origRoleMemberImplTemp,
boolean activatingInactive,
String newRoleMemberIdAssigned)
|
protected List<RoleResponsibilityActionImpl> |
getRoleMemberResponsibilityActions(List<RoleMemberImpl> newRoleMembersList)
|
protected List<RoleMemberImpl> |
getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberImpl> origRoleMembers)
|
List<KimDocumentRoleMember> |
getRoleMembers(Map<String,String> fieldValues)
|
protected List<RoleMemberImpl> |
getRoleMembersForPrincipal(String principalId)
|
protected List<RolePermissionImpl> |
getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RolePermissionImpl> origRolePermissions)
|
protected List<RoleResponsibilityImpl> |
getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityImpl> origRoleResponsibilities)
|
protected List<RoleResponsibilityActionImpl> |
getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)
|
protected List<RoleResponsibilityActionImpl> |
getRoleResponsibilityActionImpls(String roleResponsibilityId)
|
protected List<RoleResponsibilityActionImpl> |
getRoleRspActions(String roleMemberId)
|
protected RoleService |
getRoleService()
|
protected List<RoleImpl> |
getRolesForPrincipal(String principalId)
|
protected List<PersonDocumentAddress> |
loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityAddressInfo> entityAddresses,
boolean suppressDisplay)
|
protected List<PersonDocumentAffiliation> |
loadAffiliations(List<KimEntityAffiliationInfo> affiliations,
List<KimEntityEmploymentInformationInfo> empInfos)
|
protected List<RoleDocumentDelegationMemberQualifier> |
loadDelegationMemberQualifiers(IdentityManagementPersonDocument identityManagementPersonDocument,
AttributeDefinitionMap origAttributeDefinitions,
List<KimDelegationMemberAttributeDataImpl> attributeDataList)
|
protected List<RoleDocumentDelegationMemberQualifier> |
loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationMemberAttributeDataImpl> attributeDataList)
|
protected List<RoleDocumentDelegationMember> |
loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument,
List<KimDelegationMemberImpl> members,
RoleImpl roleImpl)
|
protected List<RoleDocumentDelegationMember> |
loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationMemberImpl> members)
|
protected void |
loadDelegationsToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<PersonDocumentEmail> |
loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityEmailInfo> entityEmails,
boolean suppressDisplay)
|
void |
loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId)
This method is to load entity to person document pending Bos when user 'initiate' a document for 'editing' entity. |
void |
loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument,
GroupInfo groupInfo)
This method loads a role document |
protected List<GroupDocumentMember> |
loadGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupMemberImpl> members)
|
protected List<GroupDocumentQualifier> |
loadGroupQualifiers(IdentityManagementGroupDocument IdentityManagementGroupDocument,
List<GroupAttributeDataImpl> attributeDataList)
|
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<RoleResponsibilityActionImpl> roleRespActionImpls)
|
protected void |
loadMemberRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
|
protected List<PersonDocumentName> |
loadNames(IdentityManagementPersonDocument personDoc,
String principalId,
List<KimEntityNameInfo> names,
boolean suppressDisplay)
|
protected List<KimDocumentRolePermission> |
loadPermissions(List<RolePermissionImpl> rolePermissions)
|
protected List<PersonDocumentPhone> |
loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityPhoneInfo> entityPhones,
boolean suppressDisplay)
|
protected PersonDocumentPrivacy |
loadPrivacyReferences(KimEntityPrivacyPreferences privacyPreferences)
|
protected List<KimDocumentRoleResponsibility> |
loadResponsibilities(List<RoleResponsibilityImpl> roleResponsibilities)
|
protected void |
loadResponsibilityRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
|
void |
loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument,
KimRoleInfo kimRole)
This method loads a role document |
protected List<RoleDocumentDelegation> |
loadRoleDocumentDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationImpl> delegations)
|
protected List<KimDocumentRoleQualifier> |
loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberAttributeDataImpl> attributeDataList)
|
protected List<KimDocumentRoleMember> |
loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberImpl> members)
|
protected void |
loadRoleRstAction(PersonDocumentRole role)
|
protected void |
loadRoleToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<KimDelegationImpl> |
populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<KimDocumentRoleMember> |
populateDocRolePrncpl(String namespaceCode,
List<RoleMemberImpl> roleMembers,
String principalId,
AttributeDefinitionMap definitions)
|
protected List<KimDocumentRoleQualifier> |
populateDocRoleQualifier(String namespaceCode,
List<RoleMemberAttributeDataImpl> qualifiers,
AttributeDefinitionMap definitions)
|
protected List<GroupMemberImpl> |
populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<RoleMemberImpl> |
populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
|
protected List<RoleResponsibilityActionImpl> |
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,
AttributeDefinition 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,
KimEntityEntityTypeImpl entityType,
List<KimEntityAddress> origAddresses)
|
protected void |
setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimEntityAffiliationImpl> origAffiliations,
List<KimEntityEmploymentInformationImpl> origEmpInfos)
|
protected void |
setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityEntityTypeImpl entityType,
List<KimEntityEmail> origEmails)
|
protected void |
setupName(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimEntityNameImpl> origNames)
|
protected void |
setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityEntityTypeImpl entityType,
List<KimEntityPhone> origPhones)
|
protected boolean |
setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimPrincipalImpl> origPrincipals)
|
protected void |
setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
KimEntityPrivacyPreferencesImpl origPrivacy)
|
protected void |
updateAttrValIfNecessary(RoleMemberAttributeDataImpl roleMemberAttributeData)
Determines if the attribute value on the attribute data should be updated; if so, it performs some attribute value formatting. |
protected void |
updateResponsibilityActionVersionNumber(RoleResponsibilityActionImpl newRoleRspAction,
List<RoleResponsibilityActionImpl> origRoleRespActionImpls)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(AttributeDefinitionMap 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
- See Also:
UiDocumentService.getAttributeEntries(AttributeDefinitionMap)
loadEntityToPersonDoc
public void loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId)
- Description copied from interface:
UiDocumentService
- This method is to load entity to person document pending Bos when user 'initiate' a document for 'editing' entity.
- Specified by:
loadEntityToPersonDoc
in interface UiDocumentService
- See Also:
UiDocumentService.loadEntityToPersonDoc(IdentityManagementPersonDocument, String)
getPersonDelegations
public List<KimDelegationImpl> getPersonDelegations(String principalId)
loadDelegationsToPersonDoc
protected void loadDelegationsToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument)
setDelegationMembersInDocument
public void setDelegationMembersInDocument(IdentityManagementPersonDocument identityManagementPersonDocument)
loadDelegationMembers
protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementPersonDocument identityManagementPersonDocument,
List<KimDelegationMemberImpl> members,
RoleImpl roleImpl)
loadDelegationMemberQualifiers
protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementPersonDocument identityManagementPersonDocument,
AttributeDefinitionMap origAttributeDefinitions,
List<KimDelegationMemberAttributeDataImpl> 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 AttributeDefinitionMap getAttributeDefinitionsForRole(PersonDocumentRole role)
loadRoleRstAction
protected void loadRoleRstAction(PersonDocumentRole role)
setAttrDefnIdForQualifier
protected void setAttrDefnIdForQualifier(KimDocumentRoleQualifier qualifier,
AttributeDefinition definition)
getAttributeDefnId
protected String getAttributeDefnId(AttributeDefinition definition)
getEntityEmploymentInformationInfo
public List<KimEntityEmploymentInformationInfo> getEntityEmploymentInformationInfo(String entityId)
- Specified by:
getEntityEmploymentInformationInfo
in interface UiDocumentService
getRolesForPrincipal
protected List<RoleImpl> getRolesForPrincipal(String principalId)
getRoleMembersForPrincipal
protected List<RoleMemberImpl> getRoleMembersForPrincipal(String principalId)
getRoleMember
public RoleMemberImpl getRoleMember(String roleMemberId)
- Specified by:
getRoleMember
in interface UiDocumentService
getRoleRspActions
protected List<RoleResponsibilityActionImpl> getRoleRspActions(String roleMemberId)
populateDocRolePrncpl
protected List<KimDocumentRoleMember> populateDocRolePrncpl(String namespaceCode,
List<RoleMemberImpl> roleMembers,
String principalId,
AttributeDefinitionMap definitions)
populateDocRoleQualifier
protected List<KimDocumentRoleQualifier> populateDocRoleQualifier(String namespaceCode,
List<RoleMemberAttributeDataImpl> qualifiers,
AttributeDefinitionMap definitions)
loadNames
protected List<PersonDocumentName> loadNames(IdentityManagementPersonDocument personDoc,
String principalId,
List<KimEntityNameInfo> 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<KimEntityAffiliationInfo> affiliations,
List<KimEntityEmploymentInformationInfo> empInfos)
setupPrincipal
protected boolean setupPrincipal(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimPrincipalImpl> origPrincipals)
setupPrivacy
protected void setupPrivacy(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
KimEntityPrivacyPreferencesImpl origPrivacy)
loadPrivacyReferences
protected PersonDocumentPrivacy loadPrivacyReferences(KimEntityPrivacyPreferences privacyPreferences)
setupName
protected void setupName(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimEntityNameImpl> origNames)
setupAffiliation
protected void setupAffiliation(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityImpl kimEntity,
List<KimEntityAffiliationImpl> origAffiliations,
List<KimEntityEmploymentInformationImpl> origEmpInfos)
setupPhone
protected void setupPhone(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityEntityTypeImpl entityType,
List<KimEntityPhone> origPhones)
loadPhones
protected List<PersonDocumentPhone> loadPhones(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityPhoneInfo> entityPhones,
boolean suppressDisplay)
setupEmail
protected void setupEmail(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityEntityTypeImpl entityType,
List<KimEntityEmail> origEmails)
loadEmails
protected List<PersonDocumentEmail> loadEmails(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityEmailInfo> entityEmails,
boolean suppressDisplay)
setupAddress
protected void setupAddress(IdentityManagementPersonDocument identityManagementPersonDocument,
KimEntityEntityTypeImpl entityType,
List<KimEntityAddress> origAddresses)
loadAddresses
protected List<PersonDocumentAddress> loadAddresses(IdentityManagementPersonDocument identityManagementPersonDocument,
String principalId,
List<KimEntityAddressInfo> entityAddresses,
boolean suppressDisplay)
populateGroupMembers
protected List<GroupMemberImpl> populateGroupMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
populateRoleMembers
protected List<RoleMemberImpl> populateRoleMembers(IdentityManagementPersonDocument identityManagementPersonDocument)
populateDelegations
protected List<KimDelegationImpl> populateDelegations(IdentityManagementPersonDocument identityManagementPersonDocument)
getBlankRoleMemberAttrs
protected List<RoleMemberAttributeDataImpl> getBlankRoleMemberAttrs(List<RoleMemberImpl> rolePrncpls)
populateRoleRspActions
protected List<RoleResponsibilityActionImpl> populateRoleRspActions(IdentityManagementPersonDocument identityManagementPersonDocument)
getBusinessObjectService
protected BusinessObjectService getBusinessObjectService()
getIdentityManagementService
protected IdentityManagementService getIdentityManagementService()
getIdentityService
protected IdentityService getIdentityService()
getGroupService
protected GroupService getGroupService()
getDocumentHelperService
protected DocumentHelperService getDocumentHelperService()
getRoleService
protected RoleService getRoleService()
getRoleManagementService
protected RoleManagementService getRoleManagementService()
setRoleService
public void setRoleService(RoleService roleService)
getResponsibilityService
protected ResponsibilityService getResponsibilityService()
setResponsibilityService
public void setResponsibilityService(ResponsibilityService responsibilityService)
loadRoleDoc
public void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument,
KimRoleInfo kimRole)
- 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<RoleResponsibilityImpl> roleResponsibilities)
loadPermissions
protected List<KimDocumentRolePermission> loadPermissions(List<RolePermissionImpl> rolePermissions)
loadRoleMembers
protected List<KimDocumentRoleMember> loadRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberImpl> members)
loadResponsibilityRoleRspActions
protected void loadResponsibilityRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
getRoleResponsibilityActionImpls
protected List<RoleResponsibilityActionImpl> getRoleResponsibilityActionImpls(String roleResponsibilityId)
getRoleMemberResponsibilityActionImpls
public List<RoleResponsibilityActionImpl> getRoleMemberResponsibilityActionImpls(String roleMemberId)
- Specified by:
getRoleMemberResponsibilityActionImpls
in interface UiDocumentService
loadMemberRoleRspActions
protected void loadMemberRoleRspActions(IdentityManagementRoleDocument identityManagementRoleDocument)
loadKimDocumentRoleRespActions
protected List<KimDocumentRoleResponsibilityAction> loadKimDocumentRoleRespActions(List<RoleResponsibilityActionImpl> roleRespActionImpls)
getMember
public BusinessObject getMember(String memberTypeCode,
String memberId)
- Specified by:
getMember
in interface UiDocumentService
getMemberName
public String getMemberName(String memberTypeCode,
String memberId)
- Specified by:
getMemberName
in interface UiDocumentService
getMemberFullName
public String getMemberFullName(String memberTypeCode,
String memberId)
getMemberNamespaceCode
public String getMemberNamespaceCode(String memberTypeCode,
String memberId)
- Specified by:
getMemberNamespaceCode
in interface UiDocumentService
getMemberIdByName
public String getMemberIdByName(String memberTypeCode,
String memberNamespaceCode,
String memberName)
- Specified by:
getMemberIdByName
in interface UiDocumentService
getMemberName
public String getMemberName(String memberTypeCode,
BusinessObject member)
- Specified by:
getMemberName
in interface UiDocumentService
getFullMemberName
public String getFullMemberName(String memberTypeCode,
BusinessObject member)
- Deprecated. This method was called previously only by getMemberFullName(). The logic in this method has been moved there.
getMemberNamespaceCode
public String getMemberNamespaceCode(String memberTypeCode,
BusinessObject member)
- Specified by:
getMemberNamespaceCode
in interface UiDocumentService
loadRoleMemberQualifiers
protected List<KimDocumentRoleQualifier> loadRoleMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberAttributeDataImpl> attributeDataList)
getRoleDelegations
public List<KimDelegationImpl> getRoleDelegations(String roleId)
- Specified by:
getRoleDelegations
in interface UiDocumentService
loadRoleDocumentDelegations
protected List<RoleDocumentDelegation> loadRoleDocumentDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationImpl> delegations)
loadDelegationMembers
protected List<RoleDocumentDelegationMember> loadDelegationMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationMemberImpl> members)
getRoleMemberForRoleMemberId
protected RoleMemberImpl getRoleMemberForRoleMemberId(String roleMemberId)
loadDelegationMemberQualifiers
protected List<RoleDocumentDelegationMemberQualifier> loadDelegationMemberQualifiers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationMemberAttributeDataImpl> 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<RolePermissionImpl> getRolePermissions(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RolePermissionImpl> origRolePermissions)
getRoleResponsibilities
protected List<RoleResponsibilityImpl> getRoleResponsibilities(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityImpl> origRoleResponsibilities)
getRoleResponsibilitiesActions
protected List<RoleResponsibilityActionImpl> getRoleResponsibilitiesActions(IdentityManagementRoleDocument identityManagementRoleDocument)
updateResponsibilityActionVersionNumber
protected void updateResponsibilityActionVersionNumber(RoleResponsibilityActionImpl newRoleRspAction,
List<RoleResponsibilityActionImpl> origRoleRespActionImpls)
getRoleMemberResponsibilityActions
protected List<RoleResponsibilityActionImpl> getRoleMemberResponsibilityActions(List<RoleMemberImpl> newRoleMembersList)
getRoleMemberResponsibilityActions
protected List<RoleResponsibilityActionImpl> getRoleMemberResponsibilityActions(IdentityManagementRoleDocument identityManagementRoleDocument)
getRoleMembers
protected List<RoleMemberImpl> getRoleMembers(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleMemberImpl> origRoleMembers)
getRoleMemberResponsibilityActions
protected List<RoleResponsibilityActionImpl> getRoleMemberResponsibilityActions(KimDocumentRoleMember documentRoleMember,
RoleMemberImpl origRoleMemberImplTemp,
boolean activatingInactive,
String newRoleMemberIdAssigned)
getRoleMemberAttributeData
protected List<RoleMemberAttributeDataImpl> getRoleMemberAttributeData(List<KimDocumentRoleQualifier> qualifiers,
List<RoleMemberAttributeDataImpl> origAttributes,
boolean activatingInactive,
String newRoleMemberIdAssigned)
updateAttrValIfNecessary
protected void updateAttrValIfNecessary(RoleMemberAttributeDataImpl 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)
getKNSAttributeDefinition
protected AttributeDefinition getKNSAttributeDefinition(String kimTypId,
String attrDefnId)
- Finds the KNS attribute used to render the given KimAttributeData
- Parameters:
roleMemberAttributeData
- a qualifier's attribute information
- Returns:
- the KNS attribute used to render that qualifier, or null if the AttributeDefinition cannot be determined
convertCheckboxAttributeData
protected void convertCheckboxAttributeData(RoleMemberAttributeDataImpl 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<KimDelegationImpl> getRoleDelegations(IdentityManagementRoleDocument identityManagementRoleDocument,
List<KimDelegationImpl> origDelegations)
getDelegationMembers
protected List<KimDelegationMemberImpl> getDelegationMembers(List<RoleDocumentDelegationMember> delegationMembers,
List<KimDelegationMemberImpl> origDelegationMembers,
boolean activatingInactive,
String newDelegationIdAssigned)
getDelegationMemberAttributeData
protected List<KimDelegationMemberAttributeDataImpl> getDelegationMemberAttributeData(List<RoleDocumentDelegationMemberQualifier> qualifiers,
List<KimDelegationMemberAttributeDataImpl> origAttributes,
boolean activatingInactive,
String delegationMemberId)
loadGroupDoc
public void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument,
GroupInfo 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<GroupMemberImpl> members)
loadGroupQualifiers
protected List<GroupDocumentQualifier> loadGroupQualifiers(IdentityManagementGroupDocument IdentityManagementGroupDocument,
List<GroupAttributeDataImpl> attributeDataList)
saveGroup
public void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument)
- Description copied from interface:
UiDocumentService
- This method ...
- Specified by:
saveGroup
in interface UiDocumentService
- See Also:
UiDocumentService.saveEntityPerson(IdentityManagementPersonDocument)
getGroupsByIds
protected List<? extends Group> getGroupsByIds(List<String> groupIds)
- Looks up GroupInfo objects for each group id passed in
- Parameters:
groupIds
- the List of group ids to look up GroupInfo records on
- Returns:
- a List of GroupInfo records
getGroupMembers
protected List<GroupMemberImpl> getGroupMembers(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupMemberImpl> origGroupMembers)
getGroupAttributeData
protected List<GroupAttributeDataImpl> getGroupAttributeData(IdentityManagementGroupDocument identityManagementGroupDocument,
List<GroupAttributeDataImpl> origAttributes)
getKimDocumentRoleMember
public KimDocumentRoleMember getKimDocumentRoleMember(String memberTypeCode,
String memberId,
String roleId)
- Specified by:
getKimDocumentRoleMember
in interface UiDocumentService
getChangedRoleResponsibilityIds
protected Set<String> getChangedRoleResponsibilityIds(IdentityManagementRoleDocument identityManagementRoleDocument,
List<RoleResponsibilityImpl> origRoleResponsibilities)
getKimTypeInfoService
public KimTypeInfoService getKimTypeInfoService()
getRoleMembers
public List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues)
- Specified by:
getRoleMembers
in interface UiDocumentService
getParameterService
public ParameterService getParameterService()
setParameterService
public void setParameterService(ParameterService parameterService)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.