Class VideoComponentModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.contents.CMSItemModel
de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
de.hybris.platform.cms2.model.contents.components.VideoComponentModel
- All Implemented Interfaces:
Serializable
Generated model class for type VideoComponent first defined at extension cms2.
It represents video map component that extends SimpleCMSComponent and contains one more attribute.
- 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 relation code constant for relationVideoComponentsForCategorydefining source attributecategoryin extensioncms2.static final StringGenerated relation code constant for relationVideoComponentsForContentPagedefining source attributecontentPagein extensioncms2.static final StringGenerated relation code constant for relationVideoComponentsForProductdefining source attributeproductin extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.autoPlayattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.categoryattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.categoryPOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.contentPageattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.contentPagePOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.loopattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.muteattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.productattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.productPOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.thumbnailattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.thumbnailSelectorattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.urlattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofVideoComponent.videoattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERSFields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_CMSCOMPONENTCHILDRENFORCMSCOMPONENT, _ELEMENTSFORSLOT, ACTIONS, CHILDREN, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, PARENTS, RESTRICTED, RESTRICTIONS, SLOTS, STYLECLASSES, TYPE, TYPECODE, VISIBLEFields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields 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.VideoComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVideoComponentModel(CatalogVersionModel _catalogVersion, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVideoComponentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theVideoComponent.autoPlayattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.categoryattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.contentPageattribute defined at extensioncms2.getLoop()Generated method - Getter of theVideoComponent.loopattribute defined at extensioncms2.getMute()Generated method - Getter of theVideoComponent.muteattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.productattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.thumbnailattribute defined at extensioncms2.getThumbnail(Locale loc) Generated method - Getter of theVideoComponent.thumbnailattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.thumbnailSelectorattribute defined at extensioncms2.getUrl()Generated method - Getter of theVideoComponent.urlattribute defined at extensioncms2.getVideo()Generated method - Getter of theVideoComponent.videoattribute defined at extensioncms2.Generated method - Getter of theVideoComponent.videoattribute defined at extensioncms2.voidsetAutoPlay(Boolean value) Generated method - Setter ofVideoComponent.autoPlayattribute defined at extensioncms2.voidsetCategory(CategoryModel value) Generated method - Setter ofVideoComponent.categoryattribute defined at extensioncms2.voidsetContentPage(ContentPageModel value) Generated method - Setter ofVideoComponent.contentPageattribute defined at extensioncms2.voidGenerated method - Setter ofVideoComponent.loopattribute defined at extensioncms2.voidGenerated method - Setter ofVideoComponent.muteattribute defined at extensioncms2.voidsetProduct(ProductModel value) Generated method - Setter ofVideoComponent.productattribute defined at extensioncms2.voidsetThumbnail(MediaContainerModel value) Generated method - Setter ofVideoComponent.thumbnailattribute defined at extensioncms2.voidsetThumbnail(MediaContainerModel value, Locale loc) Generated method - Setter ofVideoComponent.thumbnailattribute defined at extensioncms2.voidGenerated method - Setter ofVideoComponent.thumbnailSelectorattribute defined at extensioncms2.voidGenerated method - Setter ofVideoComponent.urlattribute defined at extensioncms2.voidsetVideo(MediaModel value) Generated method - Setter ofVideoComponent.videoattribute defined at extensioncms2.voidsetVideo(MediaModel value, Locale loc) Generated method - Setter ofVideoComponent.videoattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainersMethods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getChildren, getParents, getRestrictions, getSlots, getStyleClasses, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setChildren, setOnlyOneRestrictionMustApply, setParents, setRestrictions, setSlots, setStyleClasses, setVisibleMethods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUidMethods 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:
-
_VIDEOCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relationVideoComponentsForContentPagedefining source attributecontentPagein extensioncms2.- See Also:
-
_VIDEOCOMPONENTSFORPRODUCT
Generated relation code constant for relationVideoComponentsForProductdefining source attributeproductin extensioncms2.- See Also:
-
_VIDEOCOMPONENTSFORCATEGORY
Generated relation code constant for relationVideoComponentsForCategorydefining source attributecategoryin extensioncms2.- See Also:
-
VIDEO
Generated constant - Attribute key ofVideoComponent.videoattribute defined at extensioncms2.- See Also:
-
AUTOPLAY
Generated constant - Attribute key ofVideoComponent.autoPlayattribute defined at extensioncms2.- See Also:
-
LOOP
Generated constant - Attribute key ofVideoComponent.loopattribute defined at extensioncms2.- See Also:
-
MUTE
Generated constant - Attribute key ofVideoComponent.muteattribute defined at extensioncms2.- See Also:
-
THUMBNAILSELECTOR
Generated constant - Attribute key ofVideoComponent.thumbnailSelectorattribute defined at extensioncms2.- See Also:
-
THUMBNAIL
Generated constant - Attribute key ofVideoComponent.thumbnailattribute defined at extensioncms2.- See Also:
-
URL
Generated constant - Attribute key ofVideoComponent.urlattribute defined at extensioncms2.- See Also:
-
CONTENTPAGEPOS
Generated constant - Attribute key ofVideoComponent.contentPagePOSattribute defined at extensioncms2.- See Also:
-
CONTENTPAGE
Generated constant - Attribute key ofVideoComponent.contentPageattribute defined at extensioncms2.- See Also:
-
PRODUCTPOS
Generated constant - Attribute key ofVideoComponent.productPOSattribute defined at extensioncms2.- See Also:
-
PRODUCT
Generated constant - Attribute key ofVideoComponent.productattribute defined at extensioncms2.- See Also:
-
CATEGORYPOS
Generated constant - Attribute key ofVideoComponent.categoryPOSattribute defined at extensioncms2.- See Also:
-
CATEGORY
Generated constant - Attribute key ofVideoComponent.categoryattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
VideoComponentModel
public VideoComponentModel()Generated constructor - Default constructor for generic creation. -
VideoComponentModel
public VideoComponentModel(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
-
VideoComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public VideoComponentModel(CatalogVersionModel _catalogVersion, String _uid) 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 typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
VideoComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public VideoComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid) 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 typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Details
-
getAutoPlay
Generated method - Getter of theVideoComponent.autoPlayattribute defined at extensioncms2.- Returns:
- the autoPlay - the autoplay control for video
-
getCategory
Generated method - Getter of theVideoComponent.categoryattribute defined at extensioncms2.- Returns:
- the category
-
getContentPage
Generated method - Getter of theVideoComponent.contentPageattribute defined at extensioncms2.- Returns:
- the contentPage
-
getLoop
Generated method - Getter of theVideoComponent.loopattribute defined at extensioncms2.- Returns:
- the loop - loop the video
-
getMute
Generated method - Getter of theVideoComponent.muteattribute defined at extensioncms2.- Returns:
- the mute - the mute control for video
-
getProduct
Generated method - Getter of theVideoComponent.productattribute defined at extensioncms2.- Returns:
- the product
-
getThumbnail
Generated method - Getter of theVideoComponent.thumbnailattribute defined at extensioncms2.- Returns:
- the thumbnail - It is a media container containing images for specific resolutions
-
getThumbnail
Generated method - Getter of theVideoComponent.thumbnailattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the thumbnail - It is a media container containing images for specific resolutions
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getThumbnailSelector
@Accessor(qualifier="thumbnailSelector", type=GETTER) public ThumbnailSelectorOptions getThumbnailSelector()Generated method - Getter of theVideoComponent.thumbnailSelectorattribute defined at extensioncms2.- Returns:
- the thumbnailSelector - the thumbnail Selector for video, it has two options define at ThumbnailSelectorOptions
-
getUrl
Generated method - Getter of theVideoComponent.urlattribute defined at extensioncms2.- Returns:
- the url - the url that the video component will linkTo
-
getVideo
Generated method - Getter of theVideoComponent.videoattribute defined at extensioncms2.- Returns:
- the video - It is containing video
-
getVideo
Generated method - Getter of theVideoComponent.videoattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the video - It is containing video
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setAutoPlay
Generated method - Setter ofVideoComponent.autoPlayattribute defined at extensioncms2.- Parameters:
value- the autoPlay - the autoplay control for video
-
setCategory
Generated method - Setter ofVideoComponent.categoryattribute defined at extensioncms2.- Parameters:
value- the category
-
setContentPage
Generated method - Setter ofVideoComponent.contentPageattribute defined at extensioncms2.- Parameters:
value- the contentPage
-
setLoop
Generated method - Setter ofVideoComponent.loopattribute defined at extensioncms2.- Parameters:
value- the loop - loop the video
-
setMute
Generated method - Setter ofVideoComponent.muteattribute defined at extensioncms2.- Parameters:
value- the mute - the mute control for video
-
setProduct
Generated method - Setter ofVideoComponent.productattribute defined at extensioncms2.- Parameters:
value- the product
-
setThumbnail
Generated method - Setter ofVideoComponent.thumbnailattribute defined at extensioncms2.- Parameters:
value- the thumbnail - It is a media container containing images for specific resolutions
-
setThumbnail
@Accessor(qualifier="thumbnail", type=SETTER) public void setThumbnail(MediaContainerModel value, Locale loc) Generated method - Setter ofVideoComponent.thumbnailattribute defined at extensioncms2.- Parameters:
value- the thumbnail - It is a media container containing images for specific resolutionsloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setThumbnailSelector
@Accessor(qualifier="thumbnailSelector", type=SETTER) public void setThumbnailSelector(ThumbnailSelectorOptions value) Generated method - Setter ofVideoComponent.thumbnailSelectorattribute defined at extensioncms2.- Parameters:
value- the thumbnailSelector - the thumbnail Selector for video, it has two options define at ThumbnailSelectorOptions
-
setUrl
Generated method - Setter ofVideoComponent.urlattribute defined at extensioncms2.- Parameters:
value- the url - the url that the video component will linkTo
-
setVideo
Generated method - Setter ofVideoComponent.videoattribute defined at extensioncms2.- Parameters:
value- the video - It is containing video
-
setVideo
Generated method - Setter ofVideoComponent.videoattribute defined at extensioncms2.- Parameters:
value- the video - It is containing videoloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-