Class EBXTransferTemplateSpec

java.lang.Object
com.orchestranetworks.addon.dint.template.TemplateSpec<EBXSourceTable,EBXTargetTable>
com.orchestranetworks.addon.dint.template.EBXTransferTemplateSpec

public final class EBXTransferTemplateSpec extends TemplateSpec<EBXSourceTable,EBXTargetTable>
Template specification for transfer data from a EBX table to another EBX table.
Since:
4.2.0
  • Constructor Details

    • EBXTransferTemplateSpec

      public EBXTransferTemplateSpec(String templateId, com.orchestranetworks.service.Session session)
      Constructs a new instance.
      Parameters:
      templateId - The unique template id.
      session - The session.
      Throws:
      IllegalArgumentException - If any parameter is null.
    • EBXTransferTemplateSpec

      public EBXTransferTemplateSpec(TemplateConfig<EBXSourceTable,EBXTargetTable> templateConfig, com.orchestranetworks.service.Session session)
      Constructs a new instance.
      Parameters:
      templateConfig - The template configuration.
      session - The session.
      Throws:
      IllegalArgumentException - If any parameter is null.
      Since:
      4.5.0
  • Method Details

    • setSourceDataset

      public void setSourceDataset(com.onwbp.adaptation.Adaptation dataset)
      Overwrites the source dataset configured in the template.
      Parameters:
      dataset - the dataset that overwrites the existing dataset.
      Since:
      4.3.2
    • getSourceDataset

      public com.onwbp.adaptation.Adaptation getSourceDataset()
      Returns the source dataset that overwrites the one configured in the template.

      Returns null if not set.

      Since:
      4.3.2
      See Also:
    • addTargetDatasets

      public void addTargetDatasets(List<com.onwbp.adaptation.Adaptation> datasets)
      Adds target datasets to overwrite those configured in the template.
      Parameters:
      datasets - list of datasets that overwrites the existing datasets.
      Since:
      4.3.2
    • getTargetDatasets

      public List<com.onwbp.adaptation.Adaptation> getTargetDatasets()
      Returns the target datasets that overwrite those configured in the template.
      Since:
      4.3.2
      See Also:
    • configureProcedure

      public void configureProcedure(Consumer<com.orchestranetworks.service.ProcedureContext> config)
      Configures the ProcedureContext instance when writing in EBX.
      Since:
      4.5.0
      See Also:
      • Procedure.execute(ProcedureContext)
    • getProcedureConfig

      public Consumer<com.orchestranetworks.service.ProcedureContext> getProcedureConfig()
      Returns the ProcedureContext configuration or null.
      Since:
      4.5.0
      See Also:
      • Procedure.execute(ProcedureContext)
    • setRequest

      public void setRequest(com.orchestranetworks.schema.Path tablePath, com.onwbp.adaptation.Request request)
      Sets the request to filter records for specific table.
      Since:
      6.1.0