Package com.axemble.vdoc.sdk.connectors
Class BaseServiceConnector<T>
java.lang.Object
com.axemble.vdoc.sdk.BaseSDKExtension
com.axemble.vdoc.sdk.connectors.BaseConnector<T>
com.axemble.vdoc.sdk.connectors.BaseServiceConnector<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractProcessAccessServiceConnector
This base connector class associated with a service.
- Version:
- 1.0, 28/06/2012
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
final class
final class
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.BaseSDKExtension
LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addParameter
(String parameterName, Object parameterValue) void
asyncExecute
(int eventType, String eventName, Element customElement) abstract int
final int
executeService
(Map<String, Object> serviceExecutionContext, Element customServiceElement) protected final IConnectorParentContextSupport
final Object
getParameter
(String parameterName) protected final IConnectorParentContextSupport
final IResource
final BaseServiceConnector<T>.ServiceInputs
final BaseServiceConnector<T>.ServiceOutputs
protected final com.axemble.vdp.resource.classes.ITableCreation
final void
init
(String serviceConnectorId, Map<String, Serializable> asynchronousOutputs) final void
Methods inherited from class com.axemble.vdoc.sdk.connectors.BaseConnector
evaluateExpressions, evaluateExpressions, evaluateExpressions, getConnection, getConnectionDefinition, init, init, release
Methods inherited from class com.axemble.vdoc.sdk.BaseSDKExtension
getDirectoryModule, getLanguage, getPortalModule, getProjectModule, getStaticString, getStaticString, getWorkflowModule, initialize
-
Field Details
-
serviceDefinition
-
inputs
-
outputs
-
serviceExecutionContext
-
internalExecutionContext
-
asynchronousOutputs
-
-
Constructor Details
-
BaseServiceConnector
public BaseServiceConnector()
-
-
Method Details
-
init
-
init
-
executeService
public final int executeService(Map<String, Object> serviceExecutionContext, Element customServiceElement) throws Exception- Throws:
Exception
-
execute
public abstract int execute(IContext context, int eventType, String eventName, Element customElement) throws Exception - Throws:
Exception
-
asyncExecute
-
getServiceOutputs
-
getServiceAsynchronousOutputs
-
getServiceInputs
-
getServiceDefinition
-
addParameter
-
getParameter
-
getResource
-
getParentContext
-
getAlternateParentContext
-
getTableCreation
protected final com.axemble.vdp.resource.classes.ITableCreation getTableCreation()
-