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() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PersonImpl | convertEntityToPerson(EntityDefault entity,
                     Principal principal) | 
| Map<String,String> | convertPersonPropertiesToEntityProperties(Map<String,String> criteria) | 
| List<Person> | findPeople(Map<String,String> criteria)Perform an unbounded search for person records. | 
| List<Person> | findPeople(Map<String,String> criteria,
          boolean unbounded)Perform a Person lookup. | 
| protected List<Person> | findPeopleInternal(Map<String,String> criteria,
                  boolean unbounded) | 
| protected BusinessObjectMetaDataService | getBusinessObjectMetaDataService() | 
| protected IdentityService | getIdentityService() | 
| protected MaintenanceDocumentDictionaryService | getMaintenanceDocumentDictionaryService() | 
| protected List<Person> | getPeople(Collection<String> principalIds) | 
| Person | getPerson(String principalId)Retrieve a single Person object by Principal ID. | 
| Person | getPersonByEmployeeId(String employeeId)Gets a single Person by their employee id. | 
| List<Person> | getPersonByExternalIdentifier(String externalIdentifierTypeCode,
                             String externalId)Retrieve a person by an arbitrary external identifier. | 
| Person | getPersonByPrincipalName(String principalName)Gets a single Person by their principal name (user ID). | 
| List<String> | getPersonEntityTypeCodes()Get the entityTypeCode that can be associated with a Person. | 
| Class<? extends Person> | getPersonImplementationClass()Get the class object which points to the class used by the underlying implementation. | 
| protected RoleService | getRoleService() | 
| protected boolean | isAddressEntityCriteria(String propertyName) | 
| protected boolean | isAffiliationEntityCriteria(String propertyName) | 
| protected boolean | isEmailEntityCriteria(String propertyName) | 
| protected boolean | isEmployeeIdEntityCriteria(String propertyName) | 
| protected boolean | isExternalIdentifierEntityCriteria(String propertyName) | 
| protected boolean | isNameEntityCriteria(String propertyName) | 
| protected boolean | isPhoneEntityCriteria(String propertyName) | 
| protected List<String> | peopleToPrincipalIds(List<Person> people) | 
| Map<String,String> | resolvePrincipalNamesToPrincipalIds(BusinessObject businessObject,
                                   Map<String,String> fieldValues)This method takes a map on its way to populate a business object and replaces all 
 user identifiers with their corresponding universal users | 
| void | setPersonEntityTypeCodes(List<String> personEntityTypeCodes) | 
| Person | updatePersonIfNecessary(String sourcePrincipalId,
                       Person currentPerson)Compares the Principal ID passed in with that in the Person object. | 
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)
PersonServicegetPerson in interface PersonServicePersonService.getPerson(java.lang.String)protected PersonImpl convertEntityToPerson(EntityDefault entity, Principal principal)
public Person getPersonByPrincipalName(String principalName)
PersonServicegetPersonByPrincipalName in interface PersonServicePersonService.getPersonByPrincipalName(java.lang.String)public Person getPersonByEmployeeId(String employeeId)
PersonServicegetPersonByEmployeeId in interface PersonServicepublic List<Person> findPeople(Map<String,String> criteria)
PersonServicefindPeople in interface PersonServicePersonService.findPeople(Map)public List<Person> findPeople(Map<String,String> criteria, boolean unbounded)
PersonServicefindPeople 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)
PersonServicegetPersonByExternalIdentifier in interface PersonServiceexternalIdentifierTypeCode - Type of external identifier to search for.externalId - The external identifier.PersonService.getPersonByExternalIdentifier(java.lang.String, java.lang.String)public Person updatePersonIfNecessary(String sourcePrincipalId, Person currentPerson)
PersonServiceupdatePersonIfNecessary 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)
PersonServiceresolvePrincipalNamesToPrincipalIds in interface PersonServicePersonService.resolvePrincipalNamesToPrincipalIds(org.kuali.rice.krad.bo.BusinessObject, java.util.Map)protected IdentityService getIdentityService()
protected RoleService getRoleService()
public Class<? extends Person> getPersonImplementationClass()
PersonServicegetPersonImplementationClass in interface PersonServiceprotected BusinessObjectMetaDataService getBusinessObjectMetaDataService()
protected MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.