Class BatchHeader
java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.BatchHeader
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarketplaceBatchHeader
Header containing all relevant process information for batch processing. This includes:
- sequenceId: the sequenceId used for avoiding multiple imports by comparing the sequenceId stored in the database
with the current sequenceId. compare
SequenceIdTranslator - file: the input CSV file that should be imported
- transformedFiles: a list of transformed files to be sent to impex
- catalog: the catalog to use
- language: the language to use
- net: the gross/net setting to use
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTransformedFile(File transformedFile) Adds a transformed file for further processinggetFile()booleanisNet()voidsetCatalog(String catalog) voidsetEncoding(String encoding) voidvoidsetLanguage(String language) voidsetNet(boolean net) voidsetSequenceId(Long sequenceId) voidsetStoreBaseDirectory(String storeBaseDirectory) voidsetTransformedFiles(List<File> transformedFiles) toString()
-
Constructor Details
-
BatchHeader
public BatchHeader()
-
-
Method Details
-
getSequenceId
- Returns:
- the sequenceId
-
setSequenceId
- Parameters:
sequenceId- the sequenceId to set
-
getFile
- Returns:
- the file
-
setFile
- Parameters:
file- the file to set
-
getTransformedFiles
- Returns:
- the transformedFiles
-
addTransformedFile
Adds a transformed file for further processing- Parameters:
transformedFile- transformedFile to add
-
setTransformedFiles
- Parameters:
transformedFiles- the transformedFiles to set
-
getEncoding
- Returns:
- the encoding
-
setEncoding
- Parameters:
encoding- the encoding to set
-
getStoreBaseDirectory
- Returns:
- the storeBaseDirectory
-
setStoreBaseDirectory
- Parameters:
storeBaseDirectory- the storeBaseDirectory to set
-
getCatalog
- Returns:
- the catalog
-
setCatalog
- Parameters:
catalog- the catalog to set
-
getLanguage
- Returns:
- the language
-
setLanguage
- Parameters:
language- the language to set
-
isNet
public boolean isNet()- Returns:
- the net
-
setNet
public void setNet(boolean net) - Parameters:
net- the net to set
-
toString
-