| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.impl.identity.PersonServiceImpl
public class PersonServiceImpl
This is a description of what this class does - kellerj don't forget to fill this in.
| Field Summary | |
|---|---|
| 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 Summary | |
|---|---|
| PersonServiceImpl() | |
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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
| Constructor Detail | 
|---|
public PersonServiceImpl()
| Method Detail | 
|---|
public Person getPerson(String principalId)
PersonService
getPerson in interface PersonServicePersonService.getPerson(java.lang.String)
protected PersonImpl convertEntityToPerson(EntityDefault entity,
                                           Principal principal)
public Person getPersonByPrincipalName(String principalName)
PersonService
getPersonByPrincipalName in interface PersonServicePersonService.getPersonByPrincipalName(java.lang.String)public Person getPersonByEmployeeId(String employeeId)
PersonService
getPersonByEmployeeId in interface PersonServicepublic List<Person> findPeople(Map<String,String> criteria)
PersonService
findPeople in interface PersonServicePersonService.findPeople(Map)
public List<Person> findPeople(Map<String,String> criteria,
                               boolean unbounded)
PersonService
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)
PersonService
getPersonByExternalIdentifier 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)
PersonService
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)
PersonService
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()
PersonService
getPersonImplementationClass in interface PersonServiceprotected BusinessObjectMetaDataService getBusinessObjectMetaDataService()
protected MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||