Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.command
Interface CommandFactoryService

    public interface 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)` Deprecated.
`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)`

Method Detail

### newInsert

    Command newInsert(Object object)

### newInsert

    Command newInsert(Object object,
                      String outIdentifier,
                      boolean returnObject,
                      String entryPoint)

### newInsertElements

    Command newInsertElements(Collection objects)

### newInsertElements

    Command newInsertElements(Collection objects,
                              String outIdentifier,
                              boolean returnObject,
                              String entryPoint)

### newRetract

    Command newRetract(FactHandle factHandle)

### newSetter

    Setter newSetter(String accessor,
                     String value)

### newModify

    Command newModify(FactHandle factHandle,
                      List<Setter> setters)

### newFireAllRules

    Command newFireAllRules()

### newFireAllRules

    Command newFireAllRules(int max)

### newFireAllRules

    Command newFireAllRules(String outidentifier)

### newGetObject

    Command newGetObject(FactHandle factHandle)

### newGetObject

    Command newGetObject(FactHandle factHandle,
                         String outIdentifier)

### newGetObjects

    Command newGetObjects()

### newGetObjects

    Command newGetObjects(String outIdentifier)

### newGetObjects

    Command newGetObjects(ObjectFilter filter)

### newGetObjects

    Command newGetObjects(ObjectFilter filter,
                          String outIdentifier)

### newSetGlobal

    Command newSetGlobal(String identifie,
                         Object object)

### newSetGlobal

    Command newSetGlobal(String identifier,
                         Object object,
                         boolean out)

### newSetGlobal

    Command newSetGlobal(String identifier,
                         Object object,
                         String outIdentifier)

### newGetGlobal

    Command newGetGlobal(String identifier)

### newGetGlobal

    Command newGetGlobal(String identifier,
                         String outIdentifier)

### newStartProcess

    Command newStartProcess(String processId)

### newStartProcess

    Command newStartProcess(String processId,
                            Map<String,Object> parameters)

### newSignalEvent

    Command newSignalEvent(String type,
                           Object event)

### newSignalEvent

    Command newSignalEvent(long processInstanceId,
                           String type,
                           Object event)

### newQuery

    Command newQuery(String identifier,
                     String name)

### newQuery

    Command newQuery(String identifier,
                     String name,
                     Object[] arguments)

### newBatchExecution

    BatchExecutionCommand newBatchExecution(List<? extends Command> commands,
                                            String lookup)

### newRegisterWorkItemHandlerCommand

    Command newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
                                              String workItemName)

### newAbortWorkItem

    Command newAbortWorkItem(long workItemId)

### newCompleteWorkItem

    Command newCompleteWorkItem(long workItemId,
                                Map<String,Object> results)

### newKBuilderSetPropertyCommand

    @Deprecated
    Command newKBuilderSetPropertyCommand(String id,
                                                     String name,
                                                     String value)

  Deprecated.

### newKnowledgeBuilderSetPropertyCommand

    Command newKnowledgeBuilderSetPropertyCommand(String id,
                                                  String name,
                                                  String value)

### newNewKnowledgeBuilderConfigurationCommand

    Command newNewKnowledgeBuilderConfigurationCommand(String localId)

### fromExternalFactHandleCommand

    Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm)

### fromExternalFactHandleCommand

    Command<FactHandle> fromExternalFactHandleCommand(String factHandleExternalForm,
                                                      boolean disconnected)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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