org.drools.command.impl
Class CommandFactoryServiceImpl
java.lang.Object
org.drools.command.impl.CommandFactoryServiceImpl
- All Implemented Interfaces:
- CommandFactoryService
public class CommandFactoryServiceImpl
- extends Object
- implements CommandFactoryService
|
Method Summary |
Command<FactHandle> |
fromExternalFactHandleCommand(String factHandleExternalForm)
|
Command<FactHandle> |
fromExternalFactHandleCommand(String factHandleExternalForm,
boolean disconnected)
|
Command |
newAbortWorkItem(long workItemId)
|
BatchExecutionCommand |
newBatchExecution(List<? extends Command> commands,
String lookup)
|
Command |
newCompleteWorkItem(long workItemId,
Map<String,Object> results)
|
Command |
newFireAllRules()
|
Command |
newFireAllRules(int max)
|
Command |
newFireAllRules(String outidentifier)
|
Command |
newGetGlobal(String identifier)
|
Command |
newGetGlobal(String identifier,
String outIdentifier)
|
Command |
newGetObject(FactHandle factHandle)
|
Command |
newGetObject(FactHandle factHandle,
String outIdentifier)
|
Command |
newGetObjects()
|
Command |
newGetObjects(ObjectFilter filter)
|
Command |
newGetObjects(ObjectFilter filter,
String outIdentifier)
|
Command |
newGetObjects(String outIdentifier)
|
Command |
newInsert(Object object)
|
Command |
newInsert(Object object,
String outIdentifier,
boolean returnObject,
String entryPoint)
|
Command |
newInsertElements(Collection objects)
|
Command |
newInsertElements(Collection objects,
String outIdentifier,
boolean returnObject,
String entryPoint)
|
Command |
newKBuilderSetPropertyCommand(String id,
String name,
String value)
|
Command |
newKnowledgeBuilderSetPropertyCommand(String id,
String name,
String value)
|
Command |
newModify(FactHandle factHandle,
List<Setter> setters)
|
Command |
newNewKnowledgeBuilderConfigurationCommand(String localId)
|
Command |
newQuery(String identifier,
String name)
|
Command |
newQuery(String identifier,
String name,
Object[] arguments)
|
Command |
newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
String workItemName)
|
Command |
newRetract(FactHandle factHandle)
|
Command |
newSetGlobal(String identifie,
Object object)
|
Command |
newSetGlobal(String identifier,
Object object,
boolean out)
|
Command |
newSetGlobal(String identifier,
Object object,
String outIdentifier)
|
Setter |
newSetter(String accessor,
String value)
|
Command |
newSignalEvent(long processInstanceId,
String type,
Object event)
|
Command |
newSignalEvent(String type,
Object event)
|
Command |
newStartProcess(String processId)
|
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 |
CommandFactoryServiceImpl
public CommandFactoryServiceImpl()
newInsert
public Command newInsert(Object object)
- Specified by:
newInsert in interface CommandFactoryService
newInsert
public Command newInsert(Object object,
String outIdentifier,
boolean returnObject,
String entryPoint)
- Specified by:
newInsert in interface CommandFactoryService
newInsertElements
public Command newInsertElements(Collection objects)
- Specified by:
newInsertElements in interface CommandFactoryService
newInsertElements
public Command newInsertElements(Collection objects,
String outIdentifier,
boolean returnObject,
String entryPoint)
- Specified by:
newInsertElements in interface CommandFactoryService
newRetract
public Command newRetract(FactHandle factHandle)
- Specified by:
newRetract in interface CommandFactoryService
newSetter
public Setter newSetter(String accessor,
String value)
- Specified by:
newSetter in interface CommandFactoryService
newModify
public Command newModify(FactHandle factHandle,
List<Setter> setters)
- Specified by:
newModify in interface CommandFactoryService
newFireAllRules
public Command newFireAllRules()
- Specified by:
newFireAllRules in interface CommandFactoryService
newFireAllRules
public Command newFireAllRules(int max)
- Specified by:
newFireAllRules in interface CommandFactoryService
newFireAllRules
public Command newFireAllRules(String outidentifier)
- Specified by:
newFireAllRules in interface CommandFactoryService
newGetObject
public Command newGetObject(FactHandle factHandle)
- Specified by:
newGetObject in interface CommandFactoryService
newGetObject
public Command newGetObject(FactHandle factHandle,
String outIdentifier)
- Specified by:
newGetObject in interface CommandFactoryService
newGetObjects
public Command newGetObjects()
- Specified by:
newGetObjects in interface CommandFactoryService
newGetObjects
public Command newGetObjects(String outIdentifier)
- Specified by:
newGetObjects in interface CommandFactoryService
newGetObjects
public Command newGetObjects(ObjectFilter filter)
- Specified by:
newGetObjects in interface CommandFactoryService
newGetObjects
public Command newGetObjects(ObjectFilter filter,
String outIdentifier)
- Specified by:
newGetObjects in interface CommandFactoryService
newSetGlobal
public Command newSetGlobal(String identifie,
Object object)
- Specified by:
newSetGlobal in interface CommandFactoryService
newSetGlobal
public Command newSetGlobal(String identifier,
Object object,
boolean out)
- Specified by:
newSetGlobal in interface CommandFactoryService
newSetGlobal
public Command newSetGlobal(String identifier,
Object object,
String outIdentifier)
- Specified by:
newSetGlobal in interface CommandFactoryService
newGetGlobal
public Command newGetGlobal(String identifier)
- Specified by:
newGetGlobal in interface CommandFactoryService
newGetGlobal
public Command newGetGlobal(String identifier,
String outIdentifier)
- Specified by:
newGetGlobal in interface CommandFactoryService
newStartProcess
public Command newStartProcess(String processId)
- Specified by:
newStartProcess in interface CommandFactoryService
newStartProcess
public Command newStartProcess(String processId,
Map<String,Object> parameters)
- Specified by:
newStartProcess in interface CommandFactoryService
newSignalEvent
public Command newSignalEvent(String type,
Object event)
- Specified by:
newSignalEvent in interface CommandFactoryService
newSignalEvent
public Command newSignalEvent(long processInstanceId,
String type,
Object event)
- Specified by:
newSignalEvent in interface CommandFactoryService
newQuery
public Command newQuery(String identifier,
String name)
- Specified by:
newQuery in interface CommandFactoryService
newQuery
public Command newQuery(String identifier,
String name,
Object[] arguments)
- Specified by:
newQuery in interface CommandFactoryService
newBatchExecution
public BatchExecutionCommand newBatchExecution(List<? extends Command> commands,
String lookup)
- Specified by:
newBatchExecution in interface CommandFactoryService
newRegisterWorkItemHandlerCommand
public Command newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
String workItemName)
- Specified by:
newRegisterWorkItemHandlerCommand in interface CommandFactoryService
newAbortWorkItem
public Command newAbortWorkItem(long workItemId)
- Specified by:
newAbortWorkItem in interface CommandFactoryService
newCompleteWorkItem
public Command newCompleteWorkItem(long workItemId,
Map<String,Object> results)
- Specified by:
newCompleteWorkItem in interface CommandFactoryService
newKBuilderSetPropertyCommand
public Command newKBuilderSetPropertyCommand(String id,
String name,
String value)
- Specified by:
newKBuilderSetPropertyCommand in interface CommandFactoryService
newKnowledgeBuilderSetPropertyCommand
public Command newKnowledgeBuilderSetPropertyCommand(String id,
String name,
String value)
- Specified by:
newKnowledgeBuilderSetPropertyCommand in interface CommandFactoryService
newNewKnowledgeBuilderConfigurationCommand
public Command newNewKnowledgeBuilderConfigurationCommand(String localId)
- Specified by:
newNewKnowledgeBuilderConfigurationCommand in interface CommandFactoryService
fromExternalFactHandleCommand
public Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm)
- Specified by:
fromExternalFactHandleCommand in interface CommandFactoryService
fromExternalFactHandleCommand
public Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm,
boolean disconnected)
- Specified by:
fromExternalFactHandleCommand in interface CommandFactoryService
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.