Class GeneratedContentCatalog

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

public abstract class GeneratedContentCatalog extends Catalog
Generated class for type ContentCatalog.
See Also:
  • Field Details

    • CATALOGLEVELNAME

      public static final String CATALOGLEVELNAME
      Qualifier of the ContentCatalog.catalogLevelName attribute
      See Also:
    • CMSSITES

      public static final String CMSSITES
      Qualifier of the ContentCatalog.cmsSites attribute
      See Also:
    • CATALOGSFORCMSSITE_SRC_ORDERED

      protected static String CATALOGSFORCMSSITE_SRC_ORDERED
      Relation ordering override parameter constants for CatalogsForCMSSite from ((cms2))
    • CATALOGSFORCMSSITE_TGT_ORDERED

      protected static String CATALOGSFORCMSSITE_TGT_ORDERED
    • CATALOGSFORCMSSITE_MARKMODIFIED

      protected static String CATALOGSFORCMSSITE_MARKMODIFIED
      Relation disable markmodifed parameter constants for CatalogsForCMSSite from ((cms2))
    • SUPERCATALOG

      public static final String SUPERCATALOG
      Qualifier of the ContentCatalog.superCatalog attribute
      See Also:
    • SUBCATALOGS

      public static final String SUBCATALOGS
      Qualifier of the ContentCatalog.subCatalogs attribute
      See Also:
    • SUPERCATALOGHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedContentCatalog> SUPERCATALOGHANDLER
      BidirectionalOneToManyHandler for handling 1:n SUPERCATALOG's relation attributes from 'one' side.
    • SUBCATALOGSHANDLER

      protected static final OneToManyHandler<ContentCatalog> SUBCATALOGSHANDLER
      OneToManyHandler for handling 1:n SUBCATALOGS's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedContentCatalog

      public GeneratedContentCatalog()
  • Method Details

    • getDefaultAttributeModes

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

      public String getCatalogLevelName(SessionContext ctx)
      Generated method - Getter of the ContentCatalog.catalogLevelName attribute.
      Returns:
      the catalogLevelName
    • getCatalogLevelName

      public String getCatalogLevelName()
      Generated method - Getter of the ContentCatalog.catalogLevelName attribute.
      Returns:
      the catalogLevelName
    • getAllCatalogLevelName

      public Map<Language,String> getAllCatalogLevelName(SessionContext ctx)
      Generated method - Getter of the ContentCatalog.catalogLevelName attribute.
      Returns:
      the localized catalogLevelName
    • getAllCatalogLevelName

      public Map<Language,String> getAllCatalogLevelName()
      Generated method - Getter of the ContentCatalog.catalogLevelName attribute.
      Returns:
      the localized catalogLevelName
    • setCatalogLevelName

      public void setCatalogLevelName(SessionContext ctx, String value)
      Generated method - Setter of the ContentCatalog.catalogLevelName attribute.
      Parameters:
      value - the catalogLevelName
    • setCatalogLevelName

      public void setCatalogLevelName(String value)
      Generated method - Setter of the ContentCatalog.catalogLevelName attribute.
      Parameters:
      value - the catalogLevelName
    • setAllCatalogLevelName

      public void setAllCatalogLevelName(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the ContentCatalog.catalogLevelName attribute.
      Parameters:
      value - the catalogLevelName
    • setAllCatalogLevelName

      public void setAllCatalogLevelName(Map<Language,String> value)
      Generated method - Setter of the ContentCatalog.catalogLevelName attribute.
      Parameters:
      value - the catalogLevelName
    • getCmsSites

      public Collection<CMSSite> getCmsSites(SessionContext ctx)
      Generated method - Getter of the ContentCatalog.cmsSites attribute.
      Returns:
      the cmsSites
    • getCmsSites

      public Collection<CMSSite> getCmsSites()
      Generated method - Getter of the ContentCatalog.cmsSites attribute.
      Returns:
      the cmsSites
    • getCmsSitesCount

      public long getCmsSitesCount(SessionContext ctx)
    • getCmsSitesCount

      public long getCmsSitesCount()
    • setCmsSites

      public void setCmsSites(SessionContext ctx, Collection<CMSSite> value)
      Generated method - Setter of the ContentCatalog.cmsSites attribute.
      Parameters:
      value - the cmsSites
    • setCmsSites

      public void setCmsSites(Collection<CMSSite> value)
      Generated method - Setter of the ContentCatalog.cmsSites attribute.
      Parameters:
      value - the cmsSites
    • addToCmsSites

      public void addToCmsSites(SessionContext ctx, CMSSite value)
      Generated method - Adds value to cmsSites.
      Parameters:
      value - the item to add to cmsSites
    • addToCmsSites

      public void addToCmsSites(CMSSite value)
      Generated method - Adds value to cmsSites.
      Parameters:
      value - the item to add to cmsSites
    • removeFromCmsSites

      public void removeFromCmsSites(SessionContext ctx, CMSSite value)
      Generated method - Removes value from cmsSites.
      Parameters:
      value - the item to remove from cmsSites
    • removeFromCmsSites

      public void removeFromCmsSites(CMSSite value)
      Generated method - Removes value from cmsSites.
      Parameters:
      value - the item to remove from cmsSites
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class Catalog
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • 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
    • getSubCatalogs

      public Set<ContentCatalog> getSubCatalogs(SessionContext ctx)
      Generated method - Getter of the ContentCatalog.subCatalogs attribute.
      Returns:
      the subCatalogs - Sub Catalogs
    • getSubCatalogs

      public Set<ContentCatalog> getSubCatalogs()
      Generated method - Getter of the ContentCatalog.subCatalogs attribute.
      Returns:
      the subCatalogs - Sub Catalogs
    • setSubCatalogs

      public void setSubCatalogs(SessionContext ctx, Set<ContentCatalog> value)
      Generated method - Setter of the ContentCatalog.subCatalogs attribute.
      Parameters:
      value - the subCatalogs - Sub Catalogs
    • setSubCatalogs

      public void setSubCatalogs(Set<ContentCatalog> value)
      Generated method - Setter of the ContentCatalog.subCatalogs attribute.
      Parameters:
      value - the subCatalogs - Sub Catalogs
    • addToSubCatalogs

      public void addToSubCatalogs(SessionContext ctx, ContentCatalog value)
      Generated method - Adds value to subCatalogs.
      Parameters:
      value - the item to add to subCatalogs - Sub Catalogs
    • addToSubCatalogs

      public void addToSubCatalogs(ContentCatalog value)
      Generated method - Adds value to subCatalogs.
      Parameters:
      value - the item to add to subCatalogs - Sub Catalogs
    • removeFromSubCatalogs

      public void removeFromSubCatalogs(SessionContext ctx, ContentCatalog value)
      Generated method - Removes value from subCatalogs.
      Parameters:
      value - the item to remove from subCatalogs - Sub Catalogs
    • removeFromSubCatalogs

      public void removeFromSubCatalogs(ContentCatalog value)
      Generated method - Removes value from subCatalogs.
      Parameters:
      value - the item to remove from subCatalogs - Sub Catalogs
    • getSuperCatalog

      public ContentCatalog getSuperCatalog(SessionContext ctx)
      Generated method - Getter of the ContentCatalog.superCatalog attribute.
      Returns:
      the superCatalog - Super Catalog
    • getSuperCatalog

      public ContentCatalog getSuperCatalog()
      Generated method - Getter of the ContentCatalog.superCatalog attribute.
      Returns:
      the superCatalog - Super Catalog
    • setSuperCatalog

      public void setSuperCatalog(SessionContext ctx, ContentCatalog value)
      Generated method - Setter of the ContentCatalog.superCatalog attribute.
      Parameters:
      value - the superCatalog - Super Catalog
    • setSuperCatalog

      public void setSuperCatalog(ContentCatalog value)
      Generated method - Setter of the ContentCatalog.superCatalog attribute.
      Parameters:
      value - the superCatalog - Super Catalog