Class GeneratedContentCatalog

    • Field Detail

      • CATALOGLEVELNAME

        public static final java.lang.String CATALOGLEVELNAME
        Qualifier of the ContentCatalog.catalogLevelName attribute
        See Also:
        Constant Field Values
      • CMSSITES

        public static final java.lang.String CMSSITES
        Qualifier of the ContentCatalog.cmsSites attribute
        See Also:
        Constant Field Values
      • CATALOGSFORCMSSITE_SRC_ORDERED

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

        protected static java.lang.String CATALOGSFORCMSSITE_TGT_ORDERED
      • CATALOGSFORCMSSITE_MARKMODIFIED

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

        public static final java.lang.String SUPERCATALOG
        Qualifier of the ContentCatalog.superCatalog attribute
        See Also:
        Constant Field Values
      • SUBCATALOGS

        public static final java.lang.String SUBCATALOGS
        Qualifier of the ContentCatalog.subCatalogs 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

      • GeneratedContentCatalog

        public GeneratedContentCatalog()
    • Method Detail

      • getCatalogLevelName

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

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

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

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

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

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

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

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

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

        public java.util.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,
                                java.util.Collection<CMSSite> value)
        Generated method - Setter of the ContentCatalog.cmsSites attribute.
        Parameters:
        value - the cmsSites
      • setCmsSites

        public void setCmsSites​(java.util.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
      • getSubCatalogs

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

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

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

        public void setSubCatalogs​(java.util.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