Package org.sakaiproject.profile2.logic
Interface ProfileWallLogic
-
@Deprecated public interface ProfileWallLogic
Deprecated.The wall functionality will be removed from Sakai for the 13 release.Logic interface for the Profile2 wall.- Author:
- d.b.robinson@lancaster.ac.uk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanaddNewCommentToWallItem(WallItemComment wallItemComment)Deprecated.Adds a new wall item comment.voidaddNewEventToWall(String event, String userUuid)Deprecated.Notifies a user's connections of an event added to the user's wall.voidaddNewStatusToWall(String status, String userUuid)Deprecated.Notifies a user's connections of a status update added to the user's wall.WallItemgetWallItem(long wallItemId)Deprecated.Returns the specified wall item.WallItemCommentgetWallItemComment(long wallItemCommentId)Deprecated.Returns the specified wall item comment.intgetWallItemsCount(String userUuid)Deprecated.Returns the number of available wall items for the specified user.intgetWallItemsCount(String userUuid, ProfilePrivacy privacy)Deprecated.Returns the number of available wall items for the specified user.List<WallItem>getWallItemsForUser(String userUuid)Deprecated.Returns the wall for the specified user.List<WallItem>getWallItemsForUser(String userUuid, ProfilePrivacy privacy)Deprecated.Returns the wall for the specified user.booleanpostWallItemToWall(String userUuid, WallItem wallItem)Deprecated.Posts the specified wall item to the specified user's wall and the walls of their connections.booleanremoveWallItemFromWall(WallItem wallItem)Deprecated.Removes the specified wall item.
-
-
-
Method Detail
-
addNewEventToWall
void addNewEventToWall(String event, String userUuid)
Deprecated.Notifies a user's connections of an event added to the user's wall. Note: the wall logic is currently responsible for timestamping the event, but we might want to pass the date in this API call instead.- Parameters:
event- the event to add.userUuid- the ID of the user that created the event.
-
addNewStatusToWall
void addNewStatusToWall(String status, String userUuid)
Deprecated.Notifies a user's connections of a status update added to the user's wall. Note: the wall logic is currently responsible for timestamping the status update, but we might want to pass the date in this API call instead.- Parameters:
status- the status to add.userUuid- the ID of the user whose status we're posting.
-
addNewCommentToWallItem
boolean addNewCommentToWallItem(WallItemComment wallItemComment)
Deprecated.Adds a new wall item comment.- Parameters:
wallItemComment- the wall item comment to add.- Returns:
trueif the add is successful andfalseif the add fails.
-
postWallItemToWall
boolean postWallItemToWall(String userUuid, WallItem wallItem)
Deprecated.Posts the specified wall item to the specified user's wall and the walls of their connections.- Parameters:
userUuid- the id of the user whose wall we're posting to.wallItem- the wall item to post.
-
removeWallItemFromWall
boolean removeWallItemFromWall(WallItem wallItem)
Deprecated.Removes the specified wall item.- Parameters:
wallItem- the wall item to remove.
-
getWallItem
WallItem getWallItem(long wallItemId)
Deprecated.Returns the specified wall item.- Parameters:
wallItemId- the wall item to return.- Returns:
- the wall item for the specified id.
-
getWallItemComment
WallItemComment getWallItemComment(long wallItemCommentId)
Deprecated.Returns the specified wall item comment.- Parameters:
wallItemCommentId- the wall item comment to return.- Returns:
- the wall item comment for the specified id.
-
getWallItemsForUser
List<WallItem> getWallItemsForUser(String userUuid)
Deprecated.Returns the wall for the specified user. The privacy record will be looked up.- Parameters:
userUuid- the user to query by.- Returns:
- the wall for the specified user.
-
getWallItemsForUser
List<WallItem> getWallItemsForUser(String userUuid, ProfilePrivacy privacy)
Deprecated.Returns the wall for the specified user. Privacy settings are used to determine if the user is allowed to access the requested wall.- Parameters:
userUuid- the user to query by.privacy- the privacy record for the user.- Returns:
- the wall for the specified user.
-
getWallItemsCount
int getWallItemsCount(String userUuid)
Deprecated.Returns the number of available wall items for the specified user. The privacy record will be looked up.- Parameters:
userUuid- the user to query by.- Returns:
- the number of available wall items for the specified user.
-
getWallItemsCount
int getWallItemsCount(String userUuid, ProfilePrivacy privacy)
Deprecated.Returns the number of available wall items for the specified user. Privacy settings are used to determine if the user is allowed to access the requested wall items.- Parameters:
userUuid- the user to query by.privacy- the privacy record for the user.- Returns:
- the number of available wall items for the specified user.
-
-