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, Cloneable, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.internal.weaving.PersistenceWeavedRest, org.eclipse.persistence.queries.FetchGroupTracker, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.kim.api.identity.Person, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.ExternalizableBusinessObject

public class PersonImpl extends org.kuali.rice.krad.bo.TransientBusinessObjectBase implements org.kuali.rice.kim.api.identity.Person
See Also:
  • Field Details

    • personService

      protected static org.kuali.rice.kim.api.identity.PersonService personService
    • identityService

      protected static org.kuali.rice.kim.api.identity.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 org.kuali.rice.kim.api.identity.address.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 org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationContract> affiliations
    • campusCode

      protected String campusCode
    • externalIdentifiers

      protected Map<String,String> externalIdentifiers
    • employeeStatusCode

      protected String employeeStatusCode
    • employeeStatus

      protected EntityEmploymentStatusBo employeeStatus
    • employeeTypeCode

      protected String employeeTypeCode
    • employeeType

      protected EntityEmploymentTypeBo employeeType
    • primaryDepartmentCode

      protected String primaryDepartmentCode
    • employeeId

      protected String employeeId
    • baseSalaryAmount

      protected org.kuali.rice.core.api.util.type.KualiDecimal baseSalaryAmount
    • active

      protected boolean active
  • Constructor Details

    • PersonImpl

      public PersonImpl()
    • PersonImpl

      public PersonImpl(org.kuali.rice.kim.api.identity.principal.Principal principal, String personEntityTypeCode)
    • PersonImpl

      public PersonImpl(org.kuali.rice.kim.api.identity.principal.Principal principal, org.kuali.rice.kim.api.identity.entity.EntityDefault entity, String personEntityTypeCode)
    • PersonImpl

      public PersonImpl(String principalId, String personEntityTypeCode)
    • PersonImpl

      public PersonImpl(EntityDefaultInfoCacheBo p)
  • Method Details

    • setPrincipal

      public void setPrincipal(org.kuali.rice.kim.api.identity.principal.Principal principal, org.kuali.rice.kim.api.identity.entity.EntityDefault entity, String personEntityTypeCode)
      Sets the principal object and populates the person object from that.
    • populatePrincipalInfo

      protected void populatePrincipalInfo(org.kuali.rice.kim.api.identity.principal.Principal principal)
    • populateEntityInfo

      protected void populateEntityInfo(org.kuali.rice.kim.api.identity.entity.EntityDefault entity, org.kuali.rice.kim.api.identity.principal.Principal principal, String personEntityTypeCode)
    • populateNameInfo

      protected void populateNameInfo(String entityTypeCode, org.kuali.rice.kim.api.identity.entity.EntityDefault entity, org.kuali.rice.kim.api.identity.principal.Principal principal)
    • populatePrivacyInfo

      protected void populatePrivacyInfo(org.kuali.rice.kim.api.identity.entity.EntityDefault entity)
    • populateAddressInfo

      protected void populateAddressInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfoDefault contactInfoDefault)
    • populateEmailInfo

      protected void populateEmailInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfoDefault contactInfoDefault)
    • populatePhoneInfo

      protected void populatePhoneInfo(org.kuali.rice.kim.api.identity.type.EntityTypeContactInfoDefault contactInfoDefault)
    • populateAffiliationInfo

      protected void populateAffiliationInfo(org.kuali.rice.kim.api.identity.entity.EntityDefault entity)
    • populateEmploymentInfo

      protected void populateEmploymentInfo(org.kuali.rice.kim.api.identity.entity.EntityDefault entity)
    • populateExternalIdentifiers

      protected void populateExternalIdentifiers(org.kuali.rice.kim.api.identity.entity.EntityDefault entity)
    • getEntityId

      public String getEntityId()
      Specified by:
      getEntityId in interface org.kuali.rice.kim.api.identity.Person
    • getPrincipalId

      public String getPrincipalId()
      Specified by:
      getPrincipalId in interface org.kuali.rice.kim.api.identity.Person
    • getPrincipalName

      public String getPrincipalName()
      Specified by:
      getPrincipalName in interface org.kuali.rice.kim.api.identity.Person
    • getFirstName

      public String getFirstName()
      Specified by:
      getFirstName in interface org.kuali.rice.kim.api.identity.Person
    • getFirstNameUnmasked

      public String getFirstNameUnmasked()
      Specified by:
      getFirstNameUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getMiddleName

      public String getMiddleName()
      Specified by:
      getMiddleName in interface org.kuali.rice.kim.api.identity.Person
    • getMiddleNameUnmasked

      public String getMiddleNameUnmasked()
      Specified by:
      getMiddleNameUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getLastName

      public String getLastName()
      Specified by:
      getLastName in interface org.kuali.rice.kim.api.identity.Person
    • getLastNameUnmasked

      public String getLastNameUnmasked()
      Specified by:
      getLastNameUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getName

      public String getName()
      Specified by:
      getName in interface org.kuali.rice.kim.api.identity.Person
    • getNameUnmasked

      public String getNameUnmasked()
      Specified by:
      getNameUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getPhoneNumber

      public String getPhoneNumber()
      Specified by:
      getPhoneNumber in interface org.kuali.rice.kim.api.identity.Person
    • getPhoneNumberUnmasked

      public String getPhoneNumberUnmasked()
      Specified by:
      getPhoneNumberUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getEmailAddress

      public String getEmailAddress()
      Specified by:
      getEmailAddress in interface org.kuali.rice.kim.api.identity.Person
    • getEmailAddressUnmasked

      public String getEmailAddressUnmasked()
      Specified by:
      getEmailAddressUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAffiliations

      public List<? extends org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationContract> getAffiliations()
    • hasAffiliationOfType

      public boolean hasAffiliationOfType(String affiliationTypeCode)
      Specified by:
      hasAffiliationOfType in interface org.kuali.rice.kim.api.identity.Person
    • getCampusCodesForAffiliationOfType

      public List<String> getCampusCodesForAffiliationOfType(String affiliationTypeCode)
      Specified by:
      getCampusCodesForAffiliationOfType in interface org.kuali.rice.kim.api.identity.Person
    • getExternalId

      public String getExternalId(String externalIdentifierTypeCode)
      Specified by:
      getExternalId in interface org.kuali.rice.kim.api.identity.Person
    • 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 org.kuali.rice.kim.api.identity.Person
      See Also:
      • Person.getCampusCode()
    • getPersonService

      public static org.kuali.rice.kim.api.identity.PersonService getPersonService()
    • getIdentityService

      public static org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
    • getExternalIdentifiers

      public Map<String,String> getExternalIdentifiers()
      Specified by:
      getExternalIdentifiers in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine1

      public String getAddressLine1()
      Specified by:
      getAddressLine1 in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine1Unmasked

      public String getAddressLine1Unmasked()
      Specified by:
      getAddressLine1Unmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine2

      public String getAddressLine2()
      Specified by:
      getAddressLine2 in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine2Unmasked

      public String getAddressLine2Unmasked()
      Specified by:
      getAddressLine2Unmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine3

      public String getAddressLine3()
      Specified by:
      getAddressLine3 in interface org.kuali.rice.kim.api.identity.Person
    • getAddressLine3Unmasked

      public String getAddressLine3Unmasked()
      Specified by:
      getAddressLine3Unmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressCity

      public String getAddressCity()
      Specified by:
      getAddressCity in interface org.kuali.rice.kim.api.identity.Person
    • getAddressCityUnmasked

      public String getAddressCityUnmasked()
      Specified by:
      getAddressCityUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressStateProvinceCode

      public String getAddressStateProvinceCode()
      Specified by:
      getAddressStateProvinceCode in interface org.kuali.rice.kim.api.identity.Person
    • getAddressStateProvinceCodeUnmasked

      public String getAddressStateProvinceCodeUnmasked()
      Specified by:
      getAddressStateProvinceCodeUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressPostalCode

      public String getAddressPostalCode()
      Specified by:
      getAddressPostalCode in interface org.kuali.rice.kim.api.identity.Person
    • getAddressPostalCodeUnmasked

      public String getAddressPostalCodeUnmasked()
      Specified by:
      getAddressPostalCodeUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getAddressCountryCode

      public String getAddressCountryCode()
      Specified by:
      getAddressCountryCode in interface org.kuali.rice.kim.api.identity.Person
    • getAddressCountryCodeUnmasked

      public String getAddressCountryCodeUnmasked()
      Specified by:
      getAddressCountryCodeUnmasked in interface org.kuali.rice.kim.api.identity.Person
    • getEmployeeStatusCode

      public String getEmployeeStatusCode()
      Specified by:
      getEmployeeStatusCode in interface org.kuali.rice.kim.api.identity.Person
    • getEmployeeTypeCode

      public String getEmployeeTypeCode()
      Specified by:
      getEmployeeTypeCode in interface org.kuali.rice.kim.api.identity.Person
    • getBaseSalaryAmount

      public org.kuali.rice.core.api.util.type.KualiDecimal getBaseSalaryAmount()
      Specified by:
      getBaseSalaryAmount in interface org.kuali.rice.kim.api.identity.Person
    • getEmployeeId

      public String getEmployeeId()
      Specified by:
      getEmployeeId in interface org.kuali.rice.kim.api.identity.Person
    • getPrimaryDepartmentCode

      public String getPrimaryDepartmentCode()
      Specified by:
      getPrimaryDepartmentCode in interface org.kuali.rice.kim.api.identity.Person
    • getEntityTypeCode

      public String getEntityTypeCode()
      Specified by:
      getEntityTypeCode in interface org.kuali.rice.kim.api.identity.Person
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.kim.api.identity.Person
    • setActive

      public void setActive(boolean active)
    • getLookupRoleNamespaceCode

      public String getLookupRoleNamespaceCode()
    • setLookupRoleNamespaceCode

      public void setLookupRoleNamespaceCode(String lookupRoleNamespaceCode)
    • getLookupRoleName

      public String getLookupRoleName()
    • setLookupRoleName

      public void setLookupRoleName(String lookupRoleName)
    • getLookupRoleId

      public String getLookupRoleId()
    • setLookupRoleId

      public void setLookupRoleId(String lookupRoleId)
    • setPrincipalName

      public void setPrincipalName(String principalName)
    • setName

      public void setName(String name)
    • getEmployeeStatus

      public EntityEmploymentStatusBo getEmployeeStatus()
    • getEmployeeType

      public EntityEmploymentTypeBo getEmployeeType()