Package org.kuali.rice.kim.impl.identity
Class PersonServiceImpl
java.lang.Object
org.kuali.rice.kim.impl.identity.PersonServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kim.api.identity.PersonService
public class PersonServiceImpl
extends Object
implements org.kuali.rice.kim.api.identity.PersonService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PersonImplconvertEntityToPerson(org.kuali.rice.kim.api.identity.entity.EntityDefault entity, org.kuali.rice.kim.api.identity.principal.Principal principal) convertPersonPropertiesToEntityProperties(Map<String, String> criteria) List<org.kuali.rice.kim.api.identity.Person> findPeople(Map<String, String> criteria) List<org.kuali.rice.kim.api.identity.Person> findPeople(Map<String, String> criteria, boolean unbounded) protected List<org.kuali.rice.kim.api.identity.Person> findPeopleInternal(Map<String, String> criteria, boolean unbounded) protected org.kuali.rice.kns.service.BusinessObjectMetaDataServiceprotected org.kuali.rice.kim.api.identity.IdentityServiceprotected org.kuali.rice.kns.service.MaintenanceDocumentDictionaryServiceprotected List<org.kuali.rice.kim.api.identity.Person> getPeople(Collection<String> principalIds) org.kuali.rice.kim.api.identity.Personorg.kuali.rice.kim.api.identity.PersongetPersonByEmployeeId(String employeeId) List<org.kuali.rice.kim.api.identity.Person> getPersonByExternalIdentifier(String externalIdentifierTypeCode, String externalId) org.kuali.rice.kim.api.identity.PersongetPersonByPrincipalName(String principalName) Get the entityTypeCode that can be associated with a Person.Class<? extends org.kuali.rice.kim.api.identity.Person> protected org.kuali.rice.kim.api.role.RoleServiceprotected booleanisAddressEntityCriteria(String propertyName) protected booleanisAffiliationEntityCriteria(String propertyName) protected booleanisEmailEntityCriteria(String propertyName) protected booleanisEmployeeIdEntityCriteria(String propertyName) protected booleanisNameEntityCriteria(String propertyName) protected booleanisPhoneEntityCriteria(String propertyName) peopleToPrincipalIds(List<org.kuali.rice.kim.api.identity.Person> people) resolvePrincipalNamesToPrincipalIds(org.kuali.rice.krad.bo.BusinessObject businessObject, Map<String, String> fieldValues) voidsetPersonEntityTypeCodes(List<String> personEntityTypeCodes) org.kuali.rice.kim.api.identity.PersonupdatePersonIfNecessary(String sourcePrincipalId, org.kuali.rice.kim.api.identity.Person currentPerson)
-
Field Details
-
ENTITY_AFFILIATION_PROPERTY_PREFIX
- See Also:
-
ENTITY_TYPE_PROPERTY_PREFIX
- See Also:
-
ENTITY_EMAIL_PROPERTY_PREFIX
- See Also:
-
ENTITY_PHONE_PROPERTY_PREFIX
- See Also:
-
ENTITY_ADDRESS_PROPERTY_PREFIX
- See Also:
-
ENTITY_NAME_PROPERTY_PREFIX
- See Also:
-
PRINCIPAL_PROPERTY_PREFIX
- See Also:
-
ENTITY_EMPLOYEE_ID_PROPERTY_PREFIX
- See Also:
-
EXTENSION
- See Also:
-
personEntityTypeCodes
-
baseLookupCriteria
-
criteriaConversion
-
personCachePropertyNames
-
-
Constructor Details
-
PersonServiceImpl
public PersonServiceImpl()
-
-
Method Details
-
getPerson
- Specified by:
getPersonin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
convertEntityToPerson
protected PersonImpl convertEntityToPerson(org.kuali.rice.kim.api.identity.entity.EntityDefault entity, org.kuali.rice.kim.api.identity.principal.Principal principal) -
getPersonByPrincipalName
- Specified by:
getPersonByPrincipalNamein interfaceorg.kuali.rice.kim.api.identity.PersonService
-
getPersonByEmployeeId
- Specified by:
getPersonByEmployeeIdin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
findPeople
- Specified by:
findPeoplein interfaceorg.kuali.rice.kim.api.identity.PersonService
-
findPeople
public List<org.kuali.rice.kim.api.identity.Person> findPeople(Map<String, String> criteria, boolean unbounded) - Specified by:
findPeoplein interfaceorg.kuali.rice.kim.api.identity.PersonService
-
findPeopleInternal
-
convertPersonPropertiesToEntityProperties
-
isNameEntityCriteria
-
isAddressEntityCriteria
-
isPhoneEntityCriteria
-
isEmailEntityCriteria
-
isEmployeeIdEntityCriteria
-
isAffiliationEntityCriteria
-
getPersonEntityTypeCodes
Get the entityTypeCode that can be associated with a Person. This will determine where EntityType-related data is pulled from within the KimEntity object. The codes in the list will be examined in the order present. -
setPersonEntityTypeCodes
-
getPeople
-
peopleToPrincipalIds
-
getPersonByExternalIdentifier
public List<org.kuali.rice.kim.api.identity.Person> getPersonByExternalIdentifier(String externalIdentifierTypeCode, String externalId) - Specified by:
getPersonByExternalIdentifierin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
updatePersonIfNecessary
public org.kuali.rice.kim.api.identity.Person updatePersonIfNecessary(String sourcePrincipalId, org.kuali.rice.kim.api.identity.Person currentPerson) - Specified by:
updatePersonIfNecessaryin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
resolvePrincipalNamesToPrincipalIds
public Map<String,String> resolvePrincipalNamesToPrincipalIds(org.kuali.rice.krad.bo.BusinessObject businessObject, Map<String, String> fieldValues) - Specified by:
resolvePrincipalNamesToPrincipalIdsin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
getIdentityService
protected org.kuali.rice.kim.api.identity.IdentityService getIdentityService() -
getRoleService
protected org.kuali.rice.kim.api.role.RoleService getRoleService() -
getPersonImplementationClass
- Specified by:
getPersonImplementationClassin interfaceorg.kuali.rice.kim.api.identity.PersonService
-
getBusinessObjectMetaDataService
protected org.kuali.rice.kns.service.BusinessObjectMetaDataService getBusinessObjectMetaDataService() -
getMaintenanceDocumentDictionaryService
protected org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
-