Class EBXTransferTemplateSpec
java.lang.Object
com.orchestranetworks.addon.dint.template.TemplateSpec<EBXSourceTable,EBXTargetTable>
com.orchestranetworks.addon.dint.template.EBXTransferTemplateSpec
Template specification for transfer data from a EBX table to another EBX table.
- Since:
- 4.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionEBXTransferTemplateSpec(TemplateConfig<EBXSourceTable, EBXTargetTable> templateConfig, com.orchestranetworks.service.Session session) Constructs a new instance.EBXTransferTemplateSpec(String templateId, com.orchestranetworks.service.Session session) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTargetDatasets(List<com.onwbp.adaptation.Adaptation> datasets) Adds target datasets to overwrite those configured in the template.voidconfigureProcedure(Consumer<com.orchestranetworks.service.ProcedureContext> config) Configures theProcedureContextinstance when writing in EBX.Consumer<com.orchestranetworks.service.ProcedureContext>Returns theProcedureContextconfiguration ornull.com.onwbp.adaptation.AdaptationReturns the source dataset that overwrites the one configured in the template.List<com.onwbp.adaptation.Adaptation>Returns the target datasets that overwrite those configured in the template.voidsetRequest(com.orchestranetworks.schema.Path tablePath, com.onwbp.adaptation.Request request) Sets the request to filter records for specific table.voidsetSourceDataset(com.onwbp.adaptation.Adaptation dataset) Overwrites the source dataset configured in the template.Methods inherited from class com.orchestranetworks.addon.dint.template.TemplateSpec
getSession, getTemplateConfig, getTemplateId
-
Constructor Details
-
EBXTransferTemplateSpec
Constructs a new instance.- Parameters:
templateId- The unique template id.session- The session.- Throws:
IllegalArgumentException- If any parameter isnull.
-
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 isnull.- 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
nullif not set.- Since:
- 4.3.2
- See Also:
-
addTargetDatasets
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
Returns the target datasets that overwrite those configured in the template.- Since:
- 4.3.2
- See Also:
-
configureProcedure
Configures theProcedureContextinstance when writing in EBX.- Since:
- 4.5.0
- See Also:
-
Procedure.execute(ProcedureContext)
-
getProcedureConfig
Returns theProcedureContextconfiguration ornull.- 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
-