public class PersonServiceImpl extends Object implements PersonService
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
baseLookupCriteria |
protected Map<String,String> |
criteriaConversion |
protected static String |
ENTITY_ADDRESS_PROPERTY_PREFIX |
protected static String |
ENTITY_AFFILIATION_PROPERTY_PREFIX |
protected static String |
ENTITY_EMAIL_PROPERTY_PREFIX |
protected static String |
ENTITY_EMPLOYEE_ID_PROPERTY_PREFIX |
protected static String |
ENTITY_EXT_ID_PROPERTY_PREFIX |
protected static String |
ENTITY_NAME_PROPERTY_PREFIX |
protected static String |
ENTITY_PHONE_PROPERTY_PREFIX |
protected static String |
ENTITY_TYPE_PROPERTY_PREFIX |
protected static String |
EXTENSION |
protected ArrayList<String> |
personCachePropertyNames |
protected List<String> |
personEntityTypeCodes |
protected static String |
PRINCIPAL_PROPERTY_PREFIX |
| Constructor and Description |
|---|
PersonServiceImpl() |
protected static final String ENTITY_EXT_ID_PROPERTY_PREFIX
protected static final String ENTITY_AFFILIATION_PROPERTY_PREFIX
protected static final String ENTITY_TYPE_PROPERTY_PREFIX
protected static final String ENTITY_EMAIL_PROPERTY_PREFIX
protected static final String ENTITY_PHONE_PROPERTY_PREFIX
protected static final String ENTITY_ADDRESS_PROPERTY_PREFIX
protected static final String ENTITY_NAME_PROPERTY_PREFIX
protected static final String PRINCIPAL_PROPERTY_PREFIX
protected static final String ENTITY_EMPLOYEE_ID_PROPERTY_PREFIX
protected static final String EXTENSION
protected List<String> personEntityTypeCodes
protected Map<String,String> baseLookupCriteria
protected Map<String,String> criteriaConversion
protected ArrayList<String> personCachePropertyNames
public PersonServiceImpl()
public Person getPerson(String principalId)
getPerson in interface PersonServicePersonService.getPerson(java.lang.String)protected PersonImpl convertEntityToPerson(EntityDefault entity, Principal principal)
public Person getPersonByPrincipalName(String principalName)
getPersonByPrincipalName in interface PersonServicePersonService.getPersonByPrincipalName(java.lang.String)public Person getPersonByEmployeeId(String employeeId)
getPersonByEmployeeId in interface PersonServicepublic List<Person> findPeople(Map<String,String> criteria)
findPeople in interface PersonServicePersonService.findPeople(Map)public List<Person> findPeople(Map<String,String> criteria, boolean unbounded)
findPeople in interface PersonServicePersonService.findPeople(java.util.Map, boolean)protected List<Person> findPeopleInternal(Map<String,String> criteria, boolean unbounded)
public Map<String,String> convertPersonPropertiesToEntityProperties(Map<String,String> criteria)
protected boolean isNameEntityCriteria(String propertyName)
protected boolean isAddressEntityCriteria(String propertyName)
protected boolean isPhoneEntityCriteria(String propertyName)
protected boolean isEmailEntityCriteria(String propertyName)
protected boolean isEmployeeIdEntityCriteria(String propertyName)
protected boolean isAffiliationEntityCriteria(String propertyName)
protected boolean isExternalIdentifierEntityCriteria(String propertyName)
public List<String> getPersonEntityTypeCodes()
public void setPersonEntityTypeCodes(List<String> personEntityTypeCodes)
protected List<Person> getPeople(Collection<String> principalIds)
protected List<String> peopleToPrincipalIds(List<Person> people)
public List<Person> getPersonByExternalIdentifier(String externalIdentifierTypeCode, String externalId)
getPersonByExternalIdentifier in interface PersonServicePersonService.getPersonByExternalIdentifier(java.lang.String, java.lang.String)public Person updatePersonIfNecessary(String sourcePrincipalId, Person currentPerson)
updatePersonIfNecessary in interface PersonServicePersonService.updatePersonIfNecessary(java.lang.String, org.kuali.rice.kim.api.identity.Person)public Map<String,String> resolvePrincipalNamesToPrincipalIds(BusinessObject businessObject, Map<String,String> fieldValues)
resolvePrincipalNamesToPrincipalIds in interface PersonServicePersonService.resolvePrincipalNamesToPrincipalIds(org.kuali.rice.krad.bo.BusinessObject, java.util.Map)protected IdentityService getIdentityService()
protected RoleService getRoleService()
public Class<? extends Person> getPersonImplementationClass()
getPersonImplementationClass in interface PersonServiceprotected BusinessObjectMetaDataService getBusinessObjectMetaDataService()
protected MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.