Class GeneratedAbstractCMSComponent

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
AbstractCMSComponent

public abstract class GeneratedAbstractCMSComponent extends CMSItem
Generated class for type AbstractCMSComponent.
See Also:
  • Field Details

    • VISIBLE

      public static final String VISIBLE
      Qualifier of the AbstractCMSComponent.visible attribute
      See Also:
    • ONLYONERESTRICTIONMUSTAPPLY

      public static final String ONLYONERESTRICTIONMUSTAPPLY
      Qualifier of the AbstractCMSComponent.onlyOneRestrictionMustApply attribute
      See Also:
    • STYLECLASSES

      public static final String STYLECLASSES
      Qualifier of the AbstractCMSComponent.styleClasses attribute
      See Also:
    • TYPE

      public static final String TYPE
      Qualifier of the AbstractCMSComponent.type attribute
      See Also:
    • TYPECODE

      public static final String TYPECODE
      Qualifier of the AbstractCMSComponent.typeCode attribute
      See Also:
    • CONTAINER

      public static final String CONTAINER
      Qualifier of the AbstractCMSComponent.container attribute
      See Also:
    • RESTRICTED

      public static final String RESTRICTED
      Qualifier of the AbstractCMSComponent.restricted attribute
      See Also:
    • SLOTS

      public static final String SLOTS
      Qualifier of the AbstractCMSComponent.slots attribute
      See Also:
    • ELEMENTSFORSLOT_SRC_ORDERED

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

      protected static String ELEMENTSFORSLOT_TGT_ORDERED
    • ELEMENTSFORSLOT_MARKMODIFIED

      protected static String ELEMENTSFORSLOT_MARKMODIFIED
      Relation disable markmodifed parameter constants for ElementsForSlot from ((cms2))
    • PARENTS

      public static final String PARENTS
      Qualifier of the AbstractCMSComponent.parents attribute
      See Also:
    • CMSCOMPONENTCHILDRENFORCMSCOMPONENT_SRC_ORDERED

      protected static String CMSCOMPONENTCHILDRENFORCMSCOMPONENT_SRC_ORDERED
      Relation ordering override parameter constants for CMSComponentChildrenForCMSComponent from ((cms2))
    • CMSCOMPONENTCHILDRENFORCMSCOMPONENT_TGT_ORDERED

      protected static String CMSCOMPONENTCHILDRENFORCMSCOMPONENT_TGT_ORDERED
    • CMSCOMPONENTCHILDRENFORCMSCOMPONENT_MARKMODIFIED

      protected static String CMSCOMPONENTCHILDRENFORCMSCOMPONENT_MARKMODIFIED
      Relation disable markmodifed parameter constants for CMSComponentChildrenForCMSComponent from ((cms2))
    • CHILDREN

      public static final String CHILDREN
      Qualifier of the AbstractCMSComponent.children attribute
      See Also:
    • RESTRICTIONS

      public static final String RESTRICTIONS
      Qualifier of the AbstractCMSComponent.restrictions attribute
      See Also:
    • RESTRICTIONSFORCOMPONENTS_SRC_ORDERED

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

      protected static String RESTRICTIONSFORCOMPONENTS_TGT_ORDERED
    • RESTRICTIONSFORCOMPONENTS_MARKMODIFIED

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

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedAbstractCMSComponent

      public GeneratedAbstractCMSComponent()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedCMSItem
    • getChildren

      public List<AbstractCMSComponent> getChildren(SessionContext ctx)
      Generated method - Getter of the AbstractCMSComponent.children attribute.
      Returns:
      the children
    • getChildren

      public List<AbstractCMSComponent> getChildren()
      Generated method - Getter of the AbstractCMSComponent.children attribute.
      Returns:
      the children
    • getChildrenCount

      public long getChildrenCount(SessionContext ctx)
    • getChildrenCount

      public long getChildrenCount()
    • setChildren

      public void setChildren(SessionContext ctx, List<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractCMSComponent.children attribute.
      Parameters:
      value - the children
    • setChildren

      public void setChildren(List<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractCMSComponent.children attribute.
      Parameters:
      value - the children
    • addToChildren

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

      public void addToChildren(AbstractCMSComponent value)
      Generated method - Adds value to children.
      Parameters:
      value - the item to add to children
    • removeFromChildren

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

      public void removeFromChildren(AbstractCMSComponent value)
      Generated method - Removes value from children.
      Parameters:
      value - the item to remove from children
    • isContainer

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

      public 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
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • isOnlyOneRestrictionMustApply

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

      public 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, 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
    • 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
    • getParents

      public List<AbstractCMSComponent> getParents(SessionContext ctx)
      Generated method - Getter of the AbstractCMSComponent.parents attribute.
      Returns:
      the parents
    • getParents

      public List<AbstractCMSComponent> getParents()
      Generated method - Getter of the AbstractCMSComponent.parents attribute.
      Returns:
      the parents
    • getParentsCount

      public long getParentsCount(SessionContext ctx)
    • getParentsCount

      public long getParentsCount()
    • setParents

      public void setParents(SessionContext ctx, List<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractCMSComponent.parents attribute.
      Parameters:
      value - the parents
    • setParents

      public void setParents(List<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractCMSComponent.parents attribute.
      Parameters:
      value - the parents
    • addToParents

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

      public void addToParents(AbstractCMSComponent value)
      Generated method - Adds value to parents.
      Parameters:
      value - the item to add to parents
    • removeFromParents

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

      public void removeFromParents(AbstractCMSComponent value)
      Generated method - Removes value from parents.
      Parameters:
      value - the item to remove from parents
    • isRestricted

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

      public 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 List<AbstractRestriction> getRestrictions(SessionContext ctx)
      Generated method - Getter of the AbstractCMSComponent.restrictions attribute.
      Returns:
      the restrictions
    • getRestrictions

      public 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, List<AbstractRestriction> value)
      Generated method - Setter of the AbstractCMSComponent.restrictions attribute.
      Parameters:
      value - the restrictions
    • setRestrictions

      public void setRestrictions(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 Collection<ContentSlot> getSlots(SessionContext ctx)
      Generated method - Getter of the AbstractCMSComponent.slots attribute.
      Returns:
      the slots
    • getSlots

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

      public long getSlotsCount(SessionContext ctx)
    • getSlotsCount

      public long getSlotsCount()
    • setSlots

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

      public void setSlots(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
    • getStyleClasses

      public String getStyleClasses(SessionContext ctx)
      Generated method - Getter of the AbstractCMSComponent.styleClasses attribute.
      Returns:
      the styleClasses
    • getStyleClasses

      public String getStyleClasses()
      Generated method - Getter of the AbstractCMSComponent.styleClasses attribute.
      Returns:
      the styleClasses
    • setStyleClasses

      public void setStyleClasses(SessionContext ctx, String value)
      Generated method - Setter of the AbstractCMSComponent.styleClasses attribute.
      Parameters:
      value - the styleClasses
    • setStyleClasses

      public void setStyleClasses(String value)
      Generated method - Setter of the AbstractCMSComponent.styleClasses attribute.
      Parameters:
      value - the styleClasses
    • getType

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

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

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

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

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

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

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

      public 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, 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
    • 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