Class ContentSlotForTemplateModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentSlotForTemplateModel
    extends CMSRelationModel
    Generated model class for type ContentSlotForTemplate first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • ALLOWOVERWRITE

        public static final java.lang.String ALLOWOVERWRITE
        Generated constant - Attribute key of ContentSlotForTemplate.allowOverwrite attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • POSITION

        public static final java.lang.String POSITION
        Generated constant - Attribute key of ContentSlotForTemplate.position attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PAGETEMPLATE

        public static final java.lang.String PAGETEMPLATE
        Generated constant - Attribute key of ContentSlotForTemplate.pageTemplate attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • CONTENTSLOT

        public static final java.lang.String CONTENTSLOT
        Generated constant - Attribute key of ContentSlotForTemplate.contentSlot attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentSlotForTemplateModel

        public ContentSlotForTemplateModel()
        Generated constructor - Default constructor for generic creation.
      • ContentSlotForTemplateModel

        public ContentSlotForTemplateModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ContentSlotForTemplateModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentSlotForTemplateModel​(CatalogVersionModel _catalogVersion,
                                           ContentSlotModel _contentSlot,
                                           PageTemplateModel _pageTemplate,
                                           java.lang.String _position,
                                           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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSRelation at extension cms2
        _contentSlot - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _pageTemplate - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _position - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _uid - initial attribute declared by type CMSRelation at extension cms2
      • ContentSlotForTemplateModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentSlotForTemplateModel​(CatalogVersionModel _catalogVersion,
                                           ContentSlotModel _contentSlot,
                                           ItemModel _owner,
                                           PageTemplateModel _pageTemplate,
                                           java.lang.String _position,
                                           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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSRelation at extension cms2
        _contentSlot - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _pageTemplate - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _position - initial attribute declared by type ContentSlotForTemplate at extension cms2
        _uid - initial attribute declared by type CMSRelation at extension cms2
    • Method Detail

      • getAllowOverwrite

        @Accessor(qualifier="allowOverwrite",
                  type=GETTER)
        public java.lang.Boolean getAllowOverwrite()
        Generated method - Getter of the ContentSlotForTemplate.allowOverwrite attribute defined at extension cms2.
        Returns:
        the allowOverwrite
      • getContentSlot

        @Accessor(qualifier="contentSlot",
                  type=GETTER)
        public ContentSlotModel getContentSlot()
        Generated method - Getter of the ContentSlotForTemplate.contentSlot attribute defined at extension cms2.
        Returns:
        the contentSlot
      • getPageTemplate

        @Accessor(qualifier="pageTemplate",
                  type=GETTER)
        public PageTemplateModel getPageTemplate()
        Generated method - Getter of the ContentSlotForTemplate.pageTemplate attribute defined at extension cms2.
        Returns:
        the pageTemplate
      • getPosition

        @Accessor(qualifier="position",
                  type=GETTER)
        public java.lang.String getPosition()
        Generated method - Getter of the ContentSlotForTemplate.position attribute defined at extension cms2.
        Returns:
        the position
      • setAllowOverwrite

        @Accessor(qualifier="allowOverwrite",
                  type=SETTER)
        public void setAllowOverwrite​(java.lang.Boolean value)
        Generated method - Setter of ContentSlotForTemplate.allowOverwrite attribute defined at extension cms2.
        Parameters:
        value - the allowOverwrite
      • setContentSlot

        @Accessor(qualifier="contentSlot",
                  type=SETTER)
        public void setContentSlot​(ContentSlotModel value)
        Generated method - Setter of ContentSlotForTemplate.contentSlot attribute defined at extension cms2.
        Parameters:
        value - the contentSlot
      • setPageTemplate

        @Accessor(qualifier="pageTemplate",
                  type=SETTER)
        public void setPageTemplate​(PageTemplateModel value)
        Generated method - Setter of ContentSlotForTemplate.pageTemplate attribute defined at extension cms2.
        Parameters:
        value - the pageTemplate
      • setPosition

        @Accessor(qualifier="position",
                  type=SETTER)
        public void setPosition​(java.lang.String value)
        Generated method - Setter of ContentSlotForTemplate.position attribute defined at extension cms2.
        Parameters:
        value - the position