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:
java.io.Serializable
public class MerchandisingCarouselComponentModel extends SimpleCMSComponentModel
Generated model class for type MerchandisingCarouselComponent first defined at extension merchandisingaddon.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
BACKGROUNDCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.static java.lang.String
NUMBERTODISPLAY
Generated constant - Attribute key ofMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.static java.lang.String
SCROLL
Generated constant - Attribute key ofMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.static java.lang.String
STRATEGY
Generated constant - Attribute key ofMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.static java.lang.String
TEXTCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.static java.lang.String
TITLE
Generated constant - Attribute key ofMerchandisingCarouselComponent.title
attribute defined at extensionmerchandisingaddon
.-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERS
-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, UID
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description MerchandisingCarouselComponentModel()
Generated constructor - Default constructor for generic creation.MerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, ItemModel _owner, java.lang.String _strategy, java.lang.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, java.lang.String _strategy, java.lang.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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBackgroundColour()
Generated method - Getter of theMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.int
getNumberToDisplay()
Generated method - Getter of theMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.ScrollType
getScroll()
Generated method - Getter of theMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.java.lang.String
getStrategy()
Generated method - Getter of theMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.java.lang.String
getTextColour()
Generated method - Getter of theMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.java.lang.String
getTitle()
Generated method - Getter of theMerchandisingCarouselComponent.title
attribute defined at extensionmerchandisingaddon
.void
setBackgroundColour(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.void
setNumberToDisplay(int value)
Generated method - Setter ofMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.void
setScroll(ScrollType value)
Generated method - Setter ofMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.void
setStrategy(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.void
setTextColour(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.void
setTitle(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.title
attribute defined at extensionmerchandisingaddon
.-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisible
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, setUid
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
NUMBERTODISPLAY
public static final java.lang.String NUMBERTODISPLAY
Generated constant - Attribute key ofMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
STRATEGY
public static final java.lang.String STRATEGY
Generated constant - Attribute key ofMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofMerchandisingCarouselComponent.title
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
BACKGROUNDCOLOUR
public static final java.lang.String BACKGROUNDCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
TEXTCOLOUR
public static final java.lang.String TEXTCOLOUR
Generated constant - Attribute key ofMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
SCROLL
public static final java.lang.String SCROLL
Generated constant - Attribute key ofMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MerchandisingCarouselComponentModel
public MerchandisingCarouselComponentModel()
Generated constructor - Default constructor for generic creation.
-
MerchandisingCarouselComponentModel
public MerchandisingCarouselComponentModel(ItemModelContext ctx)
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, java.lang.String _strategy, java.lang.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 typeCMSItem
at extensioncms2
_numberToDisplay
- initial attribute declared by typeMerchandisingCarouselComponent
at extensionmerchandisingaddon
_strategy
- initial attribute declared by typeMerchandisingCarouselComponent
at extensionmerchandisingaddon
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
MerchandisingCarouselComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public MerchandisingCarouselComponentModel(CatalogVersionModel _catalogVersion, int _numberToDisplay, ItemModel _owner, java.lang.String _strategy, java.lang.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 typeCMSItem
at extensioncms2
_numberToDisplay
- initial attribute declared by typeMerchandisingCarouselComponent
at extensionmerchandisingaddon
_owner
- initial attribute declared by typeItem
at extensioncore
_strategy
- initial attribute declared by typeMerchandisingCarouselComponent
at extensionmerchandisingaddon
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
-
Method Detail
-
getBackgroundColour
@Accessor(qualifier="backgroundColour", type=GETTER) public java.lang.String getBackgroundColour()
Generated method - Getter of theMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.- Returns:
- the backgroundColour - Carousel background colour.
-
getNumberToDisplay
@Accessor(qualifier="numberToDisplay", type=GETTER) public int getNumberToDisplay()
Generated method - Getter of theMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.- Returns:
- the numberToDisplay - How many items to show in the carousel.
-
getScroll
@Accessor(qualifier="scroll", type=GETTER) public ScrollType getScroll()
Generated method - Getter of theMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.- Returns:
- the scroll
-
getStrategy
@Accessor(qualifier="strategy", type=GETTER) public java.lang.String getStrategy()
Generated method - Getter of theMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.- Returns:
- the strategy - Strategy to use for carousel.
-
getTextColour
@Accessor(qualifier="textColour", type=GETTER) public java.lang.String getTextColour()
Generated method - Getter of theMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.- Returns:
- the textColour - Carousel text colour.
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theMerchandisingCarouselComponent.title
attribute defined at extensionmerchandisingaddon
.- Returns:
- the title - Carousel title.
-
setBackgroundColour
@Accessor(qualifier="backgroundColour", type=SETTER) public void setBackgroundColour(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.backgroundColour
attribute defined at extensionmerchandisingaddon
.- Parameters:
value
- the backgroundColour - Carousel background colour.
-
setNumberToDisplay
@Accessor(qualifier="numberToDisplay", type=SETTER) public void setNumberToDisplay(int value)
Generated method - Setter ofMerchandisingCarouselComponent.numberToDisplay
attribute defined at extensionmerchandisingaddon
.- Parameters:
value
- the numberToDisplay - How many items to show in the carousel.
-
setScroll
@Accessor(qualifier="scroll", type=SETTER) public void setScroll(ScrollType value)
Generated method - Setter ofMerchandisingCarouselComponent.scroll
attribute defined at extensionmerchandisingaddon
.- Parameters:
value
- the scroll
-
setStrategy
@Accessor(qualifier="strategy", type=SETTER) public void setStrategy(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.strategy
attribute defined at extensionmerchandisingaddon
.- Parameters:
value
- the strategy - Strategy to use for carousel.
-
setTextColour
@Accessor(qualifier="textColour", type=SETTER) public void setTextColour(java.lang.String value)
Generated method - Setter ofMerchandisingCarouselComponent.textColour
attribute defined at extensionmerchandisingaddon
.- Parameters:
value
- the textColour - Carousel text colour.
-
-