Interface SakaiPerson
-
- All Superinterfaces:
EduPerson,InetOrgPerson,OrganizationalPerson,Persistable,Person
public interface SakaiPerson extends EduPerson
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROFILE_SAVE_PERMISSION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAcademicProfileUrl()Get academic profile urlStringgetBusinessBiography()Get business bioStringgetCampus()Person's campusDategetDateOfBirth()get Date of BirthStringgetEducationCourse()Get education courseStringgetEducationSubjects()Get education subjectsStringgetFavouriteBooks()Get favourite booksStringgetFavouriteMovies()Get favourite moviesStringgetFavouriteQuotes()Get favourite quotesStringgetFavouriteTvShows()Get favourite TV showsBooleangetFerpaEnabled()Has the user invoked their FERPA rights?BooleangetHidePrivateInfo()Person's preference to allow read access to private informationBooleangetHidePublicInfo()Person's preference to allow read access to public informationBooleangetLocked()Get the locked statusStringgetNormalizedMobile()Get the user's normalized mobile number in international format: country code + number, no spaces or punctuation, example: local format for South African number = 083 123 4567, normalized international form = 27831234567StringgetNotes()Other information providedStringgetPhoneticPronunciation()Get phonetic pronunciationStringgetPictureUrl()Person's pictureUrl, url to user picture provided.StringgetPronouns()Returns the preferred pronouns for this personStringgetPublications()Get publicationsStringgetStaffProfile()Get staff profile infoStringgetUniversityProfileUrl()Get external profile urlBooleanisSystemPicturePreferred()Person's preference to display system picture, if the institution provided picture is preferred for display.voidsetAcademicProfileUrl(String academicProfileUrl)Set academic profile urlvoidsetBusinessBiography(String businessBiography)Set business biovoidsetCampus(String school)Person's campusvoidsetDateOfBirth(Date dateOfBirth)Set the users Date of birthvoidsetEducationCourse(String educationCourse)Set education coursevoidsetEducationSubjects(String educationSubjects)Set education subjectsvoidsetFavouriteBooks(String favouriteBooks)Set favourite booksvoidsetFavouriteMovies(String favouriteMovies)Set favourite moviesvoidsetFavouriteQuotes(String favouriteQuotes)Set favourite quotesvoidsetFavouriteTvShows(String favouriteTvShows)Set favourite TV showsvoidsetFerpaEnabled(Boolean ferpaEnabled)voidsetHidePrivateInfo(Boolean hidePrivateInfo)Person's preference to allow read access to private informationvoidsetHidePublicInfo(Boolean hidePublicInfo)Person's preference to allow read access to public informationvoidsetLocked(Boolean locked)Set the lock statusvoidsetNormalizedMobile(String Number)Set the user's normalized mobile number in international format.voidsetNotes(String notes)Other information providedvoidsetPhoneticPronunciation(String phoneticPronunciation)Set phonetic pronunciationvoidsetPictureUrl(String pictureURL)Person's pictureUrl, url to user picture provided.voidsetPronouns(String pronouns)Set the pronouns for this personvoidsetPublications(String publications)Set publicationsvoidsetStaffProfile(String staffProfile)Set staff profile infovoidsetSystemPicturePreferred(Boolean systemPicturePreferred)Person's preference to display system picture, if the institution provided picture is preferred for display.voidsetUniversityProfileUrl(String universityProfileUrl)Set external profile url-
Methods inherited from interface org.sakaiproject.api.common.edu.person.EduPerson
getAffiliation, getAssurance, getEntitlement, getNickname, getOrcid, getOrgDn, getOrgUnitDn, getPrimaryAffiliation, getPrimaryOrgUnitDn, getPrincipalName, getPrincipalNamePrior, getScopedAffiliation, getTargetedID, getUniqueId, setAffiliation, setAssurance, setEntitlement, setNickname, setOrcid, setOrgDn, setOrgUnitDn, setPrimaryAffiliation, setPrimaryOrgUnitDn, setPrincipalName, setPrincipalNamePrior, setScopedAffiliation, setTargetedID, setUniqueId
-
Methods inherited from interface org.sakaiproject.api.common.edu.person.InetOrgPerson
getAudio, getBusinessCategory, getCarLicense, getDepartmentNumber, getDisplayName, getEmployeeNumber, getEmployeeType, getGivenName, getHomePhone, getHomePostalAddress, getInitials, getJpegPhoto, getLabeledURI, getMail, getManager, getMobile, getOrganization, getPager, getPreferredLanguage, getRoomNumber, getSecretary, getUid, getUserCertificate, getUserPKCS12, getUserSMIMECertificate, getX500UniqueIdentifier, setAudio, setBusinessCategory, setCarLicense, setDepartmentNumber, setDisplayName, setEmployeeNumber, setEmployeeType, setGivenName, setHomePhone, setHomePostalAddress, setInitials, setJpegPhoto, setLabeledURI, setMail, setManager, setMobile, setOrganization, setPager, setPreferredLanguage, setRoomNumber, setSecretary, setUid, setUserCertificate, setUserPKCS12, setUserSMIMECertificate, setX500UniqueIdentifier
-
Methods inherited from interface org.sakaiproject.api.common.edu.person.OrganizationalPerson
getFacsimileTelephoneNumber, getLocalityName, getOrganizationalUnit, getPhysicalDeliveryOfficeName, getPostalAddress, getPostalCode, getPostOfficeBox, getStateOrProvinceName, getStreetAddress, getTitle, setFacsimileTelephoneNumber, setLocalityName, setOrganizationalUnit, setPhysicalDeliveryOfficeName, setPostalAddress, setPostalCode, setPostOfficeBox, setStateOrProvinceName, setStreetAddress, setTitle
-
Methods inherited from interface org.sakaiproject.api.common.manager.Persistable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getUuid
-
Methods inherited from interface org.sakaiproject.api.common.edu.person.Person
getAgentUuid, getCommonName, getDescription, getSeeAlso, getStreet, getSurname, getTelephoneNumber, getTypeUuid, setAgentUuid, setCommonName, setDescription, setSeeAlso, setStreet, setSurname, setTelephoneNumber, setTypeUuid
-
-
-
-
Field Detail
-
PROFILE_SAVE_PERMISSION
static final String PROFILE_SAVE_PERMISSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPictureUrl
String getPictureUrl()
Person's pictureUrl, url to user picture provided.- Returns:
-
setPictureUrl
void setPictureUrl(String pictureURL)
Person's pictureUrl, url to user picture provided.- Parameters:
pictureURL-
-
isSystemPicturePreferred
Boolean isSystemPicturePreferred()
Person's preference to display system picture, if the institution provided picture is preferred for display.- Returns:
-
setSystemPicturePreferred
void setSystemPicturePreferred(Boolean systemPicturePreferred)
Person's preference to display system picture, if the institution provided picture is preferred for display.
-
getNotes
String getNotes()
Other information provided- Returns:
-
setNotes
void setNotes(String notes)
Other information provided- Parameters:
notes- : set other information provided
-
getCampus
String getCampus()
Person's campus- Returns:
-
setCampus
void setCampus(String school)
Person's campus- Parameters:
school-
-
getHidePrivateInfo
Boolean getHidePrivateInfo()
Person's preference to allow read access to private information- Returns:
-
setHidePrivateInfo
void setHidePrivateInfo(Boolean hidePrivateInfo)
Person's preference to allow read access to private information- Parameters:
hidePrivateInfo-
-
getHidePublicInfo
Boolean getHidePublicInfo()
Person's preference to allow read access to public information- Returns:
-
setHidePublicInfo
void setHidePublicInfo(Boolean hidePublicInfo)
Person's preference to allow read access to public information- Parameters:
hidePublicInfo-
-
getFerpaEnabled
Boolean getFerpaEnabled()
Has the user invoked their FERPA rights?- Returns:
-
setFerpaEnabled
void setFerpaEnabled(Boolean ferpaEnabled)
- Parameters:
ferpaEnabled- TRUE if FERPA rights have been invoked. If FALSE or NULL no FERPA rights have been invoked.
-
setDateOfBirth
void setDateOfBirth(Date dateOfBirth)
Set the users Date of birth- Parameters:
dateOfBirth- Date of Birth
-
getDateOfBirth
Date getDateOfBirth()
get Date of Birth
-
setLocked
void setLocked(Boolean locked)
Set the lock status
-
getLocked
Boolean getLocked()
Get the locked status- Returns:
-
setFavouriteBooks
void setFavouriteBooks(String favouriteBooks)
Set favourite books
-
getFavouriteBooks
String getFavouriteBooks()
Get favourite books- Returns:
-
setFavouriteTvShows
void setFavouriteTvShows(String favouriteTvShows)
Set favourite TV shows
-
getFavouriteTvShows
String getFavouriteTvShows()
Get favourite TV shows- Returns:
-
setFavouriteMovies
void setFavouriteMovies(String favouriteMovies)
Set favourite movies
-
getFavouriteMovies
String getFavouriteMovies()
Get favourite movies- Returns:
-
setFavouriteQuotes
void setFavouriteQuotes(String favouriteQuotes)
Set favourite quotes
-
getFavouriteQuotes
String getFavouriteQuotes()
Get favourite quotes- Returns:
-
setEducationCourse
void setEducationCourse(String educationCourse)
Set education course
-
getEducationCourse
String getEducationCourse()
Get education course- Returns:
-
setEducationSubjects
void setEducationSubjects(String educationSubjects)
Set education subjects
-
getEducationSubjects
String getEducationSubjects()
Get education subjects- Returns:
-
getNormalizedMobile
String getNormalizedMobile()
Get the user's normalized mobile number in international format: country code + number, no spaces or punctuation, example: local format for South African number = 083 123 4567, normalized international form = 27831234567- Returns:
-
setNormalizedMobile
void setNormalizedMobile(String Number)
Set the user's normalized mobile number in international format. Normalize the number before passing it to this method.- Parameters:
the- number
-
setStaffProfile
void setStaffProfile(String staffProfile)
Set staff profile info- Parameters:
staffProfile-
-
getStaffProfile
String getStaffProfile()
Get staff profile info- Returns:
-
setUniversityProfileUrl
void setUniversityProfileUrl(String universityProfileUrl)
Set external profile url- Parameters:
universityProfileUrl-
-
getUniversityProfileUrl
String getUniversityProfileUrl()
Get external profile url- Returns:
-
setAcademicProfileUrl
void setAcademicProfileUrl(String academicProfileUrl)
Set academic profile url- Parameters:
academicProfileUrl-
-
getAcademicProfileUrl
String getAcademicProfileUrl()
Get academic profile url- Returns:
-
setPublications
void setPublications(String publications)
Set publications- Parameters:
publications-
-
getPublications
String getPublications()
Get publications- Returns:
-
setBusinessBiography
void setBusinessBiography(String businessBiography)
Set business bio- Parameters:
businessBiography-
-
getBusinessBiography
String getBusinessBiography()
Get business bio- Returns:
-
setPhoneticPronunciation
void setPhoneticPronunciation(String phoneticPronunciation)
Set phonetic pronunciation- Parameters:
phoneticPronunciation-
-
getPhoneticPronunciation
String getPhoneticPronunciation()
Get phonetic pronunciation- Returns:
-
setPronouns
void setPronouns(String pronouns)
Set the pronouns for this person- Parameters:
The- free form string of pronouns
-
getPronouns
String getPronouns()
Returns the preferred pronouns for this person- Returns:
- The preferred pronouns in a free form string
-
-