|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.peopleconnections.profile.WCUserProfileWrapper
public class WCUserProfileWrapper
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.webcenter.peopleconnections.profile.WCUserProfile |
---|
WCUserProfile.PhotoSize |
Constructor Summary | |
---|---|
WCUserProfileWrapper(WCUserProfile userProfile) |
Method Summary | |
---|---|
java.lang.String |
getBusinessCity() |
java.lang.String |
getBusinessCountry() |
java.lang.String |
getBusinessEmail() |
java.lang.String |
getBusinessFax() |
java.lang.String |
getBusinessLocationMapURL() |
java.lang.String |
getBusinessMobile() |
java.lang.String |
getBusinessPager() |
java.lang.String |
getBusinessPhone() |
java.lang.String |
getBusinessPOBox() |
java.lang.String |
getBusinessPostalCode() |
java.lang.String |
getBusinessState() |
java.lang.String |
getBusinessStreet() |
java.lang.String |
getDateofBirth() |
java.lang.String |
getDateofHire() |
java.lang.String |
getDefaultGroup() |
java.lang.String |
getDepartment() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.String |
getEmployeeNumber() |
java.lang.String |
getEmployeeType() |
java.lang.String |
getExpertise() |
java.lang.String |
getFirstName() |
java.lang.String |
getGuid() |
java.lang.String |
getHomeAddress() |
java.lang.String |
getHomePhone() |
java.lang.String |
getID() |
java.lang.String |
getInitials() |
java.lang.String |
getLastName() |
java.util.Map<java.lang.String,java.lang.String> |
getLocalizedDisplayNames() Returns all the display names of the user in various locales. |
java.lang.String |
getMaidenName() |
java.lang.String |
getManager() |
java.lang.String |
getManagerDisplayName() Returns the Display Name of the manager for this user, if the Display Name is available. |
java.lang.String |
getMiddleName() |
java.lang.String |
getName() |
java.lang.String |
getNameSuffix() |
java.lang.String |
getOrganization() |
java.lang.String |
getOrganizationalUnit() |
byte[] |
getOriginalPhoto() Method to return the 'original' (unscaled) photo of the user. |
java.lang.String |
getPersonalStatusNote() |
byte[] |
getPhoto(WCUserProfile.PhotoSize size) Returns a photo of specified size for this user profile, looking it up in a system cache if possible. |
java.lang.String |
getPhotoUID() Returns an identifier for the photo, that is guaranteed to be unique for this user profile. |
java.lang.String |
getPreferredLanguage() |
java.util.List<java.lang.String> |
getReporteeDisplayNames() This method returns a list of the reportee user names for this user. |
java.util.List<Reportee> |
getReporteeList() This method returns a list of the reportee this user. |
java.util.List<WCUserProfile> |
getReporteeProfiles() Returns the profiles of the reportees for this user. |
java.util.List<java.lang.String> |
getReportees() |
java.lang.String |
getTimeZone() |
java.util.TimeZone |
getTimeZoneAsObject() |
java.lang.String |
getTitle() |
java.sql.Timestamp |
getUpdateDate() |
java.lang.String |
getUserName() |
java.lang.String |
getWirelessAcctNumber() |
void |
invalidatePhotoCache() Invalidates any photo images that may have been cached for this user profile. |
void |
save() |
void |
setBusinessCity(java.lang.String busCity) |
void |
setBusinessCountry(java.lang.String busCountry) |
void |
setBusinessEmail(java.lang.String email) |
void |
setBusinessFax(java.lang.String busFax) |
void |
setBusinessMobile(java.lang.String busMobile) |
void |
setBusinessPager(java.lang.String busPager) |
void |
setBusinessPhone(java.lang.String busPhone) |
void |
setBusinessPOBox(java.lang.String poBox) |
void |
setBusinessPostalCode(java.lang.String poCode) |
void |
setBusinessState(java.lang.String busState) |
void |
setBusinessStreet(java.lang.String busStreet) |
void |
setDateofBirth(java.lang.String dob) |
void |
setDateofHire(java.lang.String doh) |
void |
setDefaultGroup(java.lang.String defGrp) |
void |
setDepartment(java.lang.String dept) |
void |
setDescription(java.lang.String aboutMe) |
void |
setDisplayName(java.lang.String dispName) |
void |
setEmployeeNumber(java.lang.String empNo) |
void |
setEmployeeType(java.lang.String empType) |
void |
setExpertise(java.lang.String expertise) |
void |
setFirstName(java.lang.String firstName) |
void |
setHomeAddress(java.lang.String homeAddress) |
void |
setHomePhone(java.lang.String homePhone) |
void |
setInitials(java.lang.String initals) |
void |
setJPEGPhoto(java.lang.String imagePath) Stores a specified image into this user profile to serve as the 'original' (unscaled) photo for the user. |
void |
setLastName(java.lang.String lastName) |
void |
setMaidenName(java.lang.String maidenName) |
void |
setManager(java.lang.String manager) |
void |
setMiddleName(java.lang.String midName) |
void |
setName(java.lang.String name) |
void |
setNameSuffix(java.lang.String nameSuf) |
void |
setOrganization(java.lang.String org) |
void |
setOrganizationalUnit(java.lang.String orgUnit) |
void |
setPersonalStatusNote(java.lang.String note) |
void |
setPreferredLanguage(java.lang.String prefLang) |
void |
setTimeZone(java.lang.String tz) |
void |
setTitle(java.lang.String title) |
void |
setWirelessAcctNumber(java.lang.String wirelessActNo) |
void |
updatePhoto(byte[] photo) Clears the original photo that might have been stored in the application for this user profile, updates it with the specified image, and invalidates all cached images for this user profile. |
void |
writeVCardTo(java.io.OutputStream out) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WCUserProfileWrapper(WCUserProfile userProfile)
Method Detail |
---|
public java.lang.String getID() throws ProfileException
getID
in interface WCUserProfile
ProfileException
public java.lang.String getGuid() throws ProfileException
getGuid
in interface WCUserProfile
ProfileException
public java.lang.String getUserName() throws ProfileException
getUserName
in interface WCUserProfile
ProfileException
public java.sql.Timestamp getUpdateDate() throws ProfileException
getUpdateDate
in interface WCUserProfile
ProfileException
public java.lang.String getManager() throws ProfileException
getManager
in interface WCUserProfile
ProfileException
public java.lang.String getManagerDisplayName() throws ProfileException
getManagerDisplayName
in interface WCUserProfile
ProfileException
public java.lang.String getEmployeeNumber() throws ProfileException
getEmployeeNumber
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessPOBox() throws ProfileException
getBusinessPOBox
in interface WCUserProfile
ProfileException
public java.lang.String getTimeZone() throws ProfileException
getTimeZone
in interface WCUserProfile
ProfileException
public java.util.TimeZone getTimeZoneAsObject() throws ProfileException
getTimeZoneAsObject
in interface WCUserProfile
ProfileException
public java.lang.String getDescription() throws ProfileException
getDescription
in interface WCUserProfile
ProfileException
public java.lang.String getDepartment() throws ProfileException
getDepartment
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessPager() throws ProfileException
getBusinessPager
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessCity() throws ProfileException
getBusinessCity
in interface WCUserProfile
ProfileException
public java.lang.String getMaidenName() throws ProfileException
getMaidenName
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessFax() throws ProfileException
getBusinessFax
in interface WCUserProfile
ProfileException
public java.lang.String getDateofHire() throws ProfileException
getDateofHire
in interface WCUserProfile
ProfileException
public java.lang.String getNameSuffix() throws ProfileException
getNameSuffix
in interface WCUserProfile
ProfileException
public java.lang.String getMiddleName() throws ProfileException
getMiddleName
in interface WCUserProfile
ProfileException
public java.lang.String getHomePhone() throws ProfileException
getHomePhone
in interface WCUserProfile
ProfileException
public java.lang.String getEmployeeType() throws ProfileException
getEmployeeType
in interface WCUserProfile
ProfileException
public java.lang.String getLastName() throws ProfileException
getLastName
in interface WCUserProfile
ProfileException
public java.lang.String getDateofBirth() throws ProfileException
getDateofBirth
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessState() throws ProfileException
getBusinessState
in interface WCUserProfile
ProfileException
public java.lang.String getHomeAddress() throws ProfileException
getHomeAddress
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessStreet() throws ProfileException
getBusinessStreet
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessPostalCode() throws ProfileException
getBusinessPostalCode
in interface WCUserProfile
ProfileException
public java.lang.String getInitials() throws ProfileException
getInitials
in interface WCUserProfile
ProfileException
public java.lang.String getFirstName() throws ProfileException
getFirstName
in interface WCUserProfile
ProfileException
public java.lang.String getDefaultGroup() throws ProfileException
getDefaultGroup
in interface WCUserProfile
ProfileException
public java.lang.String getOrganizationalUnit() throws ProfileException
getOrganizationalUnit
in interface WCUserProfile
ProfileException
public java.lang.String getWirelessAcctNumber() throws ProfileException
getWirelessAcctNumber
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessPhone() throws ProfileException
getBusinessPhone
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessCountry() throws ProfileException
getBusinessCountry
in interface WCUserProfile
ProfileException
public java.lang.String getPreferredLanguage() throws ProfileException
getPreferredLanguage
in interface WCUserProfile
ProfileException
public java.lang.String getDisplayName() throws ProfileException
getDisplayName
in interface WCUserProfile
ProfileException
public java.util.Map<java.lang.String,java.lang.String> getLocalizedDisplayNames() throws ProfileException
WCUserProfile
getLocalizedDisplayNames
in interface WCUserProfile
ProfileException
- if any problem occurs retrieving the display namespublic java.lang.String getName() throws ProfileException
getName
in interface WCUserProfile
ProfileException
public java.lang.String getTitle() throws ProfileException
getTitle
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessEmail() throws ProfileException
getBusinessEmail
in interface WCUserProfile
ProfileException
public java.lang.String getOrganization() throws ProfileException
getOrganization
in interface WCUserProfile
ProfileException
public java.lang.String getBusinessMobile() throws ProfileException
getBusinessMobile
in interface WCUserProfile
ProfileException
public java.lang.String getExpertise() throws ProfileException
getExpertise
in interface WCUserProfile
ProfileException
public java.util.List<java.lang.String> getReportees() throws ProfileException
getReportees
in interface WCUserProfile
ProfileException
public java.util.List<Reportee> getReporteeList() throws ProfileException
WCUserProfile
getReporteeList
in interface WCUserProfile
ProfileException
public java.util.List<WCUserProfile> getReporteeProfiles() throws ProfileException
getReporteeProfiles
in interface WCUserProfile
ProfileException
public java.util.List<java.lang.String> getReporteeDisplayNames() throws ProfileException
getReporteeDisplayNames
in interface WCUserProfile
ProfileException
public java.lang.String getPersonalStatusNote() throws ProfileException
getPersonalStatusNote
in interface WCUserProfile
ProfileException
public void setPersonalStatusNote(java.lang.String note) throws ProfileException
setPersonalStatusNote
in interface WCUserProfile
ProfileException
public void setExpertise(java.lang.String expertise) throws ProfileException
setExpertise
in interface WCUserProfile
ProfileException
public void setHomePhone(java.lang.String homePhone)
setHomePhone
in interface WCUserProfile
public void setHomeAddress(java.lang.String homeAddress)
setHomeAddress
in interface WCUserProfile
public void setDescription(java.lang.String aboutMe)
setDescription
in interface WCUserProfile
public void setManager(java.lang.String manager)
setManager
in interface WCUserProfile
public void setEmployeeNumber(java.lang.String empNo)
setEmployeeNumber
in interface WCUserProfile
public void setBusinessPOBox(java.lang.String poBox)
setBusinessPOBox
in interface WCUserProfile
public void setTimeZone(java.lang.String tz)
setTimeZone
in interface WCUserProfile
public void setDepartment(java.lang.String dept)
setDepartment
in interface WCUserProfile
public void setBusinessPager(java.lang.String busPager)
setBusinessPager
in interface WCUserProfile
public void setBusinessCity(java.lang.String busCity)
setBusinessCity
in interface WCUserProfile
public void setMaidenName(java.lang.String maidenName)
setMaidenName
in interface WCUserProfile
public void setBusinessFax(java.lang.String busFax)
setBusinessFax
in interface WCUserProfile
public void setDateofHire(java.lang.String doh)
setDateofHire
in interface WCUserProfile
public void setNameSuffix(java.lang.String nameSuf)
setNameSuffix
in interface WCUserProfile
public void setMiddleName(java.lang.String midName)
setMiddleName
in interface WCUserProfile
public void setEmployeeType(java.lang.String empType)
setEmployeeType
in interface WCUserProfile
public void setLastName(java.lang.String lastName)
setLastName
in interface WCUserProfile
public void setDateofBirth(java.lang.String dob)
setDateofBirth
in interface WCUserProfile
public void setBusinessState(java.lang.String busState)
setBusinessState
in interface WCUserProfile
public void setBusinessStreet(java.lang.String busStreet)
setBusinessStreet
in interface WCUserProfile
public void setBusinessPostalCode(java.lang.String poCode)
setBusinessPostalCode
in interface WCUserProfile
public void setInitials(java.lang.String initals)
setInitials
in interface WCUserProfile
public void setFirstName(java.lang.String firstName)
setFirstName
in interface WCUserProfile
public void setDefaultGroup(java.lang.String defGrp)
setDefaultGroup
in interface WCUserProfile
public void setOrganizationalUnit(java.lang.String orgUnit)
setOrganizationalUnit
in interface WCUserProfile
public void setWirelessAcctNumber(java.lang.String wirelessActNo)
setWirelessAcctNumber
in interface WCUserProfile
public void setBusinessPhone(java.lang.String busPhone)
setBusinessPhone
in interface WCUserProfile
public void setBusinessCountry(java.lang.String busCountry)
setBusinessCountry
in interface WCUserProfile
public void setPreferredLanguage(java.lang.String prefLang)
setPreferredLanguage
in interface WCUserProfile
public void setDisplayName(java.lang.String dispName)
setDisplayName
in interface WCUserProfile
public void setName(java.lang.String name)
setName
in interface WCUserProfile
public void setTitle(java.lang.String title)
setTitle
in interface WCUserProfile
public void setBusinessEmail(java.lang.String email)
setBusinessEmail
in interface WCUserProfile
public void setOrganization(java.lang.String org)
setOrganization
in interface WCUserProfile
public void setBusinessMobile(java.lang.String busMobile)
setBusinessMobile
in interface WCUserProfile
public void save() throws ProfileException
save
in interface WCUserProfile
ProfileException
public byte[] getPhoto(WCUserProfile.PhotoSize size) throws ProfileException
getPhoto
in interface WCUserProfile
size
- the size of the photo to be returnedProfileException
- if any error occurs while retrieving the photopublic byte[] getOriginalPhoto() throws ProfileException
WCUserProfile
getOriginalPhoto
in interface WCUserProfile
null
if none could be foundProfileException
- if any error occurs while retrieving the photoWCUserProfile.setJPEGPhoto(java.lang.String)
public void setJPEGPhoto(java.lang.String imagePath) throws ProfileException
setJPEGPhoto
in interface WCUserProfile
imagePath
- path of an image file to be read and stored as the photoProfileException
- if any errors while storing the photopublic void invalidatePhotoCache() throws ProfileException
invalidatePhotoCache
in interface WCUserProfile
ProfileException
- if any error occurs while clearing the cache.public void updatePhoto(byte[] photo) throws ProfileException
WCUserProfile
A typical use of this method is for sync'ing the application-stored photo for this user with whatever is stored in some other backend. For instance, a consumer can choose to call this method passing in the value returned by WCUserProfile.getOriginalPhoto()
if it determines that photo in the consumer backend has changed since the last time WCUserProfile.getOriginalPhoto()
for this user.
updatePhoto
in interface WCUserProfile
ProfileException
- if any error occurs in the above processpublic java.lang.String getPhotoUID() throws ProfileException
getPhotoUID
in interface WCUserProfile
ProfileException
- if any error occurs while retrieving identifierpublic java.lang.String getBusinessLocationMapURL() throws ProfileException
getBusinessLocationMapURL
in interface WCUserProfile
ProfileException
public void writeVCardTo(java.io.OutputStream out) throws ProfileException
writeVCardTo
in interface WCUserProfile
ProfileException
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |