Class GeneratedContentSlot

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

public abstract class GeneratedContentSlot extends CMSItem
Generated class for type ContentSlot.
See Also:
  • Field Details

    • ACTIVE

      public static final String ACTIVE
      Qualifier of the ContentSlot.active attribute
      See Also:
    • ACTIVEFROM

      public static final String ACTIVEFROM
      Qualifier of the ContentSlot.activeFrom attribute
      See Also:
    • ACTIVEUNTIL

      public static final String ACTIVEUNTIL
      Qualifier of the ContentSlot.activeUntil attribute
      See Also:
    • CURRENTPOSITION

      public static final String CURRENTPOSITION
      Qualifier of the ContentSlot.currentPosition attribute
      See Also:
    • ORIGINALSLOT

      public static final String ORIGINALSLOT
      Qualifier of the ContentSlot.originalSlot attribute
      See Also:
    • CMSCOMPONENTS

      public static final String CMSCOMPONENTS
      Qualifier of the ContentSlot.cmsComponents 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))
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedContentSlot

      public GeneratedContentSlot()
  • Method Details

    • getDefaultAttributeModes

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

      public Boolean isActive(SessionContext ctx)
      Generated method - Getter of the ContentSlot.active attribute.
      Returns:
      the active
    • isActive

      public Boolean isActive()
      Generated method - Getter of the ContentSlot.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ContentSlot.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive()
      Generated method - Getter of the ContentSlot.active attribute.
      Returns:
      the active
    • setActive

      public void setActive(SessionContext ctx, Boolean value)
      Generated method - Setter of the ContentSlot.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(Boolean value)
      Generated method - Setter of the ContentSlot.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(SessionContext ctx, boolean value)
      Generated method - Setter of the ContentSlot.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(boolean value)
      Generated method - Setter of the ContentSlot.active attribute.
      Parameters:
      value - the active
    • getActiveFrom

      public Date getActiveFrom(SessionContext ctx)
      Generated method - Getter of the ContentSlot.activeFrom attribute.
      Returns:
      the activeFrom
    • getActiveFrom

      public Date getActiveFrom()
      Generated method - Getter of the ContentSlot.activeFrom attribute.
      Returns:
      the activeFrom
    • setActiveFrom

      public void setActiveFrom(SessionContext ctx, Date value)
      Generated method - Setter of the ContentSlot.activeFrom attribute.
      Parameters:
      value - the activeFrom
    • setActiveFrom

      public void setActiveFrom(Date value)
      Generated method - Setter of the ContentSlot.activeFrom attribute.
      Parameters:
      value - the activeFrom
    • getActiveUntil

      public Date getActiveUntil(SessionContext ctx)
      Generated method - Getter of the ContentSlot.activeUntil attribute.
      Returns:
      the activeUntil
    • getActiveUntil

      public Date getActiveUntil()
      Generated method - Getter of the ContentSlot.activeUntil attribute.
      Returns:
      the activeUntil
    • setActiveUntil

      public void setActiveUntil(SessionContext ctx, Date value)
      Generated method - Setter of the ContentSlot.activeUntil attribute.
      Parameters:
      value - the activeUntil
    • setActiveUntil

      public void setActiveUntil(Date value)
      Generated method - Setter of the ContentSlot.activeUntil attribute.
      Parameters:
      value - the activeUntil
    • getCmsComponents

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

      public List<AbstractCMSComponent> getCmsComponents()
      Generated method - Getter of the ContentSlot.cmsComponents attribute.
      Returns:
      the cmsComponents
    • getCmsComponentsCount

      public long getCmsComponentsCount(SessionContext ctx)
    • getCmsComponentsCount

      public long getCmsComponentsCount()
    • setCmsComponents

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

      public void setCmsComponents(List<AbstractCMSComponent> value)
      Generated method - Setter of the ContentSlot.cmsComponents attribute.
      Parameters:
      value - the cmsComponents
    • addToCmsComponents

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

      public void addToCmsComponents(AbstractCMSComponent value)
      Generated method - Adds value to cmsComponents.
      Parameters:
      value - the item to add to cmsComponents
    • removeFromCmsComponents

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

      public void removeFromCmsComponents(AbstractCMSComponent value)
      Generated method - Removes value from cmsComponents.
      Parameters:
      value - the item to remove from cmsComponents
    • getCurrentPosition

      public abstract String getCurrentPosition(SessionContext ctx)
      Generated method - Getter of the ContentSlot.currentPosition attribute.
      Returns:
      the currentPosition
    • getCurrentPosition

      public String getCurrentPosition()
      Generated method - Getter of the ContentSlot.currentPosition attribute.
      Returns:
      the currentPosition
    • setCurrentPosition

      public abstract void setCurrentPosition(SessionContext ctx, String value)
      Generated method - Setter of the ContentSlot.currentPosition attribute.
      Parameters:
      value - the currentPosition
    • setCurrentPosition

      public void setCurrentPosition(String value)
      Generated method - Setter of the ContentSlot.currentPosition attribute.
      Parameters:
      value - the currentPosition
    • 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
    • getOriginalSlot

      public ContentSlot getOriginalSlot(SessionContext ctx)
      Generated method - Getter of the ContentSlot.originalSlot attribute.
      Returns:
      the originalSlot - The slot to override.
    • getOriginalSlot

      public ContentSlot getOriginalSlot()
      Generated method - Getter of the ContentSlot.originalSlot attribute.
      Returns:
      the originalSlot - The slot to override.
    • setOriginalSlot

      public void setOriginalSlot(SessionContext ctx, ContentSlot value)
      Generated method - Setter of the ContentSlot.originalSlot attribute.
      Parameters:
      value - the originalSlot - The slot to override.
    • setOriginalSlot

      public void setOriginalSlot(ContentSlot value)
      Generated method - Setter of the ContentSlot.originalSlot attribute.
      Parameters:
      value - the originalSlot - The slot to override.