public final class ExcelImportSpec extends ServiceSpec
Constructor and Description |
---|
ExcelImportSpec(com.orchestranetworks.instance.HomeKey igovRepository,
com.onwbp.adaptation.PrimaryKey dataModel,
File inputFile,
boolean isImportRule,
com.orchestranetworks.service.Session session)
Creates a specification for the Import Excel service execution.
|
Modifier and Type | Method and Description |
---|---|
File |
getInputFile()
Returns the input Excel file.
|
boolean |
isImportRule()
Returns
true if it requires importing Rule. |
getDataModel, getIGovRepository, getSession
public ExcelImportSpec(com.orchestranetworks.instance.HomeKey igovRepository, com.onwbp.adaptation.PrimaryKey dataModel, File inputFile, boolean isImportRule, com.orchestranetworks.service.Session session)
igovRepository
- The HomeKey
of the {addon.label} data space where you want to run the service.dataModel
- The PrimaryKey
of the data model record in which this service will be triggered.inputFile
- The Excel file to be imported.isImportRule
- Import Rule records in the Rule sheet if the value is true
.session
- The Session
which executes this services.public boolean isImportRule()
true
if it requires importing Rule. Otherwise return false
.public File getInputFile()