public class ImpExMediaModel extends MediaModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
COMMENTCHARACTER
Generated constant - Attribute key of
ImpExMedia.commentCharacter attribute defined at extension impex. |
static java.lang.String |
ENCODING
Generated constant - Attribute key of
ImpExMedia.encoding attribute defined at extension impex. |
static java.lang.String |
EXTRACTIONID
Generated constant - Attribute key of
ImpExMedia.extractionId attribute defined at extension impex. |
static java.lang.String |
FIELDSEPARATOR
Generated constant - Attribute key of
ImpExMedia.fieldSeparator attribute defined at extension impex. |
static java.lang.String |
LINESTOSKIP
Generated constant - Attribute key of
ImpExMedia.linesToSkip attribute defined at extension impex. |
static java.lang.String |
PREVIEW
Generated constant - Attribute key of
ImpExMedia.preview attribute defined at extension impex. |
static java.lang.String |
QUOTECHARACTER
Generated constant - Attribute key of
ImpExMedia.quoteCharacter attribute defined at extension impex. |
static java.lang.String |
REMOVEONSUCCESS
Generated constant - Attribute key of
ImpExMedia.removeOnSuccess attribute defined at extension impex. |
static java.lang.String |
ZIPENTRY
Generated constant - Attribute key of
ImpExMedia.zipentry attribute defined at extension impex. |
_CATEGORYMEDIARELATION, _CONVERTEDMEDIASRELATION, _MEDIACONTAINER2MEDIAREL, ALTTEXT, CATALOG, CATALOGVERSION, CODE, CONVERTEDMEDIAS, DENIEDPRINCIPALS, DERIVEDMEDIAS, DESCRIPTION, DOWNLOADURL, FOLDER, FOREIGNDATAOWNERS, INTERNALURL, MEDIACONTAINER, MEDIAFORMAT, METADATA, METADATADATAPK, ORIGINAL, ORIGINALDATAPK, PERMITTEDPRINCIPALS, REMOVABLE, SUBFOLDERPATH, SUPERCATEGORIES, URL, URL2DATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ImpExMediaModel()
Generated constructor - Default constructor for generic creation.
|
ImpExMediaModel(CatalogVersionModel _catalogVersion,
java.lang.String _code,
int _linesToSkip,
boolean _removeOnSuccess)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ImpExMediaModel(CatalogVersionModel _catalogVersion,
java.lang.String _code,
java.lang.String _extractionId,
int _linesToSkip,
ItemModel _owner,
boolean _removeOnSuccess)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ImpExMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Character |
getCommentCharacter()
Generated method - Getter of the
ImpExMedia.commentCharacter attribute defined at extension impex. |
EncodingEnum |
getEncoding()
Generated method - Getter of the
ImpExMedia.encoding attribute defined at extension impex. |
java.lang.String |
getExtractionId()
Generated method - Getter of the
ImpExMedia.extractionId attribute defined at extension impex. |
java.lang.Character |
getFieldSeparator()
Generated method - Getter of the
ImpExMedia.fieldSeparator attribute defined at extension impex. |
int |
getLinesToSkip()
Generated method - Getter of the
ImpExMedia.linesToSkip attribute defined at extension impex. |
java.lang.String |
getPreview()
Generated method - Getter of the
ImpExMedia.preview attribute defined at extension impex. |
java.lang.Character |
getQuoteCharacter()
Generated method - Getter of the
ImpExMedia.quoteCharacter attribute defined at extension impex. |
java.lang.String |
getZipentry()
Generated method - Getter of the
ImpExMedia.zipentry attribute defined at extension impex. |
boolean |
isRemoveOnSuccess()
Generated method - Getter of the
ImpExMedia.removeOnSuccess attribute defined at extension impex. |
void |
setCommentCharacter(java.lang.Character value)
Generated method - Setter of
ImpExMedia.commentCharacter attribute defined at extension impex. |
void |
setEncoding(EncodingEnum value)
Generated method - Setter of
ImpExMedia.encoding attribute defined at extension impex. |
void |
setExtractionId(java.lang.String value)
Generated method - Initial setter of
ImpExMedia.extractionId attribute defined at extension impex. |
void |
setFieldSeparator(java.lang.Character value)
Generated method - Setter of
ImpExMedia.fieldSeparator attribute defined at extension impex. |
void |
setLinesToSkip(int value)
Generated method - Setter of
ImpExMedia.linesToSkip attribute defined at extension impex. |
void |
setQuoteCharacter(java.lang.Character value)
Generated method - Setter of
ImpExMedia.quoteCharacter attribute defined at extension impex. |
void |
setRemoveOnSuccess(boolean value)
Generated method - Setter of
ImpExMedia.removeOnSuccess attribute defined at extension impex. |
void |
setZipentry(java.lang.String value)
Generated method - Setter of
ImpExMedia.zipentry attribute defined at extension impex. |
getAlttext, getAltText, getCatalogVersion, getCode, getConvertedMedias, getDeniedPrincipals, getDerivedMedias, getDescription, getDownloadurl, getDownloadURL, getFolder, getForeignDataOwners, getInternalURL, getMediaContainer, getMediaFormat, getMetaData, getMetaDataDataPK, getOriginal, getOriginalDataPK, getPermittedPrincipals, getRemovable, getSubFolderPath, getSupercategories, getUrl, getURL, getUrl2, getURL2, setAlttext, setAltText, setCatalogVersion, setCode, setConvertedMedias, setDeniedPrincipals, setDerivedMedias, setDescription, setFolder, setInternalURL, setMediaContainer, setMediaFormat, setMetaData, setMetaDataDataPK, setOriginal, setOriginalDataPK, setPermittedPrincipals, setRemovable, setSubFolderPath, setSupercategories, setUrl, setURLgetDataPK, getLocation, getLocationHash, getMime, getRealfilename, getRealFileName, getSize, setDataPK, setLocation, setLocationHash, setMime, setRealfilename, setRealFileName, setSizegetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String FIELDSEPARATOR
ImpExMedia.fieldSeparator attribute defined at extension impex.public static final java.lang.String QUOTECHARACTER
ImpExMedia.quoteCharacter attribute defined at extension impex.public static final java.lang.String COMMENTCHARACTER
ImpExMedia.commentCharacter attribute defined at extension impex.public static final java.lang.String ENCODING
ImpExMedia.encoding attribute defined at extension impex.public static final java.lang.String LINESTOSKIP
ImpExMedia.linesToSkip attribute defined at extension impex.public static final java.lang.String REMOVEONSUCCESS
ImpExMedia.removeOnSuccess attribute defined at extension impex.public static final java.lang.String ZIPENTRY
ImpExMedia.zipentry attribute defined at extension impex.public static final java.lang.String PREVIEW
ImpExMedia.preview attribute defined at extension impex.public static final java.lang.String EXTRACTIONID
ImpExMedia.extractionId attribute defined at extension impex.public ImpExMediaModel()
public ImpExMediaModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, int _linesToSkip, boolean _removeOnSuccess)
_catalogVersion - initial attribute declared by type ImpExMedia at extension catalog_code - initial attribute declared by type Media at extension core_linesToSkip - initial attribute declared by type ImpExMedia at extension impex_removeOnSuccess - initial attribute declared by type ImpExMedia at extension impex@Deprecated public ImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _extractionId, int _linesToSkip, ItemModel _owner, boolean _removeOnSuccess)
_catalogVersion - initial attribute declared by type ImpExMedia at extension catalog_code - initial attribute declared by type Media at extension core_extractionId - initial attribute declared by type ImpExMedia at extension impex_linesToSkip - initial attribute declared by type ImpExMedia at extension impex_owner - initial attribute declared by type Item at extension core_removeOnSuccess - initial attribute declared by type ImpExMedia at extension impex@Accessor(qualifier="commentCharacter", type=GETTER) public java.lang.Character getCommentCharacter()
ImpExMedia.commentCharacter attribute defined at extension impex.@Accessor(qualifier="encoding", type=GETTER) public EncodingEnum getEncoding()
ImpExMedia.encoding attribute defined at extension impex.@Accessor(qualifier="extractionId", type=GETTER) public java.lang.String getExtractionId()
ImpExMedia.extractionId attribute defined at extension impex.@Accessor(qualifier="fieldSeparator", type=GETTER) public java.lang.Character getFieldSeparator()
ImpExMedia.fieldSeparator attribute defined at extension impex.@Accessor(qualifier="linesToSkip", type=GETTER) public int getLinesToSkip()
ImpExMedia.linesToSkip attribute defined at extension impex.@Accessor(qualifier="preview", type=GETTER) public java.lang.String getPreview()
ImpExMedia.preview attribute defined at extension impex.@Accessor(qualifier="quoteCharacter", type=GETTER) public java.lang.Character getQuoteCharacter()
ImpExMedia.quoteCharacter attribute defined at extension impex.@Accessor(qualifier="zipentry", type=GETTER) public java.lang.String getZipentry()
ImpExMedia.zipentry attribute defined at extension impex.@Accessor(qualifier="removeOnSuccess", type=GETTER) public boolean isRemoveOnSuccess()
ImpExMedia.removeOnSuccess attribute defined at extension impex.@Accessor(qualifier="commentCharacter", type=SETTER) public void setCommentCharacter(java.lang.Character value)
ImpExMedia.commentCharacter attribute defined at extension impex.value - the commentCharacter - Character used for indicating a comment@Accessor(qualifier="encoding", type=SETTER) public void setEncoding(EncodingEnum value)
ImpExMedia.encoding attribute defined at extension impex.value - the encoding - Used encoding for data stored within media@Accessor(qualifier="extractionId", type=SETTER) public void setExtractionId(java.lang.String value)
ImpExMedia.extractionId attribute defined at extension impex. Can only be used at creation of model - before first save.value - the extractionId - Unique Id of zip extraction process@Accessor(qualifier="fieldSeparator", type=SETTER) public void setFieldSeparator(java.lang.Character value)
ImpExMedia.fieldSeparator attribute defined at extension impex.value - the fieldSeparator - Character used for separating columns in CSV-lines@Accessor(qualifier="linesToSkip", type=SETTER) public void setLinesToSkip(int value)
ImpExMedia.linesToSkip attribute defined at extension impex.value - the linesToSkip - Amount of lines ImpEx has to skip while processing data@Accessor(qualifier="quoteCharacter", type=SETTER) public void setQuoteCharacter(java.lang.Character value)
ImpExMedia.quoteCharacter attribute defined at extension impex.value - the quoteCharacter - Character used for escaping columns in CSV-lines@Accessor(qualifier="removeOnSuccess", type=SETTER) public void setRemoveOnSuccess(boolean value)
ImpExMedia.removeOnSuccess attribute defined at extension impex.value - the removeOnSuccess - Should the media be removed after processing?Copyright © 2018 SAP SE. All Rights Reserved.