Class MerchandisingCarouselComponentModel
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
com.hybris.merchandising.addon.model.MerchandisingCarouselComponentModel
- All Implemented Interfaces:
Serializable
Generated model class for type MerchandisingCarouselComponent first defined at extension merchandisingaddon.
- 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 ofMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.static final StringGenerated constant - Attribute key ofMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.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.MerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, ItemModel _owner, String _strategy, 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 parametersMerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, String _strategy, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.intGenerated method - Getter of theMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.Generated method - Getter of theMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.Generated method - Getter of theMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.Generated method - Getter of theMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.getTitle()Generated method - Getter of theMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.Generated method - Getter of theMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.intGenerated method - Getter of theMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.voidsetBackgroundColour(String value) Generated method - Setter ofMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.voidsetNumberToDisplay(int value) Generated method - Setter ofMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.voidsetScroll(ScrollType value) Generated method - Setter ofMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.voidsetStrategy(String value) Generated method - Setter ofMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.voidsetTextColour(String value) Generated method - Setter ofMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.voidGenerated method - Setter ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.voidGenerated method - Setter ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.voidsetViewportPercentage(int value) Generated method - Setter ofMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.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:
-
NUMBERTODISPLAY
Generated constant - Attribute key ofMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.- See Also:
-
STRATEGY
Generated constant - Attribute key ofMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.- See Also:
-
TITLE
Generated constant - Attribute key ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.- See Also:
-
BACKGROUNDCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.- See Also:
-
TEXTCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.- See Also:
-
SCROLL
Generated constant - Attribute key ofMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.- See Also:
-
VIEWPORTPERCENTAGE
Generated constant - Attribute key ofMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.- See Also:
-
-
Constructor Details
-
MerchandisingCarouselComponentModel
public MerchandisingCarouselComponentModel()Generated constructor - Default constructor for generic creation. -
MerchandisingCarouselComponentModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
MerchandisingCarouselComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public MerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, String _strategy, 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_numberToDisplay- initial attribute declared by typeMerchandisingCarouselComponentat extensionmerchandisingaddon_strategy- initial attribute declared by typeMerchandisingCarouselComponentat extensionmerchandisingaddon_uid- initial attribute declared by typeCMSItemat extensioncms2
-
MerchandisingCarouselComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public MerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, ItemModel _owner, String _strategy, 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_numberToDisplay- initial attribute declared by typeMerchandisingCarouselComponentat extensionmerchandisingaddon_owner- initial attribute declared by typeItemat extensioncore_strategy- initial attribute declared by typeMerchandisingCarouselComponentat extensionmerchandisingaddon_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Details
-
getBackgroundColour
Generated method - Getter of theMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.- Returns:
- the backgroundColour - Carousel background colour.
-
getNumberToDisplay
Generated method - Getter of theMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.- Returns:
- the numberToDisplay - How many items to show in the carousel.
-
getScroll
Generated method - Getter of theMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.- Returns:
- the scroll
-
getStrategy
Generated method - Getter of theMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.- Returns:
- the strategy - Strategy to use for carousel.
-
getTextColour
Generated method - Getter of theMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.- Returns:
- the textColour - Carousel text colour.
-
getTitle
Generated method - Getter of theMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.- Returns:
- the title - Carousel title.
-
getTitle
Generated method - Getter of theMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.- Parameters:
loc- the value localization key- Returns:
- the title - Carousel title.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getViewportPercentage
Generated method - Getter of theMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.- Returns:
- the viewportPercentage - Viewport percentage to trigger carousel view event.
-
setBackgroundColour
Generated method - Setter ofMerchandisingCarouselComponent.backgroundColourattribute defined at extensionmerchandisingaddon.- Parameters:
value- the backgroundColour - Carousel background colour.
-
setNumberToDisplay
Generated method - Setter ofMerchandisingCarouselComponent.numberToDisplayattribute defined at extensionmerchandisingaddon.- Parameters:
value- the numberToDisplay - How many items to show in the carousel.
-
setScroll
Generated method - Setter ofMerchandisingCarouselComponent.scrollattribute defined at extensionmerchandisingaddon.- Parameters:
value- the scroll
-
setStrategy
Generated method - Setter ofMerchandisingCarouselComponent.strategyattribute defined at extensionmerchandisingaddon.- Parameters:
value- the strategy - Strategy to use for carousel.
-
setTextColour
Generated method - Setter ofMerchandisingCarouselComponent.textColourattribute defined at extensionmerchandisingaddon.- Parameters:
value- the textColour - Carousel text colour.
-
setTitle
Generated method - Setter ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.- Parameters:
value- the title - Carousel title.
-
setTitle
Generated method - Setter ofMerchandisingCarouselComponent.titleattribute defined at extensionmerchandisingaddon.- Parameters:
value- the title - Carousel title.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setViewportPercentage
Generated method - Setter ofMerchandisingCarouselComponent.viewportPercentageattribute defined at extensionmerchandisingaddon.- Parameters:
value- the viewportPercentage - Viewport percentage to trigger carousel view event.
-