Class AbstractCMSComponentModel
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractCMSComponentContainerModel,SimpleCMSComponentModel
Generated model class for type AbstractCMSComponent first defined at extension cms2.
- 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 relation code constant for relationCMSComponentChildrenForCMSComponentdefining source attributeparentsin extensioncms2.static final StringGenerated relation code constant for relationElementsForSlotdefining source attributeslotsin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.childrenattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.containerattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.parentsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.restrictedattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.restrictionsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.slotsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.styleClassesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.typeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.typeCodeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofAbstractCMSComponent.visibleattribute defined at extensioncms2.Fields 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.AbstractCMSComponentModel(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 parametersAbstractCMSComponentModel(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 parametersAbstractCMSComponentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms.Generated method - Getter of theAbstractCMSComponent.childrenattribute defined at extensioncms2.Generated method - Getter of theAbstractCMSComponent.parentsattribute defined at extensioncms2.Generated method - Getter of theAbstractCMSComponent.restrictionsattribute defined at extensioncms2.getSlots()Generated method - Getter of theAbstractCMSComponent.slotsattribute defined at extensioncms2.Generated method - Getter of theAbstractCMSComponent.styleClassesattribute defined at extensioncms2.getType()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractCMSComponent.visibleattribute defined at extensioncms2.booleanDeprecated, for removal: This API element is subject to removal in a future version.since 4.3booleanGenerated method - Getter of theAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.booleanDeprecated, for removal: This API element is subject to removal in a future version.since 4.3voidsetActions(List<AbstractCMSActionModel> value) Generated method - Setter ofAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms.voidsetChildren(List<AbstractCMSComponentModel> value) Generated method - Setter ofAbstractCMSComponent.childrenattribute defined at extensioncms2.voidsetOnlyOneRestrictionMustApply(boolean value) Generated method - Setter ofAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.voidsetParents(List<AbstractCMSComponentModel> value) Generated method - Setter ofAbstractCMSComponent.parentsattribute defined at extensioncms2.voidGenerated method - Setter ofAbstractCMSComponent.restrictionsattribute defined at extensioncms2.voidsetSlots(Collection<ContentSlotModel> value) Generated method - Setter ofAbstractCMSComponent.slotsattribute defined at extensioncms2.voidsetStyleClasses(String value) Generated method - Setter ofAbstractCMSComponent.styleClassesattribute defined at extensioncms2.voidsetVisible(Boolean value) Generated method - Setter ofAbstractCMSComponent.visibleattribute defined at extensioncms2.Methods 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:
-
_ELEMENTSFORSLOT
Generated relation code constant for relationElementsForSlotdefining source attributeslotsin extensioncms2.- See Also:
-
_CMSCOMPONENTCHILDRENFORCMSCOMPONENT
Generated relation code constant for relationCMSComponentChildrenForCMSComponentdefining source attributeparentsin extensioncms2.- See Also:
-
VISIBLE
Generated constant - Attribute key ofAbstractCMSComponent.visibleattribute defined at extensioncms2.- See Also:
-
ONLYONERESTRICTIONMUSTAPPLY
Generated constant - Attribute key ofAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- See Also:
-
STYLECLASSES
Generated constant - Attribute key ofAbstractCMSComponent.styleClassesattribute defined at extensioncms2.- See Also:
-
TYPE
Generated constant - Attribute key ofAbstractCMSComponent.typeattribute defined at extensioncms2.- See Also:
-
TYPECODE
Generated constant - Attribute key ofAbstractCMSComponent.typeCodeattribute defined at extensioncms2.- See Also:
-
CONTAINER
Generated constant - Attribute key ofAbstractCMSComponent.containerattribute defined at extensioncms2.- See Also:
-
RESTRICTED
Generated constant - Attribute key ofAbstractCMSComponent.restrictedattribute defined at extensioncms2.- See Also:
-
SLOTS
Generated constant - Attribute key ofAbstractCMSComponent.slotsattribute defined at extensioncms2.- See Also:
-
PARENTS
Generated constant - Attribute key ofAbstractCMSComponent.parentsattribute defined at extensioncms2.- See Also:
-
CHILDREN
Generated constant - Attribute key ofAbstractCMSComponent.childrenattribute defined at extensioncms2.- See Also:
-
RESTRICTIONS
Generated constant - Attribute key ofAbstractCMSComponent.restrictionsattribute defined at extensioncms2.- See Also:
-
ACTIONS
Generated constant - Attribute key ofAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms.- See Also:
-
-
Constructor Details
-
AbstractCMSComponentModel
public AbstractCMSComponentModel()Generated constructor - Default constructor for generic creation. -
AbstractCMSComponentModel
public AbstractCMSComponentModel(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
-
AbstractCMSComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractCMSComponentModel(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
-
AbstractCMSComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractCMSComponentModel(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
-
getActions
Generated method - Getter of theAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the actions
-
getChildren
Generated method - Getter of theAbstractCMSComponent.childrenattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the children
-
getParents
Generated method - Getter of theAbstractCMSComponent.parentsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the parents
-
getRestrictions
@Accessor(qualifier="restrictions", type=GETTER) public List<AbstractRestrictionModel> getRestrictions()Generated method - Getter of theAbstractCMSComponent.restrictionsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictions
-
getSlots
Generated method - Getter of theAbstractCMSComponent.slotsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the slots
-
getStyleClasses
Generated method - Getter of theAbstractCMSComponent.styleClassesattribute defined at extensioncms2.- Returns:
- the styleClasses
-
getType
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="type", type=GETTER) public String getType()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractCMSComponent.typeattribute defined at extensioncms2.- Returns:
- the type
-
getType
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="type", type=GETTER) public String getType(Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAbstractCMSComponent.typeattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the type
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getTypeCode
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="typeCode", type=GETTER) public String getTypeCode()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractCMSComponent.typeCodeattribute defined at extensioncms2.- Returns:
- the typeCode
-
getVisible
Generated method - Getter of theAbstractCMSComponent.visibleattribute defined at extensioncms2.- Returns:
- the visible
-
isContainer
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="container", type=GETTER) public boolean isContainer()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractCMSComponent.containerattribute defined at extensioncms2.- Returns:
- the container
-
isOnlyOneRestrictionMustApply
@Accessor(qualifier="onlyOneRestrictionMustApply", type=GETTER) public boolean isOnlyOneRestrictionMustApply()Generated method - Getter of theAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- Returns:
- the onlyOneRestrictionMustApply
-
isRestricted
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="restricted", type=GETTER) public boolean isRestricted()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractCMSComponent.restrictedattribute defined at extensioncms2.- Returns:
- the restricted
-
setActions
@Accessor(qualifier="actions", type=SETTER) public void setActions(List<AbstractCMSActionModel> value) Generated method - Setter ofAbstractCMSComponent.actionsattribute defined at extensionacceleratorcms.- Parameters:
value- the actions
-
setChildren
@Accessor(qualifier="children", type=SETTER) public void setChildren(List<AbstractCMSComponentModel> value) Generated method - Setter ofAbstractCMSComponent.childrenattribute defined at extensioncms2.- Parameters:
value- the children
-
setOnlyOneRestrictionMustApply
@Accessor(qualifier="onlyOneRestrictionMustApply", type=SETTER) public void setOnlyOneRestrictionMustApply(boolean value) Generated method - Setter ofAbstractCMSComponent.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- Parameters:
value- the onlyOneRestrictionMustApply
-
setParents
@Accessor(qualifier="parents", type=SETTER) public void setParents(List<AbstractCMSComponentModel> value) Generated method - Setter ofAbstractCMSComponent.parentsattribute defined at extensioncms2.- Parameters:
value- the parents
-
setRestrictions
@Accessor(qualifier="restrictions", type=SETTER) public void setRestrictions(List<AbstractRestrictionModel> value) Generated method - Setter ofAbstractCMSComponent.restrictionsattribute defined at extensioncms2.- Parameters:
value- the restrictions
-
setSlots
Generated method - Setter ofAbstractCMSComponent.slotsattribute defined at extensioncms2.- Parameters:
value- the slots
-
setStyleClasses
Generated method - Setter ofAbstractCMSComponent.styleClassesattribute defined at extensioncms2.- Parameters:
value- the styleClasses
-
setVisible
Generated method - Setter ofAbstractCMSComponent.visibleattribute defined at extensioncms2.- Parameters:
value- the visible
-