public class InvokeServiceCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<com.fasterxml.jackson.databind.node.ObjectNode>
Modifier and Type | Field and Description |
---|---|
protected ServiceInvocationContext |
context |
protected String |
operationKey |
protected String |
serviceKey |
Constructor and Description |
---|
InvokeServiceCmd(String serviceKey,
String operationKey,
ServiceInvocationContext context) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected ServiceDefinitionEntity |
getServiceDefinition(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected ServiceDefinitionModel |
getServiceDefinitionModel(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
ServiceDefinitionEntity serviceDefinition) |
protected ServiceInvoker |
getServiceInvoker(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
ServiceDefinitionModel serviceDefinitionModel) |
protected ServiceOperation |
getServiceOperation(ServiceDefinitionModel serviceDefinitionModel) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
invokeService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
ServiceDefinitionModel serviceDefinitionModel,
ServiceOperation serviceOperation,
ServiceInvoker serviceInvoker) |
protected void |
validateParameters() |
protected String serviceKey
protected String operationKey
protected ServiceInvocationContext context
public InvokeServiceCmd(String serviceKey, String operationKey, ServiceInvocationContext context)
public com.fasterxml.jackson.databind.node.ObjectNode execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute
in interface org.flowable.common.engine.impl.interceptor.Command<com.fasterxml.jackson.databind.node.ObjectNode>
protected void validateParameters()
protected ServiceDefinitionEntity getServiceDefinition(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected ServiceDefinitionModel getServiceDefinitionModel(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ServiceDefinitionEntity serviceDefinition)
protected ServiceInvoker getServiceInvoker(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ServiceDefinitionModel serviceDefinitionModel)
protected ServiceOperation getServiceOperation(ServiceDefinitionModel serviceDefinitionModel)
protected com.fasterxml.jackson.databind.node.ObjectNode invokeService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation, ServiceInvoker serviceInvoker)
Copyright © 2019. All rights reserved.