org.drools.command.impl
Class CommandFactoryServiceImpl

java.lang.Object
  extended by org.drools.command.impl.CommandFactoryServiceImpl
All Implemented Interfaces:
org.drools.command.CommandFactoryService

public class CommandFactoryServiceImpl
extends Object
implements org.drools.command.CommandFactoryService


Constructor Summary
CommandFactoryServiceImpl()
           
 
Method Summary
 org.drools.command.Command newAbortWorkItem(long workItemId)
           
 org.drools.command.BatchExecutionCommand newBatchExecution(List<? extends org.drools.command.Command> commands, String lookup)
           
 org.drools.command.Command newCompleteWorkItem(long workItemId, Map<String,Object> results)
           
 org.drools.command.Command newFireAllRules()
           
 org.drools.command.Command newFireAllRules(int max)
           
 org.drools.command.Command newFireAllRules(String outidentifier)
           
 org.drools.command.Command newGetGlobal(String identifier)
           
 org.drools.command.Command newGetGlobal(String identifier, String outIdentifier)
           
 org.drools.command.Command newGetObject(org.drools.runtime.rule.FactHandle factHandle)
           
 org.drools.command.Command newGetObjects()
           
 org.drools.command.Command newGetObjects(org.drools.runtime.ObjectFilter filter)
           
 org.drools.command.Command newInsert(Object object)
           
 org.drools.command.Command newInsert(Object object, String outIdentifier, boolean returnObject, String entryPoint)
           
 org.drools.command.Command newInsertElements(Collection objects)
           
 org.drools.command.Command newInsertElements(Collection objects, String outIdentifier, boolean returnObject, String entryPoint)
           
 org.drools.command.Command newKBuilderSetPropertyCommand(String id, String name, String value)
           
 org.drools.command.Command newModify(org.drools.runtime.rule.FactHandle factHandle, List<org.drools.command.Setter> setters)
           
 org.drools.command.Command newNewKnowledgeBuilderConfigurationCommand(String localId)
           
 org.drools.command.Command newQuery(String identifier, String name)
           
 org.drools.command.Command newQuery(String identifier, String name, Object[] arguments)
           
 org.drools.command.Command newRetract(org.drools.runtime.rule.FactHandle factHandle)
           
 org.drools.command.Command newSetGlobal(String identifier, Object object)
           
 org.drools.command.Command newSetGlobal(String identifier, Object object, boolean out)
           
 org.drools.command.Command newSetGlobal(String identifier, Object object, String outIdentifier)
           
 org.drools.command.Setter newSetter(String accessor, String value)
           
 org.drools.command.Command newSignalEvent(long processInstanceId, String type, Object event)
           
 org.drools.command.Command newSignalEvent(String type, Object event)
           
 org.drools.command.Command newStartProcess(String processId)
           
 org.drools.command.Command newStartProcess(String processId, Map<String,Object> parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandFactoryServiceImpl

public CommandFactoryServiceImpl()
Method Detail

newGetGlobal

public org.drools.command.Command newGetGlobal(String identifier)
Specified by:
newGetGlobal in interface org.drools.command.CommandFactoryService

newGetGlobal

public org.drools.command.Command newGetGlobal(String identifier,
                                               String outIdentifier)
Specified by:
newGetGlobal in interface org.drools.command.CommandFactoryService

newInsertElements

public org.drools.command.Command newInsertElements(Collection objects)
Specified by:
newInsertElements in interface org.drools.command.CommandFactoryService

newInsertElements

public org.drools.command.Command newInsertElements(Collection objects,
                                                    String outIdentifier,
                                                    boolean returnObject,
                                                    String entryPoint)
Specified by:
newInsertElements in interface org.drools.command.CommandFactoryService

newInsert

public org.drools.command.Command newInsert(Object object)
Specified by:
newInsert in interface org.drools.command.CommandFactoryService

newInsert

public org.drools.command.Command newInsert(Object object,
                                            String outIdentifier,
                                            boolean returnObject,
                                            String entryPoint)
Specified by:
newInsert in interface org.drools.command.CommandFactoryService

newRetract

public org.drools.command.Command newRetract(org.drools.runtime.rule.FactHandle factHandle)
Specified by:
newRetract in interface org.drools.command.CommandFactoryService

newSetter

public org.drools.command.Setter newSetter(String accessor,
                                           String value)
Specified by:
newSetter in interface org.drools.command.CommandFactoryService

newModify

public org.drools.command.Command newModify(org.drools.runtime.rule.FactHandle factHandle,
                                            List<org.drools.command.Setter> setters)
Specified by:
newModify in interface org.drools.command.CommandFactoryService

newGetObject

public org.drools.command.Command newGetObject(org.drools.runtime.rule.FactHandle factHandle)
Specified by:
newGetObject in interface org.drools.command.CommandFactoryService

newGetObjects

public org.drools.command.Command newGetObjects()
Specified by:
newGetObjects in interface org.drools.command.CommandFactoryService

newGetObjects

public org.drools.command.Command newGetObjects(org.drools.runtime.ObjectFilter filter)
Specified by:
newGetObjects in interface org.drools.command.CommandFactoryService

newSetGlobal

public org.drools.command.Command newSetGlobal(String identifier,
                                               Object object)
Specified by:
newSetGlobal in interface org.drools.command.CommandFactoryService

newSetGlobal

public org.drools.command.Command newSetGlobal(String identifier,
                                               Object object,
                                               boolean out)
Specified by:
newSetGlobal in interface org.drools.command.CommandFactoryService

newSetGlobal

public org.drools.command.Command newSetGlobal(String identifier,
                                               Object object,
                                               String outIdentifier)
Specified by:
newSetGlobal in interface org.drools.command.CommandFactoryService

newFireAllRules

public org.drools.command.Command newFireAllRules()
Specified by:
newFireAllRules in interface org.drools.command.CommandFactoryService

newFireAllRules

public org.drools.command.Command newFireAllRules(int max)
Specified by:
newFireAllRules in interface org.drools.command.CommandFactoryService

newFireAllRules

public org.drools.command.Command newFireAllRules(String outidentifier)
Specified by:
newFireAllRules in interface org.drools.command.CommandFactoryService

newStartProcess

public org.drools.command.Command newStartProcess(String processId)
Specified by:
newStartProcess in interface org.drools.command.CommandFactoryService

newStartProcess

public org.drools.command.Command newStartProcess(String processId,
                                                  Map<String,Object> parameters)
Specified by:
newStartProcess in interface org.drools.command.CommandFactoryService

newSignalEvent

public org.drools.command.Command newSignalEvent(String type,
                                                 Object event)
Specified by:
newSignalEvent in interface org.drools.command.CommandFactoryService

newSignalEvent

public org.drools.command.Command newSignalEvent(long processInstanceId,
                                                 String type,
                                                 Object event)
Specified by:
newSignalEvent in interface org.drools.command.CommandFactoryService

newCompleteWorkItem

public org.drools.command.Command newCompleteWorkItem(long workItemId,
                                                      Map<String,Object> results)
Specified by:
newCompleteWorkItem in interface org.drools.command.CommandFactoryService

newAbortWorkItem

public org.drools.command.Command newAbortWorkItem(long workItemId)
Specified by:
newAbortWorkItem in interface org.drools.command.CommandFactoryService

newQuery

public org.drools.command.Command newQuery(String identifier,
                                           String name)
Specified by:
newQuery in interface org.drools.command.CommandFactoryService

newQuery

public org.drools.command.Command newQuery(String identifier,
                                           String name,
                                           Object[] arguments)
Specified by:
newQuery in interface org.drools.command.CommandFactoryService

newBatchExecution

public org.drools.command.BatchExecutionCommand newBatchExecution(List<? extends org.drools.command.Command> commands,
                                                                  String lookup)
Specified by:
newBatchExecution in interface org.drools.command.CommandFactoryService

newKBuilderSetPropertyCommand

public org.drools.command.Command newKBuilderSetPropertyCommand(String id,
                                                                String name,
                                                                String value)
Specified by:
newKBuilderSetPropertyCommand in interface org.drools.command.CommandFactoryService

newNewKnowledgeBuilderConfigurationCommand

public org.drools.command.Command newNewKnowledgeBuilderConfigurationCommand(String localId)
Specified by:
newNewKnowledgeBuilderConfigurationCommand in interface org.drools.command.CommandFactoryService


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.