org.kuali.rice.kim.impl.identity
Class PersonImpl
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.TransientBusinessObjectBase
org.kuali.rice.kim.impl.identity.PersonImpl
- All Implemented Interfaces:
- Serializable, ModelObjectBasic, Person, BusinessObject, ExternalizableBusinessObject
public class PersonImpl
- extends TransientBusinessObjectBase
- implements Person
- See Also:
- Serialized Form
personService
protected static PersonService personService
identityService
protected static IdentityService identityService
principalId
protected String principalId
principalName
protected String principalName
entityId
protected String entityId
entityTypeCode
protected String entityTypeCode
firstName
protected String firstName
middleName
protected String middleName
lastName
protected String lastName
name
protected String name
address
protected EntityAddress address
emailAddress
protected String emailAddress
phoneNumber
protected String phoneNumber
suppressName
protected boolean suppressName
suppressAddress
protected boolean suppressAddress
suppressPhone
protected boolean suppressPhone
suppressPersonal
protected boolean suppressPersonal
suppressEmail
protected boolean suppressEmail
affiliations
protected List<? extends EntityAffiliationContract> affiliations
campusCode
protected String campusCode
externalIdentifiers
protected Map<String,String> externalIdentifiers
employeeStatusCode
protected String employeeStatusCode
employeeStatus
protected org.kuali.rice.kim.impl.identity.employment.EntityEmploymentStatusBo employeeStatus
employeeTypeCode
protected String employeeTypeCode
employeeType
protected org.kuali.rice.kim.impl.identity.employment.EntityEmploymentTypeBo employeeType
primaryDepartmentCode
protected String primaryDepartmentCode
employeeId
protected String employeeId
baseSalaryAmount
protected KualiDecimal baseSalaryAmount
active
protected boolean active
PersonImpl
public PersonImpl()
PersonImpl
public PersonImpl(Principal principal,
String personEntityTypeCode)
PersonImpl
public PersonImpl(Principal principal,
EntityDefault entity,
String personEntityTypeCode)
PersonImpl
public PersonImpl(String principalId,
String personEntityTypeCode)
PersonImpl
public PersonImpl(org.kuali.rice.kim.impl.identity.EntityDefaultInfoCacheBo p)
setPrincipal
public void setPrincipal(Principal principal,
EntityDefault entity,
String personEntityTypeCode)
- Sets the principal object and populates the person object from that.
populatePrincipalInfo
protected void populatePrincipalInfo(Principal principal)
populateEntityInfo
protected void populateEntityInfo(EntityDefault entity,
Principal principal,
String personEntityTypeCode)
populateNameInfo
protected void populateNameInfo(String entityTypeCode,
EntityDefault entity,
Principal principal)
populatePrivacyInfo
protected void populatePrivacyInfo(EntityDefault entity)
populateAddressInfo
protected void populateAddressInfo(EntityTypeContactInfoDefault contactInfoDefault)
populateEmailInfo
protected void populateEmailInfo(EntityTypeContactInfoDefault contactInfoDefault)
populatePhoneInfo
protected void populatePhoneInfo(EntityTypeContactInfoDefault contactInfoDefault)
populateAffiliationInfo
protected void populateAffiliationInfo(EntityDefault entity)
populateEmploymentInfo
protected void populateEmploymentInfo(EntityDefault entity)
populateExternalIdentifiers
protected void populateExternalIdentifiers(EntityDefault entity)
getEntityId
public String getEntityId()
- Specified by:
getEntityId in interface Person
- See Also:
Person.getEntityId()
getPrincipalId
public String getPrincipalId()
- Specified by:
getPrincipalId in interface Person
- See Also:
Person.getPrincipalId()
getPrincipalName
public String getPrincipalName()
- This overridden method ...
- Specified by:
getPrincipalName in interface Person
- See Also:
Person.getPrincipalName()
getFirstName
public String getFirstName()
- Description copied from interface:
Person
- The first name from the default name record for the entity.
- Specified by:
getFirstName in interface Person
- See Also:
Person.getFirstName()
getFirstNameUnmasked
public String getFirstNameUnmasked()
- Specified by:
getFirstNameUnmasked in interface Person
- See Also:
Person.getFirstNameUnmasked()
getMiddleName
public String getMiddleName()
- Specified by:
getMiddleName in interface Person
- See Also:
Person.getMiddleName()
getMiddleNameUnmasked
public String getMiddleNameUnmasked()
- Specified by:
getMiddleNameUnmasked in interface Person
- See Also:
Person.getMiddleNameUnmasked()
getLastName
public String getLastName()
- Specified by:
getLastName in interface Person
- See Also:
Person.getLastName()
getLastNameUnmasked
public String getLastNameUnmasked()
- Specified by:
getLastNameUnmasked in interface Person
- See Also:
Person.getLastNameUnmasked()
getName
public String getName()
- Specified by:
getName in interface Person
- See Also:
Person.getName()
getNameUnmasked
public String getNameUnmasked()
- Specified by:
getNameUnmasked in interface Person
getPhoneNumber
public String getPhoneNumber()
- Description copied from interface:
Person
- Returns the default phone number for the entity.
- Specified by:
getPhoneNumber in interface Person
- See Also:
Person.getPhoneNumber()
getPhoneNumberUnmasked
public String getPhoneNumberUnmasked()
- Specified by:
getPhoneNumberUnmasked in interface Person
- See Also:
Person.getPhoneNumberUnmasked()
getEmailAddress
public String getEmailAddress()
- Specified by:
getEmailAddress in interface Person
- See Also:
Person.getEmailAddress()
getEmailAddressUnmasked
public String getEmailAddressUnmasked()
- Specified by:
getEmailAddressUnmasked in interface Person
getAffiliations
public List<? extends EntityAffiliationContract> getAffiliations()
hasAffiliationOfType
public boolean hasAffiliationOfType(String affiliationTypeCode)
- This overridden method ...
- Specified by:
hasAffiliationOfType in interface Person
- See Also:
Person.hasAffiliationOfType(java.lang.String)
getCampusCodesForAffiliationOfType
public List<String> getCampusCodesForAffiliationOfType(String affiliationTypeCode)
- Specified by:
getCampusCodesForAffiliationOfType in interface Person
getExternalId
public String getExternalId(String externalIdentifierTypeCode)
- Specified by:
getExternalId in interface Person
- See Also:
Person.getExternalId(java.lang.String)
getCampusCode
public String getCampusCode()
- Pulls the campus code from the default affiliation for the identity.
Returns null if no default affiliation is set.
- Specified by:
getCampusCode in interface Person
- See Also:
Person.getCampusCode()
getPersonService
public static PersonService getPersonService()
- Returns:
- the personService
getIdentityService
public static IdentityService getIdentityService()
- Returns:
- the identityService
getExternalIdentifiers
public Map<String,String> getExternalIdentifiers()
- Specified by:
getExternalIdentifiers in interface Person
- See Also:
Person.getExternalIdentifiers()
getAddressLine1
public String getAddressLine1()
- Description copied from interface:
Person
- Returns line1 of the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressLine1 in interface Person
getAddressLine1Unmasked
public String getAddressLine1Unmasked()
- Specified by:
getAddressLine1Unmasked in interface Person
getAddressLine2
public String getAddressLine2()
- Description copied from interface:
Person
- Returns line2 of the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressLine2 in interface Person
getAddressLine2Unmasked
public String getAddressLine2Unmasked()
- Specified by:
getAddressLine2Unmasked in interface Person
getAddressLine3
public String getAddressLine3()
- Description copied from interface:
Person
- Returns line3 of the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressLine3 in interface Person
getAddressLine3Unmasked
public String getAddressLine3Unmasked()
- Specified by:
getAddressLine3Unmasked in interface Person
getAddressCity
public String getAddressCity()
- Description copied from interface:
Person
- Returns the city name from the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressCity in interface Person
getAddressCityUnmasked
public String getAddressCityUnmasked()
- Specified by:
getAddressCityUnmasked in interface Person
getAddressStateProvinceCode
public String getAddressStateProvinceCode()
- Description copied from interface:
Person
- Returns the state code from the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressStateProvinceCode in interface Person
getAddressStateProvinceCodeUnmasked
public String getAddressStateProvinceCodeUnmasked()
- Specified by:
getAddressStateProvinceCodeUnmasked in interface Person
getAddressPostalCode
public String getAddressPostalCode()
- Description copied from interface:
Person
- Returns the postal code from the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressPostalCode in interface Person
getAddressPostalCodeUnmasked
public String getAddressPostalCodeUnmasked()
- Specified by:
getAddressPostalCodeUnmasked in interface Person
getAddressCountryCode
public String getAddressCountryCode()
- Description copied from interface:
Person
- Returns the country code from the default address for the Person. Will lazy-load the information from the
IdentityManagementService if requested.
- Specified by:
getAddressCountryCode in interface Person
getAddressCountryCodeUnmasked
public String getAddressCountryCodeUnmasked()
- Specified by:
getAddressCountryCodeUnmasked in interface Person
getEmployeeStatusCode
public String getEmployeeStatusCode()
- Specified by:
getEmployeeStatusCode in interface Person
getEmployeeTypeCode
public String getEmployeeTypeCode()
- Specified by:
getEmployeeTypeCode in interface Person
getBaseSalaryAmount
public KualiDecimal getBaseSalaryAmount()
- Specified by:
getBaseSalaryAmount in interface Person
getEmployeeId
public String getEmployeeId()
- Specified by:
getEmployeeId in interface Person
getPrimaryDepartmentCode
public String getPrimaryDepartmentCode()
- Specified by:
getPrimaryDepartmentCode in interface Person
getEntityTypeCode
public String getEntityTypeCode()
- Specified by:
getEntityTypeCode in interface Person
isActive
public boolean isActive()
- Specified by:
isActive in interface Person
setActive
public void setActive(boolean active)
getLookupRoleNamespaceCode
public String getLookupRoleNamespaceCode()
- Returns:
- the lookupRoleNamespaceCode
setLookupRoleNamespaceCode
public void setLookupRoleNamespaceCode(String lookupRoleNamespaceCode)
- Parameters:
lookupRoleNamespaceCode - the lookupRoleNamespaceCode to set
getLookupRoleName
public String getLookupRoleName()
- Returns:
- the lookupRoleName
setLookupRoleName
public void setLookupRoleName(String lookupRoleName)
- Parameters:
lookupRoleName - the lookupRoleName to set
setPrincipalName
public void setPrincipalName(String principalName)
- Parameters:
principalName - the principalName to set
setName
public void setName(String name)
- Parameters:
name - the name to set
getEmployeeStatus
public org.kuali.rice.kim.impl.identity.employment.EntityEmploymentStatusBo getEmployeeStatus()
getEmployeeType
public org.kuali.rice.kim.impl.identity.employment.EntityEmploymentTypeBo getEmployeeType()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.