Class GeneratedCatalogRestriction

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

public abstract class GeneratedCatalogRestriction extends AbstractRestriction
Generated class for type CMSCatalogRestriction.
See Also:
  • Field Details

    • CATALOGS

      public static final String CATALOGS
      Qualifier of the CMSCatalogRestriction.catalogs attribute
      See Also:
    • CATALOGSFORRESTRICTION_SRC_ORDERED

      protected static String CATALOGSFORRESTRICTION_SRC_ORDERED
      Relation ordering override parameter constants for CatalogsForRestriction from ((cms2))
    • CATALOGSFORRESTRICTION_TGT_ORDERED

      protected static String CATALOGSFORRESTRICTION_TGT_ORDERED
    • CATALOGSFORRESTRICTION_MARKMODIFIED

      protected static String CATALOGSFORRESTRICTION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CatalogsForRestriction from ((cms2))
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedCatalogRestriction

      public GeneratedCatalogRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<Catalog> getCatalogs(SessionContext ctx)
      Generated method - Getter of the CMSCatalogRestriction.catalogs attribute.
      Returns:
      the catalogs
    • getCatalogs

      public Collection<Catalog> getCatalogs()
      Generated method - Getter of the CMSCatalogRestriction.catalogs attribute.
      Returns:
      the catalogs
    • getCatalogsCount

      public long getCatalogsCount(SessionContext ctx)
    • getCatalogsCount

      public long getCatalogsCount()
    • setCatalogs

      public void setCatalogs(SessionContext ctx, Collection<Catalog> value)
      Generated method - Setter of the CMSCatalogRestriction.catalogs attribute.
      Parameters:
      value - the catalogs
    • setCatalogs

      public void setCatalogs(Collection<Catalog> value)
      Generated method - Setter of the CMSCatalogRestriction.catalogs attribute.
      Parameters:
      value - the catalogs
    • addToCatalogs

      public void addToCatalogs(SessionContext ctx, Catalog value)
      Generated method - Adds value to catalogs.
      Parameters:
      value - the item to add to catalogs
    • addToCatalogs

      public void addToCatalogs(Catalog value)
      Generated method - Adds value to catalogs.
      Parameters:
      value - the item to add to catalogs
    • removeFromCatalogs

      public void removeFromCatalogs(SessionContext ctx, Catalog value)
      Generated method - Removes value from catalogs.
      Parameters:
      value - the item to remove from catalogs
    • removeFromCatalogs

      public void removeFromCatalogs(Catalog value)
      Generated method - Removes value from catalogs.
      Parameters:
      value - the item to remove from catalogs
    • 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 GeneratedAbstractRestriction