Class GeneratedAbstractCMSComponent

    • Field Detail

      • VISIBLE

        public static final java.lang.String VISIBLE
        Qualifier of the AbstractCMSComponent.visible attribute
        See Also:
        Constant Field Values
      • ONLYONERESTRICTIONMUSTAPPLY

        public static final java.lang.String ONLYONERESTRICTIONMUSTAPPLY
        Qualifier of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute
        See Also:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        Qualifier of the AbstractCMSComponent.type attribute
        See Also:
        Constant Field Values
      • TYPECODE

        public static final java.lang.String TYPECODE
        Qualifier of the AbstractCMSComponent.typeCode attribute
        See Also:
        Constant Field Values
      • CONTAINER

        public static final java.lang.String CONTAINER
        Qualifier of the AbstractCMSComponent.container attribute
        See Also:
        Constant Field Values
      • RESTRICTED

        public static final java.lang.String RESTRICTED
        Qualifier of the AbstractCMSComponent.restricted attribute
        See Also:
        Constant Field Values
      • SLOTS

        public static final java.lang.String SLOTS
        Qualifier of the AbstractCMSComponent.slots attribute
        See Also:
        Constant Field Values
      • ELEMENTSFORSLOT_SRC_ORDERED

        protected static java.lang.String ELEMENTSFORSLOT_SRC_ORDERED
        Relation ordering override parameter constants for ElementsForSlot from ((cms2))
      • ELEMENTSFORSLOT_TGT_ORDERED

        protected static java.lang.String ELEMENTSFORSLOT_TGT_ORDERED
      • ELEMENTSFORSLOT_MARKMODIFIED

        protected static java.lang.String ELEMENTSFORSLOT_MARKMODIFIED
        Relation disable markmodifed parameter constants for ElementsForSlot from ((cms2))
      • RESTRICTIONS

        public static final java.lang.String RESTRICTIONS
        Qualifier of the AbstractCMSComponent.restrictions attribute
        See Also:
        Constant Field Values
      • RESTRICTIONSFORCOMPONENTS_SRC_ORDERED

        protected static java.lang.String RESTRICTIONSFORCOMPONENTS_SRC_ORDERED
        Relation ordering override parameter constants for RestrictionsForComponents from ((cms2))
      • RESTRICTIONSFORCOMPONENTS_TGT_ORDERED

        protected static java.lang.String RESTRICTIONSFORCOMPONENTS_TGT_ORDERED
      • RESTRICTIONSFORCOMPONENTS_MARKMODIFIED

        protected static java.lang.String RESTRICTIONSFORCOMPONENTS_MARKMODIFIED
        Relation disable markmodifed parameter constants for RestrictionsForComponents from ((cms2))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAbstractCMSComponent

        public GeneratedAbstractCMSComponent()
    • Method Detail

      • isContainer

        public abstract java.lang.Boolean isContainer​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.container attribute.
        Returns:
        the container
      • isContainer

        public java.lang.Boolean isContainer()
        Generated method - Getter of the AbstractCMSComponent.container attribute.
        Returns:
        the container
      • isContainerAsPrimitive

        public boolean isContainerAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.container attribute.
        Returns:
        the container
      • isContainerAsPrimitive

        public boolean isContainerAsPrimitive()
        Generated method - Getter of the AbstractCMSComponent.container attribute.
        Returns:
        the container
      • isOnlyOneRestrictionMustApply

        public java.lang.Boolean isOnlyOneRestrictionMustApply​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApply

        public java.lang.Boolean isOnlyOneRestrictionMustApply()
        Generated method - Getter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApplyAsPrimitive

        public boolean isOnlyOneRestrictionMustApplyAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApplyAsPrimitive

        public boolean isOnlyOneRestrictionMustApplyAsPrimitive()
        Generated method - Getter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(SessionContext ctx,
                                                   java.lang.Boolean value)
        Generated method - Setter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(java.lang.Boolean value)
        Generated method - Setter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(SessionContext ctx,
                                                   boolean value)
        Generated method - Setter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(boolean value)
        Generated method - Setter of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • isRestricted

        public abstract java.lang.Boolean isRestricted​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.restricted attribute.
        Returns:
        the restricted
      • isRestricted

        public java.lang.Boolean isRestricted()
        Generated method - Getter of the AbstractCMSComponent.restricted attribute.
        Returns:
        the restricted
      • isRestrictedAsPrimitive

        public boolean isRestrictedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.restricted attribute.
        Returns:
        the restricted
      • isRestrictedAsPrimitive

        public boolean isRestrictedAsPrimitive()
        Generated method - Getter of the AbstractCMSComponent.restricted attribute.
        Returns:
        the restricted
      • getRestrictions

        public java.util.List<AbstractRestriction> getRestrictions​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.restrictions attribute.
        Returns:
        the restrictions
      • getRestrictions

        public java.util.List<AbstractRestriction> getRestrictions()
        Generated method - Getter of the AbstractCMSComponent.restrictions attribute.
        Returns:
        the restrictions
      • getRestrictionsCount

        public long getRestrictionsCount​(SessionContext ctx)
      • getRestrictionsCount

        public long getRestrictionsCount()
      • setRestrictions

        public void setRestrictions​(SessionContext ctx,
                                    java.util.List<AbstractRestriction> value)
        Generated method - Setter of the AbstractCMSComponent.restrictions attribute.
        Parameters:
        value - the restrictions
      • setRestrictions

        public void setRestrictions​(java.util.List<AbstractRestriction> value)
        Generated method - Setter of the AbstractCMSComponent.restrictions attribute.
        Parameters:
        value - the restrictions
      • addToRestrictions

        public void addToRestrictions​(SessionContext ctx,
                                      AbstractRestriction value)
        Generated method - Adds value to restrictions.
        Parameters:
        value - the item to add to restrictions
      • addToRestrictions

        public void addToRestrictions​(AbstractRestriction value)
        Generated method - Adds value to restrictions.
        Parameters:
        value - the item to add to restrictions
      • removeFromRestrictions

        public void removeFromRestrictions​(SessionContext ctx,
                                           AbstractRestriction value)
        Generated method - Removes value from restrictions.
        Parameters:
        value - the item to remove from restrictions
      • removeFromRestrictions

        public void removeFromRestrictions​(AbstractRestriction value)
        Generated method - Removes value from restrictions.
        Parameters:
        value - the item to remove from restrictions
      • getSlots

        public java.util.Collection<ContentSlot> getSlots​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.slots attribute.
        Returns:
        the slots
      • getSlots

        public java.util.Collection<ContentSlot> getSlots()
        Generated method - Getter of the AbstractCMSComponent.slots attribute.
        Returns:
        the slots
      • getSlotsCount

        public long getSlotsCount()
      • setSlots

        public void setSlots​(SessionContext ctx,
                             java.util.Collection<ContentSlot> value)
        Generated method - Setter of the AbstractCMSComponent.slots attribute.
        Parameters:
        value - the slots
      • setSlots

        public void setSlots​(java.util.Collection<ContentSlot> value)
        Generated method - Setter of the AbstractCMSComponent.slots attribute.
        Parameters:
        value - the slots
      • addToSlots

        public void addToSlots​(SessionContext ctx,
                               ContentSlot value)
        Generated method - Adds value to slots.
        Parameters:
        value - the item to add to slots
      • addToSlots

        public void addToSlots​(ContentSlot value)
        Generated method - Adds value to slots.
        Parameters:
        value - the item to add to slots
      • removeFromSlots

        public void removeFromSlots​(SessionContext ctx,
                                    ContentSlot value)
        Generated method - Removes value from slots.
        Parameters:
        value - the item to remove from slots
      • removeFromSlots

        public void removeFromSlots​(ContentSlot value)
        Generated method - Removes value from slots.
        Parameters:
        value - the item to remove from slots
      • getType

        public abstract java.lang.String getType​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.type attribute.
        Returns:
        the type
      • getType

        public java.lang.String getType()
        Generated method - Getter of the AbstractCMSComponent.type attribute.
        Returns:
        the type
      • getAllType

        public abstract java.util.Map<Language,​java.lang.String> getAllType​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.type attribute.
        Returns:
        the localized type
      • getAllType

        public java.util.Map<Language,​java.lang.String> getAllType()
        Generated method - Getter of the AbstractCMSComponent.type attribute.
        Returns:
        the localized type
      • getTypeCode

        public abstract java.lang.String getTypeCode​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.typeCode attribute.
        Returns:
        the typeCode
      • getTypeCode

        public java.lang.String getTypeCode()
        Generated method - Getter of the AbstractCMSComponent.typeCode attribute.
        Returns:
        the typeCode
      • isVisible

        public java.lang.Boolean isVisible​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.visible attribute.
        Returns:
        the visible
      • isVisible

        public java.lang.Boolean isVisible()
        Generated method - Getter of the AbstractCMSComponent.visible attribute.
        Returns:
        the visible
      • isVisibleAsPrimitive

        public boolean isVisibleAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractCMSComponent.visible attribute.
        Returns:
        the visible
      • isVisibleAsPrimitive

        public boolean isVisibleAsPrimitive()
        Generated method - Getter of the AbstractCMSComponent.visible attribute.
        Returns:
        the visible
      • setVisible

        public void setVisible​(SessionContext ctx,
                               java.lang.Boolean value)
        Generated method - Setter of the AbstractCMSComponent.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(java.lang.Boolean value)
        Generated method - Setter of the AbstractCMSComponent.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(SessionContext ctx,
                               boolean value)
        Generated method - Setter of the AbstractCMSComponent.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(boolean value)
        Generated method - Setter of the AbstractCMSComponent.visible attribute.
        Parameters:
        value - the visible