|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileWallLogic
Logic interface for the Profile2 wall.
| Method Summary | |
|---|---|
boolean |
addNewCommentToWallItem(WallItemComment wallItemComment)
Adds a new wall item comment. |
void |
addNewEventToWall(String event,
String userUuid)
Notifies a user's connections of an event added to the user's wall. |
void |
addNewStatusToWall(String status,
String userUuid)
Notifies a user's connections of a status update added to the user's wall. |
int |
getWallItemsCount(String userUuid)
Returns the number of available wall items for the specified user. |
int |
getWallItemsCount(String userUuid,
ProfilePrivacy privacy)
Returns the number of available wall items for the specified user. |
List<WallItem> |
getWallItemsForUser(String userUuid)
Returns the wall for the specified user. |
List<WallItem> |
getWallItemsForUser(String userUuid,
ProfilePrivacy privacy)
Returns the wall for the specified user. |
boolean |
postWallItemToWall(String userUuid,
WallItem wallItem)
Posts the specified wall item to the specified user's wall and the walls of their connections. |
boolean |
removeWallItemFromWall(WallItem wallItem)
Removes the specified wall item. |
| Method Detail |
|---|
void addNewEventToWall(String event,
String userUuid)
event - the event to add.userUuid - the ID of the user that created the event.
void addNewStatusToWall(String status,
String userUuid)
status - the status to add.userUuid - the ID of the user whose status we're posting.boolean addNewCommentToWallItem(WallItemComment wallItemComment)
wallItemComment - the wall item comment to add.
true if the add is successful and
false if the add fails.
boolean postWallItemToWall(String userUuid,
WallItem wallItem)
userUuid - the id of the user whose wall we're posting to.wallItem - the wall item to post.boolean removeWallItemFromWall(WallItem wallItem)
wallItem - the wall item to remove.List<WallItem> getWallItemsForUser(String userUuid)
userUuid - the user to query by.
List<WallItem> getWallItemsForUser(String userUuid,
ProfilePrivacy privacy)
userUuid - the user to query by.privacy - the privacy record for the user.
int getWallItemsCount(String userUuid)
userUuid - the user to query by.
int getWallItemsCount(String userUuid,
ProfilePrivacy privacy)
userUuid - the user to query by.privacy - the privacy record for the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||