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
Nested ClassesModifier and TypeClassDescriptionfinal classfinal classfinal class -
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.BaseSDKExtension
LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddParameter(String parameterName, Object parameterValue) voidasyncExecute(int eventType, String eventName, Element customElement) abstract intfinal intexecuteService(Map<String, Object> serviceExecutionContext, Element customServiceElement) protected final IConnectorParentContextSupportfinal ObjectgetParameter(String parameterName) protected final IConnectorParentContextSupportfinal IResourcefinal BaseServiceConnector<T>.ServiceInputsfinal BaseServiceConnector<T>.ServiceOutputsprotected final com.axemble.vdp.resource.classes.ITableCreationfinal voidinit(String serviceConnectorId, Map<String, Serializable> asynchronousOutputs) final voidMethods inherited from class com.axemble.vdoc.sdk.connectors.BaseConnector
evaluateExpressions, evaluateExpressions, evaluateExpressions, getConnection, getConnectionDefinition, init, init, releaseMethods 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()
-