Class MediaFolderModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.media.MediaFolderModel
- All Implemented Interfaces:
Serializable
Generated model class for type MediaFolder first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofMediaFolder.pathattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofMediaFolder.qualifierattribute defined at extensioncore.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.MediaFolderModel(ItemModel _owner, String _path, String _qualifier) 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 - Default constructor for creation with existing contextMediaFolderModel(String _qualifier) 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 TypeMethodDescriptiongetPath()Generated method - Getter of theMediaFolder.pathattribute defined at extensioncore.Generated method - Getter of theMediaFolder.qualifierattribute defined at extensioncore.voidGenerated method - Initial setter ofMediaFolder.pathattribute defined at extensioncore.voidsetQualifier(String value) Generated method - Setter ofMediaFolder.qualifierattribute defined at extensioncore.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:
-
QUALIFIER
Generated constant - Attribute key ofMediaFolder.qualifierattribute defined at extensioncore.- See Also:
-
PATH
Generated constant - Attribute key ofMediaFolder.pathattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
MediaFolderModel
public MediaFolderModel()Generated constructor - Default constructor for generic creation. -
MediaFolderModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
MediaFolderModel
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:
_qualifier- initial attribute declared by typeMediaFolderat extensioncore
-
MediaFolderModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFolderModel(ItemModel _owner, String _path, String _qualifier) 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:
_owner- initial attribute declared by typeItemat extensioncore_path- initial attribute declared by typeMediaFolderat extensioncore_qualifier- initial attribute declared by typeMediaFolderat extensioncore
-
-
Method Details
-
getPath
Generated method - Getter of theMediaFolder.pathattribute defined at extensioncore.- Returns:
- the path - The physical path of the folder relative the the media webroot
-
getQualifier
Generated method - Getter of theMediaFolder.qualifierattribute defined at extensioncore.- Returns:
- the qualifier - Identifies the folder by a qualifier
-
setPath
Generated method - Initial setter ofMediaFolder.pathattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the path - The physical path of the folder relative the the media webroot
-
setQualifier
Generated method - Setter ofMediaFolder.qualifierattribute defined at extensioncore.- Parameters:
value- the qualifier - Identifies the folder by a qualifier
-