Class BaseConnector<T>

java.lang.Object
com.axemble.vdoc.sdk.BaseSDKExtension
com.axemble.vdoc.sdk.connectors.BaseConnector<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BaseServiceConnector, BaseTreatmentConnector

public abstract class BaseConnector<T> extends BaseSDKExtension
This base connector class.
Version:
1.0, 18/03/2012
Author:
vlygeros
See Also:
  • Constructor Details

    • BaseConnector

      public BaseConnector()
  • Method Details

    • init

      public void init()
    • release

      public void release()
    • init

      public final void init(com.axemble.vdoc.connector.domain.ConnectionDefinition<T> connectionDefinition)
    • getConnection

      public final T getConnection()
    • getConnectionDefinition

      public final IConnectionDefinition<T> getConnectionDefinition()
    • evaluateExpressions

      protected final String evaluateExpressions(String formula, IContext context, IResource resource)
      Evaluate expressions in formula (ex : ${iUser.login})
      Parameters:
      formula - Text with expressions to evaluate
      context - User context
      resource - Current resource
      Returns:
      formula with evaluated expressions
    • evaluateExpressions

      protected final String evaluateExpressions(String formula, IContext context, IResource resource, String language)
      Evaluate expressions in formula (ex : ${iUser.login})
      Parameters:
      formula - Text with expressions to evaluate
      context - User context
      resource - Current resource
      language - language to evaluate expressions
      Returns:
      formula with evaluated expressions
    • evaluateExpressions

      protected final String evaluateExpressions(String formula, IContext context, IResource resource, String language, boolean isHtmlString)
      Evaluate expressions in formula (ex : ${iUser.login})
      Parameters:
      formula - Text with expressions to evaluate
      context - User context
      resource - Current resource
      language - language to evaluate expressions
      Returns:
      formula with evaluated expressions