KIE Uberfire Social Activities Backend 6.2.0.CR4

org.kie.uberfire.social.activities.repository
Class SocialTimeLineRepository

java.lang.Object
  extended by org.kie.uberfire.social.activities.repository.SocialTimeLineRepository
All Implemented Interfaces:
SocialTimeLineRepositoryAPI

@ApplicationScoped
public class SocialTimeLineRepository
extends Object
implements SocialTimeLineRepositoryAPI


Constructor Summary
SocialTimeLineRepository()
           
 
Method Summary
 List<SocialActivitiesEvent> getLastEventTimeline(SocialAdapter type, Map commandsMap)
           
 List<SocialActivitiesEvent> getLastEventTimeline(String adapterName)
           
 List<SocialActivitiesEvent> getLastEventTimeline(String adapterName, Map commandsMap)
           
 List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user)
           
 List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user, Map commandsMap)
           
 List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user, SocialPredicate<SocialActivitiesEvent> predicate)
           
 Integer numberOfPages(SocialEventType type)
           
 void saveTypeEvent(SocialActivitiesEvent event)
           
 void saveUserEvent(SocialActivitiesEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialTimeLineRepository

public SocialTimeLineRepository()
Method Detail

getLastEventTimeline

public List<SocialActivitiesEvent> getLastEventTimeline(String adapterName)
Specified by:
getLastEventTimeline in interface SocialTimeLineRepositoryAPI

getLastEventTimeline

public List<SocialActivitiesEvent> getLastEventTimeline(String adapterName,
                                                        Map commandsMap)
Specified by:
getLastEventTimeline in interface SocialTimeLineRepositoryAPI

getLastEventTimeline

public List<SocialActivitiesEvent> getLastEventTimeline(SocialAdapter type,
                                                        Map commandsMap)
Specified by:
getLastEventTimeline in interface SocialTimeLineRepositoryAPI

saveTypeEvent

public void saveTypeEvent(SocialActivitiesEvent event)
Specified by:
saveTypeEvent in interface SocialTimeLineRepositoryAPI

saveUserEvent

public void saveUserEvent(SocialActivitiesEvent event)
Specified by:
saveUserEvent in interface SocialTimeLineRepositoryAPI

numberOfPages

public Integer numberOfPages(SocialEventType type)
Specified by:
numberOfPages in interface SocialTimeLineRepositoryAPI

getLastUserTimeline

public List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user)
Specified by:
getLastUserTimeline in interface SocialTimeLineRepositoryAPI

getLastUserTimeline

public List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user,
                                                       SocialPredicate<SocialActivitiesEvent> predicate)
Specified by:
getLastUserTimeline in interface SocialTimeLineRepositoryAPI

getLastUserTimeline

public List<SocialActivitiesEvent> getLastUserTimeline(SocialUser user,
                                                       Map commandsMap)
Specified by:
getLastUserTimeline in interface SocialTimeLineRepositoryAPI

KIE Uberfire Social Activities Backend 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.