info.magnolia.ui.admincentral.shellapp.pulse.activity
Interface ActivityStreamManager


public interface ActivityStreamManager

Manager for the users activity streams. need persistence need to clean up old entries can you post to more than one user? all? by group?


Method Summary
 List<ActivityStreamEntry> getActivityStreamForUser(String userId)
          Returns the activity stream for a user, entries sorted most recent first.
 void postEntry(String userId, ActivityStreamEntry entry)
          Adds the entry to the users activity stream, assigns an id and records the timestamp, any values for these fields already in the instance is ignored.
 

Method Detail

getActivityStreamForUser

List<ActivityStreamEntry> getActivityStreamForUser(String userId)
Returns the activity stream for a user, entries sorted most recent first.


postEntry

void postEntry(String userId,
               ActivityStreamEntry entry)
Adds the entry to the users activity stream, assigns an id and records the timestamp, any values for these fields already in the instance is ignored.



Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.