|
Clearspace API (1.10.14) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileService
Manages user profile data. Defines methods used to create, access, update, and remove user profile data.
| Method Summary | |
|---|---|
void |
deleteProfileByID(long fieldID)
Removes all user profile data associated with a particular profile field. |
void |
deleteProfileByUserID(long userID)
Removes all user profile data associated with a particular user. |
UserProfile[] |
getProfile(long userID)
Gets a map of user profile values for a particular user mapped to their corresponding ProfileField id. |
byte[] |
getProfileImage(long userID)
Returns the profile image for a user. |
void |
setProfile(long userID,
UserProfile[] profiles)
Sets a array of profile values for a particular user. |
void |
setProfileImage(long userID,
java.lang.String mimeType,
byte[] data)
Set a new profile page image for the specified user. |
| Method Detail |
|---|
UserProfile[] getProfile(long userID)
throws UserNotFoundException
userID - get the profile for the user with this id.
UserNotFoundException - If the user with the specified id does
not exist.
void setProfile(long userID,
UserProfile[] profiles)
throws UserNotFoundException
userID - the user that represents the profile listprofiles - the array of user profile values to save
UserNotFoundException - Thrown if the specified user does not exist.
void deleteProfileByUserID(long userID)
throws UserNotFoundException
userID - remove all user profile data associated with this userID.
UserNotFoundException - Thrown if the user with the specified id
does not exist.void deleteProfileByID(long fieldID)
fieldID - remove all user profile data associated with this profile field id.
void setProfileImage(long userID,
java.lang.String mimeType,
byte[] data)
throws UserNotFoundException,
AttachmentException
userID - The id of the user to add an image for.mimeType - The mime type of the image.data - The content for the image.
AttachmentException - Thrown if the image cannot be added.
UserNotFoundException - Thrown if the user with the specified id
was not exist.
byte[] getProfileImage(long userID)
throws UserNotFoundException
userID - The id of the user to get an image for.
UserNotFoundException - Thrown if the user with the specified id
does not exist.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||