Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.bi.rules
Class RulesEngineUtil

java.lang.Object
  extended by com.liferay.portal.kernel.bi.rules.RulesEngineUtil

public class RulesEngineUtil
extends Object


Constructor Summary
RulesEngineUtil()
           
 
Method Summary
static void add(String domainName, RulesResourceRetriever rulesResourceRetriever)
           
static void add(String domainName, RulesResourceRetriever rulesResourceRetriever, ClassLoader... classloaders)
           
static boolean containsRuleDomain(String domainName)
           
static void execute(RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts)
           
static void execute(RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts, ClassLoader... classloaders)
           
static Map<String,?> execute(RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts, Query query)
           
static Map<String,?> execute(RulesResourceRetriever rulesResourceRetriever, List<Fact<?>> facts, Query query, ClassLoader... classloaders)
           
static void execute(String domainName, List<Fact<?>> facts)
           
static void execute(String domainName, List<Fact<?>> facts, ClassLoader... classloaders)
           
static Map<String,?> execute(String domainName, List<Fact<?>> facts, Query query)
           
static Map<String,?> execute(String domainName, List<Fact<?>> facts, Query query, ClassLoader... classloaders)
           
static RulesEngine getRulesEngine()
           
static void remove(String domainName)
           
 void setRulesEngine(RulesEngine rulesEngine)
           
static void update(String domainName, RulesResourceRetriever rulesResourceRetriever)
           
static void update(String domainName, RulesResourceRetriever rulesResourceRetriever, ClassLoader... classloaders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulesEngineUtil

public RulesEngineUtil()
Method Detail

add

public static void add(String domainName,
                       RulesResourceRetriever rulesResourceRetriever)
                throws RulesEngineException
Throws:
RulesEngineException

add

public static void add(String domainName,
                       RulesResourceRetriever rulesResourceRetriever,
                       ClassLoader... classloaders)
                throws RulesEngineException
Throws:
RulesEngineException

containsRuleDomain

public static boolean containsRuleDomain(String domainName)
                                  throws RulesEngineException
Throws:
RulesEngineException

execute

public static void execute(RulesResourceRetriever rulesResourceRetriever,
                           List<Fact<?>> facts)
                    throws RulesEngineException
Throws:
RulesEngineException

execute

public static void execute(RulesResourceRetriever rulesResourceRetriever,
                           List<Fact<?>> facts,
                           ClassLoader... classloaders)
                    throws RulesEngineException
Throws:
RulesEngineException

execute

public static Map<String,?> execute(RulesResourceRetriever rulesResourceRetriever,
                                    List<Fact<?>> facts,
                                    Query query)
                             throws RulesEngineException
Throws:
RulesEngineException

execute

public static Map<String,?> execute(RulesResourceRetriever rulesResourceRetriever,
                                    List<Fact<?>> facts,
                                    Query query,
                                    ClassLoader... classloaders)
                             throws RulesEngineException
Throws:
RulesEngineException

execute

public static void execute(String domainName,
                           List<Fact<?>> facts)
                    throws RulesEngineException
Throws:
RulesEngineException

execute

public static void execute(String domainName,
                           List<Fact<?>> facts,
                           ClassLoader... classloaders)
                    throws RulesEngineException
Throws:
RulesEngineException

execute

public static Map<String,?> execute(String domainName,
                                    List<Fact<?>> facts,
                                    Query query)
                             throws RulesEngineException
Throws:
RulesEngineException

execute

public static Map<String,?> execute(String domainName,
                                    List<Fact<?>> facts,
                                    Query query,
                                    ClassLoader... classloaders)
                             throws RulesEngineException
Throws:
RulesEngineException

getRulesEngine

public static RulesEngine getRulesEngine()

remove

public static void remove(String domainName)
                   throws RulesEngineException
Throws:
RulesEngineException

update

public static void update(String domainName,
                          RulesResourceRetriever rulesResourceRetriever)
                   throws RulesEngineException
Throws:
RulesEngineException

update

public static void update(String domainName,
                          RulesResourceRetriever rulesResourceRetriever,
                          ClassLoader... classloaders)
                   throws RulesEngineException
Throws:
RulesEngineException

setRulesEngine

public void setRulesEngine(RulesEngine rulesEngine)

Liferay 6.1.2-ce-ga3