org.bonitasoft.engine.connector
public class ConnectorServiceDecorator extends Object implements org.bonitasoft.engine.core.connector.ConnectorService
| Constructor and Description |
|---|
ConnectorServiceDecorator(org.bonitasoft.engine.core.connector.ConnectorService connectorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect(org.bonitasoft.engine.core.connector.ConnectorResult result) |
Map<String,Object> |
evaluateInputParameters(String connectorId,
Map<String,org.bonitasoft.engine.expression.model.SExpression> parameters,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext sExpressionContext,
Map<String,Map<String,Serializable>> inputValues) |
org.bonitasoft.engine.core.connector.ConnectorResult |
executeConnector(long rootDefinitionId,
org.bonitasoft.engine.core.process.instance.model.SConnectorInstance sConnectorInstance,
ClassLoader classLoader,
Map<String,Object> inputParameters) |
org.bonitasoft.engine.core.connector.ConnectorResult |
executeMutipleEvaluation(long processDefinitionId,
String connectorDefinitionId,
String connectorDefinitionVersion,
Map<String,org.bonitasoft.engine.expression.model.SExpression> connectorInputParameters,
Map<String,Map<String,Serializable>> inputValues,
ClassLoader classLoader,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext sexpContext) |
void |
executeOutputOperation(List<org.bonitasoft.engine.core.operation.model.SOperation> outputs,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext,
org.bonitasoft.engine.core.connector.ConnectorResult connectorOutput) |
org.bonitasoft.engine.core.connector.parser.SConnectorImplementationDescriptor |
getConnectorImplementation(long processDefinitionId,
String connectorId,
String connectorVersion,
long tenantId) |
List<org.bonitasoft.engine.core.connector.parser.SConnectorImplementationDescriptor> |
getConnectorImplementations(long processDefinitionId,
long tenantId,
int fromIndex,
int numberPerPage,
String field,
org.bonitasoft.engine.persistence.OrderByType order) |
Long |
getNumberOfConnectorImplementations(long processDefinitionId,
long tenantId) |
boolean |
loadConnectors(SProcessDefinition sDefinition,
long tenantId) |
void |
setConnectorImplementation(SProcessDefinition sProcessDefinition,
long tenantId,
String connectorId,
String connectorVersion,
byte[] connectorImplementationArchive) |
public ConnectorServiceDecorator(org.bonitasoft.engine.core.connector.ConnectorService connectorService)
public org.bonitasoft.engine.core.connector.ConnectorResult executeMutipleEvaluation(long processDefinitionId,
String connectorDefinitionId,
String connectorDefinitionVersion,
Map<String,org.bonitasoft.engine.expression.model.SExpression> connectorInputParameters,
Map<String,Map<String,Serializable>> inputValues,
ClassLoader classLoader,
org.bonitasoft.engine.core.expression.control.model.SExpressionContext sexpContext)
throws org.bonitasoft.engine.core.connector.exception.SConnectorException
executeMutipleEvaluation in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic boolean loadConnectors(SProcessDefinition sDefinition, long tenantId) throws org.bonitasoft.engine.core.connector.exception.SConnectorException
loadConnectors in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic void setConnectorImplementation(SProcessDefinition sProcessDefinition, long tenantId, String connectorId, String connectorVersion, byte[] connectorImplementationArchive) throws org.bonitasoft.engine.core.connector.exception.SConnectorException, org.bonitasoft.engine.core.connector.exception.SInvalidConnectorImplementationException
setConnectorImplementation in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionorg.bonitasoft.engine.core.connector.exception.SInvalidConnectorImplementationExceptionpublic List<org.bonitasoft.engine.core.connector.parser.SConnectorImplementationDescriptor> getConnectorImplementations(long processDefinitionId, long tenantId, int fromIndex, int numberPerPage, String field, org.bonitasoft.engine.persistence.OrderByType order) throws org.bonitasoft.engine.core.connector.exception.SConnectorException
getConnectorImplementations in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic org.bonitasoft.engine.core.connector.parser.SConnectorImplementationDescriptor getConnectorImplementation(long processDefinitionId,
String connectorId,
String connectorVersion,
long tenantId)
throws org.bonitasoft.engine.core.connector.exception.SConnectorException
getConnectorImplementation in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic Map<String,Object> evaluateInputParameters(String connectorId, Map<String,org.bonitasoft.engine.expression.model.SExpression> parameters, org.bonitasoft.engine.core.expression.control.model.SExpressionContext sExpressionContext, Map<String,Map<String,Serializable>> inputValues) throws org.bonitasoft.engine.expression.exception.SExpressionTypeUnknownException, org.bonitasoft.engine.expression.exception.SExpressionEvaluationException, org.bonitasoft.engine.expression.exception.SExpressionDependencyMissingException, org.bonitasoft.engine.expression.exception.SInvalidExpressionException
evaluateInputParameters in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.expression.exception.SExpressionTypeUnknownExceptionorg.bonitasoft.engine.expression.exception.SExpressionEvaluationExceptionorg.bonitasoft.engine.expression.exception.SExpressionDependencyMissingExceptionorg.bonitasoft.engine.expression.exception.SInvalidExpressionExceptionpublic void executeOutputOperation(List<org.bonitasoft.engine.core.operation.model.SOperation> outputs, org.bonitasoft.engine.core.expression.control.model.SExpressionContext expressionContext, org.bonitasoft.engine.core.connector.ConnectorResult connectorOutput) throws org.bonitasoft.engine.core.connector.exception.SConnectorException
executeOutputOperation in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic org.bonitasoft.engine.core.connector.ConnectorResult executeConnector(long rootDefinitionId,
org.bonitasoft.engine.core.process.instance.model.SConnectorInstance sConnectorInstance,
ClassLoader classLoader,
Map<String,Object> inputParameters)
throws org.bonitasoft.engine.core.connector.exception.SConnectorException
executeConnector in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic void disconnect(org.bonitasoft.engine.core.connector.ConnectorResult result)
throws org.bonitasoft.engine.core.connector.exception.SConnectorException
disconnect in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionpublic Long getNumberOfConnectorImplementations(long processDefinitionId, long tenantId) throws org.bonitasoft.engine.core.connector.exception.SConnectorException
getNumberOfConnectorImplementations in interface org.bonitasoft.engine.core.connector.ConnectorServiceorg.bonitasoft.engine.core.connector.exception.SConnectorExceptionCopyright © 2014 Bonitasoft S.A.. All rights reserved.