Class ExportModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.impex.model.exp.ExportModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ReportModel
Generated model class for type Export first defined at extension impex.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofExport.codeattribute defined at extensionimpex.static final StringGenerated constant - Attribute key ofExport.descriptionattribute defined at extensionimpex.static final StringGenerated constant - Attribute key ofExport.exportedDataattribute defined at extensionimpex.static final StringGenerated constant - Attribute key ofExport.exportedMediasattribute defined at extensionimpex.static final StringGenerated constant - Attribute key ofExport.exportScriptattribute defined at extensionimpex.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.ExportModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextExportModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersExportModel(String _code, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theExport.codeattribute defined at extensionimpex.Generated method - Getter of theExport.descriptionattribute defined at extensionimpex.getDescription(Locale loc) Generated method - Getter of theExport.descriptionattribute defined at extensionimpex.Generated method - Getter of theExport.exportedDataattribute defined at extensionimpex.Generated method - Getter of theExport.exportedMediasattribute defined at extensionimpex.Generated method - Getter of theExport.exportScriptattribute defined at extensionimpex.voidGenerated method - Setter ofExport.codeattribute defined at extensionimpex.voidsetDescription(String value) Generated method - Setter ofExport.descriptionattribute defined at extensionimpex.voidsetDescription(String value, Locale loc) Generated method - Setter ofExport.descriptionattribute defined at extensionimpex.voidGenerated method - Setter ofExport.exportedDataattribute defined at extensionimpex.voidGenerated method - Setter ofExport.exportedMediasattribute defined at extensionimpex.voidsetExportScript(ImpExMediaModel value) Generated method - Setter ofExport.exportScriptattribute defined at extensionimpex.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofExport.codeattribute defined at extensionimpex.- See Also:
-
EXPORTEDMEDIAS
Generated constant - Attribute key ofExport.exportedMediasattribute defined at extensionimpex.- See Also:
-
EXPORTEDDATA
Generated constant - Attribute key ofExport.exportedDataattribute defined at extensionimpex.- See Also:
-
EXPORTSCRIPT
Generated constant - Attribute key ofExport.exportScriptattribute defined at extensionimpex.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofExport.descriptionattribute defined at extensionimpex.- See Also:
-
-
Constructor Details
-
ExportModel
public ExportModel()Generated constructor - Default constructor for generic creation. -
ExportModel
public ExportModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ExportModel
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:
_code- initial attribute declared by typeExportat extensionimpex
-
ExportModel
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:
_code- initial attribute declared by typeExportat extensionimpex_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theExport.codeattribute defined at extensionimpex.- Returns:
- the code
-
getDescription
Generated method - Getter of theExport.descriptionattribute defined at extensionimpex.- Returns:
- the description - description
-
getDescription
Generated method - Getter of theExport.descriptionattribute defined at extensionimpex.- Parameters:
loc- the value localization key- Returns:
- the description - description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getExportedData
Generated method - Getter of theExport.exportedDataattribute defined at extensionimpex.- Returns:
- the exportedData - contains the exported data
-
getExportedMedias
Generated method - Getter of theExport.exportedMediasattribute defined at extensionimpex.- Returns:
- the exportedMedias - contains the exported medias
-
getExportScript
Generated method - Getter of theExport.exportScriptattribute defined at extensionimpex.- Returns:
- the exportScript - contains the export script
-
setCode
Generated method - Setter ofExport.codeattribute defined at extensionimpex.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofExport.descriptionattribute defined at extensionimpex.- Parameters:
value- the description - description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofExport.descriptionattribute defined at extensionimpex.- Parameters:
value- the description - descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setExportedData
@Accessor(qualifier="exportedData", type=SETTER) public void setExportedData(ImpExExportMediaModel value) Generated method - Setter ofExport.exportedDataattribute defined at extensionimpex.- Parameters:
value- the exportedData - contains the exported data
-
setExportedMedias
@Accessor(qualifier="exportedMedias", type=SETTER) public void setExportedMedias(ImpExExportMediaModel value) Generated method - Setter ofExport.exportedMediasattribute defined at extensionimpex.- Parameters:
value- the exportedMedias - contains the exported medias
-
setExportScript
Generated method - Setter ofExport.exportScriptattribute defined at extensionimpex.- Parameters:
value- the exportScript - contains the export script
-