org.sakaiproject.profile2.logic
Class ProfileWallLogicImpl

java.lang.Object
  extended by org.sakaiproject.profile2.logic.ProfileWallLogicImpl
All Implemented Interfaces:
ProfileWallLogic

public class ProfileWallLogicImpl
extends Object
implements ProfileWallLogic

Implementation of ProfileWallLogic API for Profile2 wall.

Author:
d.b.robinson@lancaster.ac.uk

Constructor Summary
ProfileWallLogicImpl()
          Creates a new instance of ProfileWallLogicImpl.
 
Method Summary
 boolean addNewCommentToWallItem(WallItemComment wallItemComment)
          
 void addNewEventToWall(String event, String userUuid)
          
 void addNewStatusToWall(String status, String userUuid)
          
 int getWallItemsCount(String userUuid)
          
 int getWallItemsCount(String userUuid, ProfilePrivacy privacy)
          
 List<WallItem> getWallItemsForUser(String userUuid)
          
 List<WallItem> getWallItemsForUser(String userUuid, ProfilePrivacy privacy)
          
 boolean postWallItemToWall(String userUuid, WallItem wallItem)
          
 boolean removeWallItemFromWall(WallItem wallItem)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileWallLogicImpl

public ProfileWallLogicImpl()
Creates a new instance of ProfileWallLogicImpl.

Method Detail

addNewCommentToWallItem

public boolean addNewCommentToWallItem(WallItemComment wallItemComment)

Specified by:
addNewCommentToWallItem in interface ProfileWallLogic

addNewEventToWall

public void addNewEventToWall(String event,
                              String userUuid)

Specified by:
addNewEventToWall in interface ProfileWallLogic

addNewStatusToWall

public void addNewStatusToWall(String status,
                               String userUuid)

Specified by:
addNewStatusToWall in interface ProfileWallLogic

postWallItemToWall

public boolean postWallItemToWall(String userUuid,
                                  WallItem wallItem)

Specified by:
postWallItemToWall in interface ProfileWallLogic

removeWallItemFromWall

public boolean removeWallItemFromWall(WallItem wallItem)

Specified by:
removeWallItemFromWall in interface ProfileWallLogic

getWallItemsForUser

public List<WallItem> getWallItemsForUser(String userUuid,
                                          ProfilePrivacy privacy)

Specified by:
getWallItemsForUser in interface ProfileWallLogic

getWallItemsForUser

public List<WallItem> getWallItemsForUser(String userUuid)

Specified by:
getWallItemsForUser in interface ProfileWallLogic

getWallItemsCount

public int getWallItemsCount(String userUuid)

Specified by:
getWallItemsCount in interface ProfileWallLogic

getWallItemsCount

public int getWallItemsCount(String userUuid,
                             ProfilePrivacy privacy)

Specified by:
getWallItemsCount in interface ProfileWallLogic


Copyright © 2008-2013 The Sakai Foundation. All Rights Reserved.