Class BaseConnection<T>

java.lang.Object
com.axemble.vdoc.sdk.BaseSDKExtension
com.axemble.vdoc.sdk.connectors.BaseConnection<T>
All Implemented Interfaces:
com.axemble.vdoc.connector.definitions.SDKConnection<T>, Serializable

public abstract class BaseConnection<T> extends BaseSDKExtension implements com.axemble.vdoc.connector.definitions.SDKConnection<T>
This base connection class.
See Also:
  • Constructor Details

    • BaseConnection

      public BaseConnection()
  • Method Details

    • validate

      public abstract boolean validate() throws Exception
      Specified by:
      validate in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
      Throws:
      Exception
    • init

      public void init()
      Specified by:
      init in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
    • getSuccessMessage

      public String getSuccessMessage(String language)
      Specified by:
      getSuccessMessage in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
    • getErrorMessage

      public String getErrorMessage(String language)
      Specified by:
      getErrorMessage in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
    • getConnectionDefinition

      public final IConnectionDefinition<T> getConnectionDefinition()
      Specified by:
      getConnectionDefinition in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
    • setConnectionDefinition

      public final void setConnectionDefinition(com.axemble.vdoc.connector.domain.ConnectionDefinition<T> connectionDefinition)
      Specified by:
      setConnectionDefinition in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>
    • getConnection

      public abstract T getConnection()
      Specified by:
      getConnection in interface com.axemble.vdoc.connector.definitions.SDKConnection<T>