Package de.hybris.platform.impex.model
Class ImpExMediaModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.media.AbstractMediaModel
-
- de.hybris.platform.core.model.media.MediaModel
-
- de.hybris.platform.impex.model.ImpExMediaModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HeaderLibraryModel,ImpExExportMediaModel,ImpExImportCockpitMediaModel,ImportCockpitInputMediaModel
public class ImpExMediaModel extends MediaModel
Generated model class for type ImpExMedia first defined at extension impex.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMMENTCHARACTERGenerated constant - Attribute key ofImpExMedia.commentCharacterattribute defined at extensionimpex.static java.lang.StringENCODINGGenerated constant - Attribute key ofImpExMedia.encodingattribute defined at extensionimpex.static java.lang.StringEXTRACTIONIDGenerated constant - Attribute key ofImpExMedia.extractionIdattribute defined at extensionimpex.static java.lang.StringFIELDSEPARATORGenerated constant - Attribute key ofImpExMedia.fieldSeparatorattribute defined at extensionimpex.static java.lang.StringLINESTOSKIPGenerated constant - Attribute key ofImpExMedia.linesToSkipattribute defined at extensionimpex.static java.lang.StringPREVIEWGenerated constant - Attribute key ofImpExMedia.previewattribute defined at extensionimpex.static java.lang.StringQUOTECHARACTERGenerated constant - Attribute key ofImpExMedia.quoteCharacterattribute defined at extensionimpex.static java.lang.StringREMOVEONSUCCESSGenerated constant - Attribute key ofImpExMedia.removeOnSuccessattribute defined at extensionimpex.static java.lang.StringZIPENTRYGenerated constant - Attribute key ofImpExMedia.zipentryattribute defined at extensionimpex.-
Fields inherited from class de.hybris.platform.core.model.media.MediaModel
_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, URL2
-
Fields inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
DATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ImpExMediaModel()Generated constructor - Default constructor for generic creation.ImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, int _linesToSkip, boolean _removeOnSuccess)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _extractionId, int _linesToSkip, ItemModel _owner, boolean _removeOnSuccess)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersImpExMediaModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharactergetCommentCharacter()Generated method - Getter of theImpExMedia.commentCharacterattribute defined at extensionimpex.EncodingEnumgetEncoding()Generated method - Getter of theImpExMedia.encodingattribute defined at extensionimpex.java.lang.StringgetExtractionId()Generated method - Getter of theImpExMedia.extractionIdattribute defined at extensionimpex.java.lang.CharactergetFieldSeparator()Generated method - Getter of theImpExMedia.fieldSeparatorattribute defined at extensionimpex.intgetLinesToSkip()Generated method - Getter of theImpExMedia.linesToSkipattribute defined at extensionimpex.java.lang.StringgetPreview()Generated method - Getter of theImpExMedia.previewattribute defined at extensionimpex.java.lang.CharactergetQuoteCharacter()Generated method - Getter of theImpExMedia.quoteCharacterattribute defined at extensionimpex.java.lang.StringgetZipentry()Generated method - Getter of theImpExMedia.zipentryattribute defined at extensionimpex.booleanisRemoveOnSuccess()Generated method - Getter of theImpExMedia.removeOnSuccessattribute defined at extensionimpex.voidsetCommentCharacter(java.lang.Character value)Generated method - Setter ofImpExMedia.commentCharacterattribute defined at extensionimpex.voidsetEncoding(EncodingEnum value)Generated method - Setter ofImpExMedia.encodingattribute defined at extensionimpex.voidsetExtractionId(java.lang.String value)Generated method - Initial setter ofImpExMedia.extractionIdattribute defined at extensionimpex.voidsetFieldSeparator(java.lang.Character value)Generated method - Setter ofImpExMedia.fieldSeparatorattribute defined at extensionimpex.voidsetLinesToSkip(int value)Generated method - Setter ofImpExMedia.linesToSkipattribute defined at extensionimpex.voidsetQuoteCharacter(java.lang.Character value)Generated method - Setter ofImpExMedia.quoteCharacterattribute defined at extensionimpex.voidsetRemoveOnSuccess(boolean value)Generated method - Setter ofImpExMedia.removeOnSuccessattribute defined at extensionimpex.voidsetZipentry(java.lang.String value)Generated method - Setter ofImpExMedia.zipentryattribute defined at extensionimpex.-
Methods inherited from class de.hybris.platform.core.model.media.MediaModel
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, setURL
-
Methods inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
getDataPK, getLocation, getLocationHash, getMime, getRealfilename, getRealFileName, getSize, setDataPK, setLocation, setLocationHash, setMime, setRealfilename, setRealFileName, setSize
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
FIELDSEPARATOR
public static final java.lang.String FIELDSEPARATOR
Generated constant - Attribute key ofImpExMedia.fieldSeparatorattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
QUOTECHARACTER
public static final java.lang.String QUOTECHARACTER
Generated constant - Attribute key ofImpExMedia.quoteCharacterattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
COMMENTCHARACTER
public static final java.lang.String COMMENTCHARACTER
Generated constant - Attribute key ofImpExMedia.commentCharacterattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
ENCODING
public static final java.lang.String ENCODING
Generated constant - Attribute key ofImpExMedia.encodingattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
LINESTOSKIP
public static final java.lang.String LINESTOSKIP
Generated constant - Attribute key ofImpExMedia.linesToSkipattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
REMOVEONSUCCESS
public static final java.lang.String REMOVEONSUCCESS
Generated constant - Attribute key ofImpExMedia.removeOnSuccessattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
ZIPENTRY
public static final java.lang.String ZIPENTRY
Generated constant - Attribute key ofImpExMedia.zipentryattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
PREVIEW
public static final java.lang.String PREVIEW
Generated constant - Attribute key ofImpExMedia.previewattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
EXTRACTIONID
public static final java.lang.String EXTRACTIONID
Generated constant - Attribute key ofImpExMedia.extractionIdattribute defined at extensionimpex.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImpExMediaModel
public ImpExMediaModel()
Generated constructor - Default constructor for generic creation.
-
ImpExMediaModel
public ImpExMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ImpExMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public ImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, int _linesToSkip, boolean _removeOnSuccess)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeImpExMediaat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore_linesToSkip- initial attribute declared by typeImpExMediaat extensionimpex_removeOnSuccess- initial attribute declared by typeImpExMediaat extensionimpex
-
ImpExMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public ImpExMediaModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _extractionId, int _linesToSkip, ItemModel _owner, boolean _removeOnSuccess)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeImpExMediaat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore_extractionId- initial attribute declared by typeImpExMediaat extensionimpex_linesToSkip- initial attribute declared by typeImpExMediaat extensionimpex_owner- initial attribute declared by typeItemat extensioncore_removeOnSuccess- initial attribute declared by typeImpExMediaat extensionimpex
-
-
Method Detail
-
getCommentCharacter
@Accessor(qualifier="commentCharacter", type=GETTER) public java.lang.Character getCommentCharacter()
Generated method - Getter of theImpExMedia.commentCharacterattribute defined at extensionimpex.- Returns:
- the commentCharacter - Character used for indicating a comment
-
getEncoding
@Accessor(qualifier="encoding", type=GETTER) public EncodingEnum getEncoding()
Generated method - Getter of theImpExMedia.encodingattribute defined at extensionimpex.- Returns:
- the encoding - Used encoding for data stored within media
-
getExtractionId
@Accessor(qualifier="extractionId", type=GETTER) public java.lang.String getExtractionId()
Generated method - Getter of theImpExMedia.extractionIdattribute defined at extensionimpex.- Returns:
- the extractionId - Unique Id of zip extraction process
-
getFieldSeparator
@Accessor(qualifier="fieldSeparator", type=GETTER) public java.lang.Character getFieldSeparator()
Generated method - Getter of theImpExMedia.fieldSeparatorattribute defined at extensionimpex.- Returns:
- the fieldSeparator - Character used for separating columns in CSV-lines
-
getLinesToSkip
@Accessor(qualifier="linesToSkip", type=GETTER) public int getLinesToSkip()
Generated method - Getter of theImpExMedia.linesToSkipattribute defined at extensionimpex.- Returns:
- the linesToSkip - Amount of lines ImpEx has to skip while processing data
-
getPreview
@Accessor(qualifier="preview", type=GETTER) public java.lang.String getPreview()
Generated method - Getter of theImpExMedia.previewattribute defined at extensionimpex.- Returns:
- the preview - Preview of content
-
getQuoteCharacter
@Accessor(qualifier="quoteCharacter", type=GETTER) public java.lang.Character getQuoteCharacter()
Generated method - Getter of theImpExMedia.quoteCharacterattribute defined at extensionimpex.- Returns:
- the quoteCharacter - Character used for escaping columns in CSV-lines
-
getZipentry
@Accessor(qualifier="zipentry", type=GETTER) public java.lang.String getZipentry()
Generated method - Getter of theImpExMedia.zipentryattribute defined at extensionimpex.- Returns:
- the zipentry
-
isRemoveOnSuccess
@Accessor(qualifier="removeOnSuccess", type=GETTER) public boolean isRemoveOnSuccess()
Generated method - Getter of theImpExMedia.removeOnSuccessattribute defined at extensionimpex.- Returns:
- the removeOnSuccess - Should the media be removed after processing?
-
setCommentCharacter
@Accessor(qualifier="commentCharacter", type=SETTER) public void setCommentCharacter(java.lang.Character value)
Generated method - Setter ofImpExMedia.commentCharacterattribute defined at extensionimpex.- Parameters:
value- the commentCharacter - Character used for indicating a comment
-
setEncoding
@Accessor(qualifier="encoding", type=SETTER) public void setEncoding(EncodingEnum value)
Generated method - Setter ofImpExMedia.encodingattribute defined at extensionimpex.- Parameters:
value- the encoding - Used encoding for data stored within media
-
setExtractionId
@Accessor(qualifier="extractionId", type=SETTER) public void setExtractionId(java.lang.String value)
Generated method - Initial setter ofImpExMedia.extractionIdattribute defined at extensionimpex. Can only be used at creation of model - before first save.- Parameters:
value- the extractionId - Unique Id of zip extraction process
-
setFieldSeparator
@Accessor(qualifier="fieldSeparator", type=SETTER) public void setFieldSeparator(java.lang.Character value)
Generated method - Setter ofImpExMedia.fieldSeparatorattribute defined at extensionimpex.- Parameters:
value- the fieldSeparator - Character used for separating columns in CSV-lines
-
setLinesToSkip
@Accessor(qualifier="linesToSkip", type=SETTER) public void setLinesToSkip(int value)
Generated method - Setter ofImpExMedia.linesToSkipattribute defined at extensionimpex.- Parameters:
value- the linesToSkip - Amount of lines ImpEx has to skip while processing data
-
setQuoteCharacter
@Accessor(qualifier="quoteCharacter", type=SETTER) public void setQuoteCharacter(java.lang.Character value)
Generated method - Setter ofImpExMedia.quoteCharacterattribute defined at extensionimpex.- Parameters:
value- the quoteCharacter - Character used for escaping columns in CSV-lines
-
setRemoveOnSuccess
@Accessor(qualifier="removeOnSuccess", type=SETTER) public void setRemoveOnSuccess(boolean value)
Generated method - Setter ofImpExMedia.removeOnSuccessattribute defined at extensionimpex.- Parameters:
value- the removeOnSuccess - Should the media be removed after processing?
-
-