Class VideoComponentModel

All Implemented Interfaces:
Serializable

public class VideoComponentModel extends SimpleCMSComponentModel
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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _VIDEOCOMPONENTSFORCONTENTPAGE

      public static final String _VIDEOCOMPONENTSFORCONTENTPAGE
      Generated relation code constant for relation VideoComponentsForContentPage defining source attribute contentPage in extension cms2.
      See Also:
    • _VIDEOCOMPONENTSFORPRODUCT

      public static final String _VIDEOCOMPONENTSFORPRODUCT
      Generated relation code constant for relation VideoComponentsForProduct defining source attribute product in extension cms2.
      See Also:
    • _VIDEOCOMPONENTSFORCATEGORY

      public static final String _VIDEOCOMPONENTSFORCATEGORY
      Generated relation code constant for relation VideoComponentsForCategory defining source attribute category in extension cms2.
      See Also:
    • VIDEO

      public static final String VIDEO
      Generated constant - Attribute key of VideoComponent.video attribute defined at extension cms2.
      See Also:
    • AUTOPLAY

      public static final String AUTOPLAY
      Generated constant - Attribute key of VideoComponent.autoPlay attribute defined at extension cms2.
      See Also:
    • LOOP

      public static final String LOOP
      Generated constant - Attribute key of VideoComponent.loop attribute defined at extension cms2.
      See Also:
    • MUTE

      public static final String MUTE
      Generated constant - Attribute key of VideoComponent.mute attribute defined at extension cms2.
      See Also:
    • THUMBNAILSELECTOR

      public static final String THUMBNAILSELECTOR
      Generated constant - Attribute key of VideoComponent.thumbnailSelector attribute defined at extension cms2.
      See Also:
    • THUMBNAIL

      public static final String THUMBNAIL
      Generated constant - Attribute key of VideoComponent.thumbnail attribute defined at extension cms2.
      See Also:
    • URL

      public static final String URL
      Generated constant - Attribute key of VideoComponent.url attribute defined at extension cms2.
      See Also:
    • CONTENTPAGEPOS

      public static final String CONTENTPAGEPOS
      Generated constant - Attribute key of VideoComponent.contentPagePOS attribute defined at extension cms2.
      See Also:
    • CONTENTPAGE

      public static final String CONTENTPAGE
      Generated constant - Attribute key of VideoComponent.contentPage attribute defined at extension cms2.
      See Also:
    • PRODUCTPOS

      public static final String PRODUCTPOS
      Generated constant - Attribute key of VideoComponent.productPOS attribute defined at extension cms2.
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Generated constant - Attribute key of VideoComponent.product attribute defined at extension cms2.
      See Also:
    • CATEGORYPOS

      public static final String CATEGORYPOS
      Generated constant - Attribute key of VideoComponent.categoryPOS attribute defined at extension cms2.
      See Also:
    • CATEGORY

      public static final String CATEGORY
      Generated constant - Attribute key of VideoComponent.category attribute defined at extension cms2.
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _uid - initial attribute declared by type CMSItem at extension cms2
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getAutoPlay

      @Accessor(qualifier="autoPlay", type=GETTER) public Boolean getAutoPlay()
      Generated method - Getter of the VideoComponent.autoPlay attribute defined at extension cms2.
      Returns:
      the autoPlay - the autoplay control for video
    • getCategory

      @Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
      Generated method - Getter of the VideoComponent.category attribute defined at extension cms2.
      Returns:
      the category
    • getContentPage

      @Accessor(qualifier="contentPage", type=GETTER) public ContentPageModel getContentPage()
      Generated method - Getter of the VideoComponent.contentPage attribute defined at extension cms2.
      Returns:
      the contentPage
    • getLoop

      @Accessor(qualifier="loop", type=GETTER) public Boolean getLoop()
      Generated method - Getter of the VideoComponent.loop attribute defined at extension cms2.
      Returns:
      the loop - loop the video
    • getMute

      @Accessor(qualifier="mute", type=GETTER) public Boolean getMute()
      Generated method - Getter of the VideoComponent.mute attribute defined at extension cms2.
      Returns:
      the mute - the mute control for video
    • getProduct

      @Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
      Generated method - Getter of the VideoComponent.product attribute defined at extension cms2.
      Returns:
      the product
    • getThumbnail

      @Accessor(qualifier="thumbnail", type=GETTER) public MediaContainerModel getThumbnail()
      Generated method - Getter of the VideoComponent.thumbnail attribute defined at extension cms2.
      Returns:
      the thumbnail - It is a media container containing images for specific resolutions
    • getThumbnail

      @Accessor(qualifier="thumbnail", type=GETTER) public MediaContainerModel getThumbnail(Locale loc)
      Generated method - Getter of the VideoComponent.thumbnail attribute defined at extension cms2.
      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 the VideoComponent.thumbnailSelector attribute defined at extension cms2.
      Returns:
      the thumbnailSelector - the thumbnail Selector for video, it has two options define at ThumbnailSelectorOptions
    • getUrl

      @Accessor(qualifier="url", type=GETTER) public String getUrl()
      Generated method - Getter of the VideoComponent.url attribute defined at extension cms2.
      Returns:
      the url - the url that the video component will linkTo
    • getVideo

      @Accessor(qualifier="video", type=GETTER) public MediaModel getVideo()
      Generated method - Getter of the VideoComponent.video attribute defined at extension cms2.
      Returns:
      the video - It is containing video
    • getVideo

      @Accessor(qualifier="video", type=GETTER) public MediaModel getVideo(Locale loc)
      Generated method - Getter of the VideoComponent.video attribute defined at extension cms2.
      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

      @Accessor(qualifier="autoPlay", type=SETTER) public void setAutoPlay(Boolean value)
      Generated method - Setter of VideoComponent.autoPlay attribute defined at extension cms2.
      Parameters:
      value - the autoPlay - the autoplay control for video
    • setCategory

      @Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
      Generated method - Setter of VideoComponent.category attribute defined at extension cms2.
      Parameters:
      value - the category
    • setContentPage

      @Accessor(qualifier="contentPage", type=SETTER) public void setContentPage(ContentPageModel value)
      Generated method - Setter of VideoComponent.contentPage attribute defined at extension cms2.
      Parameters:
      value - the contentPage
    • setLoop

      @Accessor(qualifier="loop", type=SETTER) public void setLoop(Boolean value)
      Generated method - Setter of VideoComponent.loop attribute defined at extension cms2.
      Parameters:
      value - the loop - loop the video
    • setMute

      @Accessor(qualifier="mute", type=SETTER) public void setMute(Boolean value)
      Generated method - Setter of VideoComponent.mute attribute defined at extension cms2.
      Parameters:
      value - the mute - the mute control for video
    • setProduct

      @Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
      Generated method - Setter of VideoComponent.product attribute defined at extension cms2.
      Parameters:
      value - the product
    • setThumbnail

      @Accessor(qualifier="thumbnail", type=SETTER) public void setThumbnail(MediaContainerModel value)
      Generated method - Setter of VideoComponent.thumbnail attribute defined at extension cms2.
      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 of VideoComponent.thumbnail attribute defined at extension cms2.
      Parameters:
      value - the thumbnail - It is a media container containing images for specific resolutions
      loc - 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 of VideoComponent.thumbnailSelector attribute defined at extension cms2.
      Parameters:
      value - the thumbnailSelector - the thumbnail Selector for video, it has two options define at ThumbnailSelectorOptions
    • setUrl

      @Accessor(qualifier="url", type=SETTER) public void setUrl(String value)
      Generated method - Setter of VideoComponent.url attribute defined at extension cms2.
      Parameters:
      value - the url - the url that the video component will linkTo
    • setVideo

      @Accessor(qualifier="video", type=SETTER) public void setVideo(MediaModel value)
      Generated method - Setter of VideoComponent.video attribute defined at extension cms2.
      Parameters:
      value - the video - It is containing video
    • setVideo

      @Accessor(qualifier="video", type=SETTER) public void setVideo(MediaModel value, Locale loc)
      Generated method - Setter of VideoComponent.video attribute defined at extension cms2.
      Parameters:
      value - the video - It is containing video
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language