Class GeneratedAbstractRestriction

    • Field Detail

      • TYPE

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

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

        public static final java.lang.String PAGES
        Qualifier of the AbstractRestriction.pages attribute
        See Also:
        Constant Field Values
      • RESTRICTIONSFORPAGES_SRC_ORDERED

        protected static java.lang.String RESTRICTIONSFORPAGES_SRC_ORDERED
        Relation ordering override parameter constants for RestrictionsForPages from ((cms2))
      • RESTRICTIONSFORPAGES_TGT_ORDERED

        protected static java.lang.String RESTRICTIONSFORPAGES_TGT_ORDERED
      • RESTRICTIONSFORPAGES_MARKMODIFIED

        protected static java.lang.String RESTRICTIONSFORPAGES_MARKMODIFIED
        Relation disable markmodifed parameter constants for RestrictionsForPages from ((cms2))
      • COMPONENTS

        public static final java.lang.String COMPONENTS
        Qualifier of the AbstractRestriction.components 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))
      • INVERSERESTRICTIONS

        public static final java.lang.String INVERSERESTRICTIONS
        Qualifier of the AbstractRestriction.inverseRestrictions attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedAbstractRestriction

        public GeneratedAbstractRestriction()
    • Method Detail

      • getComponents

        public java.util.Collection<AbstractCMSComponent> getComponents​(SessionContext ctx)
        Generated method - Getter of the AbstractRestriction.components attribute.
        Returns:
        the components
      • getComponents

        public java.util.Collection<AbstractCMSComponent> getComponents()
        Generated method - Getter of the AbstractRestriction.components attribute.
        Returns:
        the components
      • getComponentsCount

        public long getComponentsCount​(SessionContext ctx)
      • getComponentsCount

        public long getComponentsCount()
      • setComponents

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

        public void setComponents​(java.util.Collection<AbstractCMSComponent> value)
        Generated method - Setter of the AbstractRestriction.components attribute.
        Parameters:
        value - the components
      • addToComponents

        public void addToComponents​(SessionContext ctx,
                                    AbstractCMSComponent value)
        Generated method - Adds value to components.
        Parameters:
        value - the item to add to components
      • addToComponents

        public void addToComponents​(AbstractCMSComponent value)
        Generated method - Adds value to components.
        Parameters:
        value - the item to add to components
      • removeFromComponents

        public void removeFromComponents​(SessionContext ctx,
                                         AbstractCMSComponent value)
        Generated method - Removes value from components.
        Parameters:
        value - the item to remove from components
      • removeFromComponents

        public void removeFromComponents​(AbstractCMSComponent value)
        Generated method - Removes value from components.
        Parameters:
        value - the item to remove from components
      • getInverseRestrictions

        public java.util.Collection<CMSInverseRestriction> getInverseRestrictions​(SessionContext ctx)
        Generated method - Getter of the AbstractRestriction.inverseRestrictions attribute.
        Returns:
        the inverseRestrictions
      • getInverseRestrictions

        public java.util.Collection<CMSInverseRestriction> getInverseRestrictions()
        Generated method - Getter of the AbstractRestriction.inverseRestrictions attribute.
        Returns:
        the inverseRestrictions
      • setInverseRestrictions

        public void setInverseRestrictions​(SessionContext ctx,
                                           java.util.Collection<CMSInverseRestriction> value)
        Generated method - Setter of the AbstractRestriction.inverseRestrictions attribute.
        Parameters:
        value - the inverseRestrictions
      • setInverseRestrictions

        public void setInverseRestrictions​(java.util.Collection<CMSInverseRestriction> value)
        Generated method - Setter of the AbstractRestriction.inverseRestrictions attribute.
        Parameters:
        value - the inverseRestrictions
      • addToInverseRestrictions

        public void addToInverseRestrictions​(SessionContext ctx,
                                             CMSInverseRestriction value)
        Generated method - Adds value to inverseRestrictions.
        Parameters:
        value - the item to add to inverseRestrictions
      • addToInverseRestrictions

        public void addToInverseRestrictions​(CMSInverseRestriction value)
        Generated method - Adds value to inverseRestrictions.
        Parameters:
        value - the item to add to inverseRestrictions
      • removeFromInverseRestrictions

        public void removeFromInverseRestrictions​(SessionContext ctx,
                                                  CMSInverseRestriction value)
        Generated method - Removes value from inverseRestrictions.
        Parameters:
        value - the item to remove from inverseRestrictions
      • removeFromInverseRestrictions

        public void removeFromInverseRestrictions​(CMSInverseRestriction value)
        Generated method - Removes value from inverseRestrictions.
        Parameters:
        value - the item to remove from inverseRestrictions
      • getPages

        public java.util.Collection<AbstractPage> getPages​(SessionContext ctx)
        Generated method - Getter of the AbstractRestriction.pages attribute.
        Returns:
        the pages
      • getPages

        public java.util.Collection<AbstractPage> getPages()
        Generated method - Getter of the AbstractRestriction.pages attribute.
        Returns:
        the pages
      • getPagesCount

        public long getPagesCount()
      • setPages

        public void setPages​(SessionContext ctx,
                             java.util.Collection<AbstractPage> value)
        Generated method - Setter of the AbstractRestriction.pages attribute.
        Parameters:
        value - the pages
      • setPages

        public void setPages​(java.util.Collection<AbstractPage> value)
        Generated method - Setter of the AbstractRestriction.pages attribute.
        Parameters:
        value - the pages
      • addToPages

        public void addToPages​(SessionContext ctx,
                               AbstractPage value)
        Generated method - Adds value to pages.
        Parameters:
        value - the item to add to pages
      • addToPages

        public void addToPages​(AbstractPage value)
        Generated method - Adds value to pages.
        Parameters:
        value - the item to add to pages
      • removeFromPages

        public void removeFromPages​(SessionContext ctx,
                                    AbstractPage value)
        Generated method - Removes value from pages.
        Parameters:
        value - the item to remove from pages
      • removeFromPages

        public void removeFromPages​(AbstractPage value)
        Generated method - Removes value from pages.
        Parameters:
        value - the item to remove from pages
      • getType

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

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

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

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

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

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