KIE Uberfire Social Activities Backend 6.2.0.CR4

org.kie.uberfire.social.activities.drools
Class SocialTimelineRulesQuery

java.lang.Object
  extended by org.kie.uberfire.social.activities.drools.SocialTimelineRulesQuery
All Implemented Interfaces:
SocialTimelineRulesQueryAPI

@ApplicationScoped
public class SocialTimelineRulesQuery
extends Object
implements SocialTimelineRulesQueryAPI


Constructor Summary
SocialTimelineRulesQuery()
           
 
Method Summary
 List<SocialActivitiesEvent> executeAllRules()
           
 List<SocialActivitiesEvent> executeSpecificRule(Map<String,String> globals, String drlName, String maxResults)
           
 List<SocialActivitiesEvent> getAllCached()
           
 List<SocialActivitiesEvent> getNEventsFromEachType(int numberOfEvents, String... typeNames)
           
 List<SocialActivitiesEvent> getTypeCached(String... typeNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialTimelineRulesQuery

public SocialTimelineRulesQuery()
Method Detail

executeAllRules

public List<SocialActivitiesEvent> executeAllRules()
Specified by:
executeAllRules in interface SocialTimelineRulesQueryAPI

executeSpecificRule

public List<SocialActivitiesEvent> executeSpecificRule(Map<String,String> globals,
                                                       String drlName,
                                                       String maxResults)
Specified by:
executeSpecificRule in interface SocialTimelineRulesQueryAPI

getAllCached

public List<SocialActivitiesEvent> getAllCached()
Specified by:
getAllCached in interface SocialTimelineRulesQueryAPI

getTypeCached

public List<SocialActivitiesEvent> getTypeCached(String... typeNames)
Specified by:
getTypeCached in interface SocialTimelineRulesQueryAPI

getNEventsFromEachType

public List<SocialActivitiesEvent> getNEventsFromEachType(int numberOfEvents,
                                                          String... typeNames)
Specified by:
getNEventsFromEachType in interface SocialTimelineRulesQueryAPI

KIE Uberfire Social Activities Backend 6.2.0.CR4

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