Class AbstractCMSActionModel
- 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.acceleratorcms.model.actions.AbstractCMSActionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SimpleCMSActionModel
public class AbstractCMSActionModel extends SimpleCMSComponentModel
Generated model class for type AbstractCMSAction first defined at extension acceleratorcms.- 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_CMSACTIONSFORCMSCOMPONENTSGenerated relation code constant for relationCmsActionsForCmsComponentsdefining source attributecomponentsin extensionacceleratorcms.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMPONENTSGenerated constant - Attribute key ofAbstractCMSAction.componentsattribute defined at extensionacceleratorcms.static java.lang.StringURLGenerated constant - Attribute key ofAbstractCMSAction.urlattribute defined at extensionacceleratorcms.-
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 AbstractCMSActionModel()Generated constructor - Default constructor for generic creation.AbstractCMSActionModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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 parametersAbstractCMSActionModel(CatalogVersionModel _catalogVersion, 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 parametersAbstractCMSActionModel(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.util.Collection<AbstractCMSComponentModel>getComponents()Generated method - Getter of theAbstractCMSAction.componentsattribute defined at extensionacceleratorcms.java.lang.StringgetUrl()Generated method - Getter of theAbstractCMSAction.urlattribute defined at extensionacceleratorcms.voidsetComponents(java.util.Collection<AbstractCMSComponentModel> value)Generated method - Setter ofAbstractCMSAction.componentsattribute defined at extensionacceleratorcms.voidsetUrl(java.lang.String value)Generated method - Setter ofAbstractCMSAction.urlattribute defined at extensionacceleratorcms.-
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
-
_CMSACTIONSFORCMSCOMPONENTS
public static final java.lang.String _CMSACTIONSFORCMSCOMPONENTS
Generated relation code constant for relationCmsActionsForCmsComponentsdefining source attributecomponentsin extensionacceleratorcms.- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
Generated constant - Attribute key ofAbstractCMSAction.urlattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
COMPONENTS
public static final java.lang.String COMPONENTS
Generated constant - Attribute key ofAbstractCMSAction.componentsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractCMSActionModel
public AbstractCMSActionModel()
Generated constructor - Default constructor for generic creation.
-
AbstractCMSActionModel
public AbstractCMSActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractCMSActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractCMSActionModel(CatalogVersionModel _catalogVersion, 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 typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
AbstractCMSActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractCMSActionModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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 typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getComponents
@Accessor(qualifier="components", type=GETTER) public java.util.Collection<AbstractCMSComponentModel> getComponents()
Generated method - Getter of theAbstractCMSAction.componentsattribute defined at extensionacceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the components
-
getUrl
@Accessor(qualifier="url", type=GETTER) public java.lang.String getUrl()
Generated method - Getter of theAbstractCMSAction.urlattribute defined at extensionacceleratorcms.- Returns:
- the url
-
setComponents
@Accessor(qualifier="components", type=SETTER) public void setComponents(java.util.Collection<AbstractCMSComponentModel> value)
Generated method - Setter ofAbstractCMSAction.componentsattribute defined at extensionacceleratorcms.- Parameters:
value- the components
-
-