public class KcPerson extends Object implements Contactable, org.kuali.rice.krad.bo.BusinessObject
| Constructor and Description |
|---|
KcPerson()
When using this ctor
setPersonId(String) must be call else this call is in an invalid state. |
| Modifier and Type | Method and Description |
|---|---|
static KcPerson |
fromEntityAndPersonId(org.kuali.rice.kim.api.identity.entity.EntityContract entity,
String personId)
Creates a KcPerson from an EntityContract & principalId.
|
static KcPerson |
fromEntityAndUserName(org.kuali.rice.kim.api.identity.entity.EntityContract entity,
String userName)
Creates a KcPerson from an EntityContract & principalId.
|
static KcPerson |
fromExtendedAttributes(KcPersonExtendedAttributes extendedAttributes)
Creates a KcPerson from an KcPersonExtendedAttributes BO.
|
static KcPerson |
fromPersonId(String personId)
Creates a KcPerson from a principal id.
|
Boolean |
getActive()
Gets the active flag.
|
String |
getAddressLine1()
Gets the value of addressLine1.
|
String |
getAddressLine2()
Gets the value of addressLine2.
|
String |
getAddressLine3()
Gets the value of addressLine3.
|
Integer |
getAge()
Gets the value of age.
|
Integer |
getAgeByFiscalYear()
Gets the value of ageByFiscalYear.
|
String |
getCampusCode()
Gets the campus code.
|
String |
getCity()
Gets the value of city.
|
String |
getContactOrganizationName()
This method returns the contact's organization name.
|
String |
getCountryCode()
Gets the value of countryCode.
|
String |
getCountryOfCitizenship()
Gets the value of countryOfCitizenship.
|
String |
getCounty()
Gets the value of county.
|
String |
getDateOfBirth()
Gets the value of dateOfBirth.
|
String |
getDegree()
Gets the value of degree.
|
String |
getDirectoryDepartment()
Gets the value of directoryDepartment.
|
String |
getDirectoryTitle()
Gets the value of directoryTitle.
|
String |
getEducationLevel()
Gets the value of educationLevel.
|
String |
getEmailAddress()
Gets the value of emailAddress.
|
String |
getEraCommonsUserName()
Gets the value of eraCommonsUserName.
|
KcPersonExtendedAttributes |
getExtendedAttributes()
gets the extended attributes BO.
|
Boolean |
getFacultyFlag()
Gets the value of faculty.
|
String |
getFaxNumber()
Gets the value of faxNumber.
|
String |
getFirstName()
Gets the value of firstName.
|
String |
getFullName()
Gets the value of fullName.
|
String |
getGender()
Gets the value of gender.
|
Boolean |
getGraduateStudentStaffFlag()
Gets the value of graduateStudentStaff.
|
Boolean |
getHandicappedFlag()
Gets the value of handicapped.
|
String |
getHandicapType()
Gets the value of handicapType.
|
Boolean |
getHasVisa()
Gets the value of hasVisa.
|
String |
getIdentifier()
This method returns the serializable identifier of the contact.
|
String |
getIdProvided()
Gets the value of idProvided.
|
String |
getIdVerified()
Gets the value of idVerified.
|
String |
getLastName()
Gets the value of lastName.
|
String |
getMajor()
Gets the value of major.
|
Boolean |
getMedicalStaffFlag()
Gets the value of medicalStaff.
|
String |
getMiddleName()
Gets the value of middleName.
|
String |
getMobilePhoneNumber()
Gets the value of mobilePhoneNumber.
|
String |
getOfficeLocation()
Gets the value of officeLocation.
|
String |
getOfficePhone()
Gets the value of officePhone.
|
Boolean |
getOnSabbaticalFlag()
Gets the value of onSabbatical.
|
String |
getOrganizationIdentifier()
This method returns the contact's associated unit number.
|
Boolean |
getOtherAcademicGroupFlag()
Gets the value of otherAcademicGroup.
|
String |
getPagerNumber()
Gets the value of pagerNumber.
|
String |
getPersonId()
Gets the person id which is the KIM principal id.
|
String |
getPhoneNumber()
This method returns the contact's phone number.
|
String |
getPostalCode()
Gets the value of postalCode.
|
String |
getPrimaryTitle()
Gets the value of primaryTitle.
|
String |
getPriorName()
Gets the value of priorName.
|
String |
getRace()
Gets the value of race.
|
Boolean |
getResearchStaffFlag()
Gets the value of researchStaff.
|
String |
getSaluation()
Gets the value of saluation.
|
String |
getSchool()
Gets the value of school.
|
String |
getSecondaryOfficeLocation()
Gets the value of secondaryOfficeLocation.
|
String |
getSecondaryOfficePhone()
Gets the value of secondaryOfficePhone.
|
Boolean |
getServiceStaffFlag()
Gets the value of serviceStaff.
|
String |
getSocialSecurityNumber()
Gets the value of socialSecurityNumber.
|
String |
getState()
Gets the value of state.
|
Boolean |
getSupportStaffFlag()
Gets the value of supportStaff.
|
Unit |
getUnit()
This method returns the associated unit
|
String |
getUserName()
Gets the value of userName.
|
Boolean |
getVacationAccrualFlag()
Gets the value of vacationAccrual.
|
Boolean |
getVeteranFlag()
Gets the value of veteran.
|
String |
getVeteranType()
Gets the value of veteranType.
|
String |
getVisaCode()
Gets the value of visaCode.
|
String |
getVisaRenewalDate()
Gets the value of visaRenewalDate.
|
String |
getVisaType()
Gets the value of visaType.
|
String |
getYearGraduated()
Gets the value of yearGraduated.
|
void |
prepareForWorkflow() |
void |
refresh() |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService boService) |
void |
setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService) |
void |
setPersonId(String personId)
Sets the person id which is the KIM principal id.
|
String |
toString() |
public KcPerson()
setPersonId(String) must be call else this call is in an invalid state.public static KcPerson fromPersonId(String personId)
personId - the principal id in KIMIllegalArgumentException - if the personId is emptypublic static KcPerson fromExtendedAttributes(KcPersonExtendedAttributes extendedAttributes)
extendedAttributes - the KC Person Extended Attributes.IllegalArgumentException - if the extendedAttributes is null or the extendedAttributes.personId is emptypublic static KcPerson fromEntityAndPersonId(org.kuali.rice.kim.api.identity.entity.EntityContract entity, String personId)
entity - the KIM entity.personId - the principal id in KIM. This is needed b/c a KIM entity can have multiple principal. This determines
which principal this wrapper will refer to.IllegalArgumentException - if the entity is null, principalId is empty, or if the entity does not contain a principal
with the passed in principal idpublic static KcPerson fromEntityAndUserName(org.kuali.rice.kim.api.identity.entity.EntityContract entity, String userName)
entity - the KIM entity.userName - the principal's user name in KIM. This is needed b/c a KIM entity can have multiple principal. This determines
which principal this wrapper will refer to.IllegalArgumentException - if the entity is null, userName is empty, or if the entity does not contain a principal
with the passed in user namepublic void refresh()
refresh in interface org.kuali.rice.krad.bo.BusinessObjectpublic void prepareForWorkflow()
public String getPersonId()
public void setPersonId(String personId)
personId - the person idpublic String getSocialSecurityNumber()
public String getLastName()
getLastName in interface Contactablepublic String getFirstName()
getFirstName in interface Contactablepublic String getMiddleName()
public String getFullName()
getFullName in interface Contactablepublic String getPriorName()
public String getUserName()
public String getEmailAddress()
getEmailAddress in interface Contactablepublic String getDateOfBirth()
public Integer getAge()
public Integer getAgeByFiscalYear()
public String getGender()
public String getRace()
public String getEducationLevel()
public String getDegree()
public String getMajor()
public Boolean getHandicappedFlag()
public String getHandicapType()
public Boolean getVeteranFlag()
public String getVeteranType()
public String getVisaCode()
public String getVisaType()
public String getVisaRenewalDate()
public Boolean getHasVisa()
public String getOfficeLocation()
public String getOfficePhone()
public String getSecondaryOfficeLocation()
public String getSecondaryOfficePhone()
public String getSchool()
public String getYearGraduated()
public String getDirectoryDepartment()
public String getSaluation()
public String getCountryOfCitizenship()
public String getPrimaryTitle()
public String getDirectoryTitle()
public Boolean getFacultyFlag()
public Boolean getGraduateStudentStaffFlag()
public Boolean getResearchStaffFlag()
public Boolean getServiceStaffFlag()
public Boolean getSupportStaffFlag()
public Boolean getOtherAcademicGroupFlag()
public Boolean getMedicalStaffFlag()
public Boolean getVacationAccrualFlag()
public Boolean getOnSabbaticalFlag()
public String getIdProvided()
public String getIdVerified()
public String getAddressLine1()
public String getAddressLine2()
public String getAddressLine3()
public String getCity()
public String getCounty()
public String getState()
public String getPostalCode()
public String getCountryCode()
public String getFaxNumber()
public String getPagerNumber()
public String getMobilePhoneNumber()
public String getEraCommonsUserName()
public Boolean getActive()
public String getIdentifier()
getIdentifier in interface Contactablepublic Unit getUnit()
getUnit in interface Contactablepublic String getPhoneNumber()
getPhoneNumber in interface Contactablepublic String getContactOrganizationName()
getContactOrganizationName in interface Contactablepublic String getOrganizationIdentifier()
getOrganizationIdentifier in interface Contactablepublic String getCampusCode()
public KcPersonExtendedAttributes getExtendedAttributes()
public String toString()
public void setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService boService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.