public interface ProfileStatusLogic
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearUserStatus(String userId)
Clear user status
|
int |
getStatusUpdatesCount(String userUuid)
Get the number of status updates this user has made.
|
ProfileStatus |
getUserStatus(String userUuid)
Get the status (message and date) for a user
Only returns a status object for those that are up to and including one week old.
|
ProfileStatus |
getUserStatus(String userUuid,
ProfilePrivacy privacy)
Get the status (message and date) for a user
Only returns a status object for those that are up to and including one week old.
|
boolean |
setUserStatus(ProfileStatus profileStatus)
Set user status
|
boolean |
setUserStatus(String userId,
String status)
Set user status
|
ProfileStatus getUserStatus(String userUuid)
Only returns a status object for those that are up to and including one week old. This could be configurable.
The privacy settings will be retrieved, and checked against the current requesting user to see if the status is allowed to be shown.
userUuid - uuid of the user to get their status forProfileStatus getUserStatus(String userUuid, ProfilePrivacy privacy)
Only returns a status object for those that are up to and including one week old. This could be configurable.
The supplied privacy settings will be checked against the current requesting user to see if the status is allowed to be shown.
userUuid - uuid of the user to get their status forprivacy - ProfilePrivacy object for the user.boolean setUserStatus(String userId, String status)
userId - uuid of the userstatus - status to be setboolean setUserStatus(ProfileStatus profileStatus)
profileStatus - ProfileStatus object for the userboolean clearUserStatus(String userId)
userId - uuid of the userint getStatusUpdatesCount(String userUuid)
userUuid - uuid of the userCopyright © 2008–2014 The Sakai Foundation. All rights reserved.