public class Impex
extends java.lang.Object
implements java.io.Serializable
ImpexConverter.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXCEL_IMPORT_DOCUMENT_REF_HEADER_NAME |
| Constructor and Description |
|---|
Impex() |
| Modifier and Type | Method and Description |
|---|---|
protected ImpexForType |
createNewImpex(java.lang.String typeCode)
Creates a new Impex type for given type code.
|
ImpexForType |
findUpdates(java.lang.String typeCode)
Finds
ImpexForType for given type code. |
java.util.List<ImpexForType> |
getImpexes() |
void |
mergeImpex(Impex subImpex)
Merges subImpex into mainImpex.
|
void |
mergeImpex(Impex subImpex,
java.lang.String typeCode,
java.lang.Integer rowIndex)
Merges subImpex to current main impex.
|
protected boolean |
usesDocumentRef(ImpexForType impexForType) |
public static final java.lang.String EXCEL_IMPORT_DOCUMENT_REF_HEADER_NAME
public ImpexForType findUpdates(java.lang.String typeCode)
ImpexForType for given type code. If not found then a new instance of ImpexForType will be
created, automatically added to list of impexes and returned.typeCode - protected ImpexForType createNewImpex(java.lang.String typeCode)
typeCode - ImpexForType for given type codepublic java.util.List<ImpexForType> getImpexes()
protected boolean usesDocumentRef(ImpexForType impexForType)
public void mergeImpex(Impex subImpex, java.lang.String typeCode, java.lang.Integer rowIndex)
subImpex - Impex contains impex's values for current sheet's celltypeCode - for current excel's sheet. It's required in order to recognize whether ImpexForType contains single
value for current typeCode or dependent impex for another type.rowIndex - of currently processing rowCopyright © 2018 SAP SE. All Rights Reserved.