Class GeneratedCMSNavigationNode

    • Field Detail

      • TITLE

        public static final java.lang.String TITLE
        Qualifier of the CMSNavigationNode.title attribute
        See Also:
        Constant Field Values
      • VISIBLE

        public static final java.lang.String VISIBLE
        Qualifier of the CMSNavigationNode.visible attribute
        See Also:
        Constant Field Values
      • PARENTPOS

        public static final java.lang.String PARENTPOS
        Qualifier of the CMSNavigationNode.parentPOS attribute
        See Also:
        Constant Field Values
      • PARENT

        public static final java.lang.String PARENT
        Qualifier of the CMSNavigationNode.parent attribute
        See Also:
        Constant Field Values
      • CHILDREN

        public static final java.lang.String CHILDREN
        Qualifier of the CMSNavigationNode.children attribute
        See Also:
        Constant Field Values
      • LINKS

        public static final java.lang.String LINKS
        Qualifier of the CMSNavigationNode.links attribute
        See Also:
        Constant Field Values
      • CMSLINKSFORNAVNODES_SRC_ORDERED

        protected static java.lang.String CMSLINKSFORNAVNODES_SRC_ORDERED
        Relation ordering override parameter constants for CMSLinksForNavNodes from ((cms2))
      • CMSLINKSFORNAVNODES_TGT_ORDERED

        protected static java.lang.String CMSLINKSFORNAVNODES_TGT_ORDERED
      • CMSLINKSFORNAVNODES_MARKMODIFIED

        protected static java.lang.String CMSLINKSFORNAVNODES_MARKMODIFIED
        Relation disable markmodifed parameter constants for CMSLinksForNavNodes from ((cms2))
      • PAGES

        public static final java.lang.String PAGES
        Qualifier of the CMSNavigationNode.pages attribute
        See Also:
        Constant Field Values
      • CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED

        protected static java.lang.String CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
        Relation ordering override parameter constants for CMSContentPagesForNavNodes from ((cms2))
      • CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED

        protected static java.lang.String CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED
      • CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED

        protected static java.lang.String CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
        Relation disable markmodifed parameter constants for CMSContentPagesForNavNodes from ((cms2))
      • ENTRIES

        public static final java.lang.String ENTRIES
        Qualifier of the CMSNavigationNode.entries 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

      • GeneratedCMSNavigationNode

        public GeneratedCMSNavigationNode()
    • Method Detail

      • getChildren

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

        public java.util.List<CMSNavigationNode> getChildren()
        Generated method - Getter of the CMSNavigationNode.children attribute.
        Returns:
        the children
      • setChildren

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

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

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

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

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

        public void removeFromChildren​(CMSNavigationNode value)
        Generated method - Removes value from children.
        Parameters:
        value - the item to remove from children
      • 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 CMSItem
        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
      • getEntries

        public java.util.List<CMSNavigationEntry> getEntries​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.entries attribute.
        Returns:
        the entries
      • getEntries

        public java.util.List<CMSNavigationEntry> getEntries()
        Generated method - Getter of the CMSNavigationNode.entries attribute.
        Returns:
        the entries
      • setEntries

        public void setEntries​(SessionContext ctx,
                               java.util.List<CMSNavigationEntry> value)
        Generated method - Setter of the CMSNavigationNode.entries attribute.
        Parameters:
        value - the entries
      • setEntries

        public void setEntries​(java.util.List<CMSNavigationEntry> value)
        Generated method - Setter of the CMSNavigationNode.entries attribute.
        Parameters:
        value - the entries
      • addToEntries

        public void addToEntries​(SessionContext ctx,
                                 CMSNavigationEntry value)
        Generated method - Adds value to entries.
        Parameters:
        value - the item to add to entries
      • addToEntries

        public void addToEntries​(CMSNavigationEntry value)
        Generated method - Adds value to entries.
        Parameters:
        value - the item to add to entries
      • removeFromEntries

        public void removeFromEntries​(SessionContext ctx,
                                      CMSNavigationEntry value)
        Generated method - Removes value from entries.
        Parameters:
        value - the item to remove from entries
      • removeFromEntries

        public void removeFromEntries​(CMSNavigationEntry value)
        Generated method - Removes value from entries.
        Parameters:
        value - the item to remove from entries
      • getLinks

        public java.util.List<CMSLinkComponent> getLinks​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.links attribute.
        Returns:
        the links
      • getLinks

        public java.util.List<CMSLinkComponent> getLinks()
        Generated method - Getter of the CMSNavigationNode.links attribute.
        Returns:
        the links
      • getLinksCount

        public long getLinksCount()
      • setLinks

        public void setLinks​(SessionContext ctx,
                             java.util.List<CMSLinkComponent> value)
        Generated method - Setter of the CMSNavigationNode.links attribute.
        Parameters:
        value - the links
      • setLinks

        public void setLinks​(java.util.List<CMSLinkComponent> value)
        Generated method - Setter of the CMSNavigationNode.links attribute.
        Parameters:
        value - the links
      • addToLinks

        public void addToLinks​(SessionContext ctx,
                               CMSLinkComponent value)
        Generated method - Adds value to links.
        Parameters:
        value - the item to add to links
      • addToLinks

        public void addToLinks​(CMSLinkComponent value)
        Generated method - Adds value to links.
        Parameters:
        value - the item to add to links
      • removeFromLinks

        public void removeFromLinks​(SessionContext ctx,
                                    CMSLinkComponent value)
        Generated method - Removes value from links.
        Parameters:
        value - the item to remove from links
      • removeFromLinks

        public void removeFromLinks​(CMSLinkComponent value)
        Generated method - Removes value from links.
        Parameters:
        value - the item to remove from links
      • getPages

        public java.util.List<ContentPage> getPages​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.pages attribute.
        Returns:
        the pages
      • getPages

        public java.util.List<ContentPage> getPages()
        Generated method - Getter of the CMSNavigationNode.pages attribute.
        Returns:
        the pages
      • getPagesCount

        public long getPagesCount()
      • setPages

        public void setPages​(SessionContext ctx,
                             java.util.List<ContentPage> value)
        Generated method - Setter of the CMSNavigationNode.pages attribute.
        Parameters:
        value - the pages
      • setPages

        public void setPages​(java.util.List<ContentPage> value)
        Generated method - Setter of the CMSNavigationNode.pages attribute.
        Parameters:
        value - the pages
      • addToPages

        public void addToPages​(SessionContext ctx,
                               ContentPage value)
        Generated method - Adds value to pages.
        Parameters:
        value - the item to add to pages
      • addToPages

        public void addToPages​(ContentPage value)
        Generated method - Adds value to pages.
        Parameters:
        value - the item to add to pages
      • removeFromPages

        public void removeFromPages​(SessionContext ctx,
                                    ContentPage value)
        Generated method - Removes value from pages.
        Parameters:
        value - the item to remove from pages
      • removeFromPages

        public void removeFromPages​(ContentPage value)
        Generated method - Removes value from pages.
        Parameters:
        value - the item to remove from pages
      • getParent

        public CMSNavigationNode getParent​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.parent attribute.
        Returns:
        the parent
      • getParent

        public CMSNavigationNode getParent()
        Generated method - Getter of the CMSNavigationNode.parent attribute.
        Returns:
        the parent
      • setParent

        public void setParent​(SessionContext ctx,
                              CMSNavigationNode value)
        Generated method - Setter of the CMSNavigationNode.parent attribute.
        Parameters:
        value - the parent
      • setParent

        public void setParent​(CMSNavigationNode value)
        Generated method - Setter of the CMSNavigationNode.parent attribute.
        Parameters:
        value - the parent
      • getTitle

        public java.lang.String getTitle​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.title attribute.
        Returns:
        the title
      • getTitle

        public java.lang.String getTitle()
        Generated method - Getter of the CMSNavigationNode.title attribute.
        Returns:
        the title
      • getAllTitle

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

        public java.util.Map<Language,​java.lang.String> getAllTitle()
        Generated method - Getter of the CMSNavigationNode.title attribute.
        Returns:
        the localized title
      • setTitle

        public void setTitle​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the CMSNavigationNode.title attribute.
        Parameters:
        value - the title
      • setTitle

        public void setTitle​(java.lang.String value)
        Generated method - Setter of the CMSNavigationNode.title attribute.
        Parameters:
        value - the title
      • setAllTitle

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

        public void setAllTitle​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the CMSNavigationNode.title attribute.
        Parameters:
        value - the title
      • isVisible

        public java.lang.Boolean isVisible​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.visible attribute.
        Returns:
        the visible
      • isVisible

        public java.lang.Boolean isVisible()
        Generated method - Getter of the CMSNavigationNode.visible attribute.
        Returns:
        the visible
      • isVisibleAsPrimitive

        public boolean isVisibleAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the CMSNavigationNode.visible attribute.
        Returns:
        the visible
      • isVisibleAsPrimitive

        public boolean isVisibleAsPrimitive()
        Generated method - Getter of the CMSNavigationNode.visible attribute.
        Returns:
        the visible
      • setVisible

        public void setVisible​(SessionContext ctx,
                               java.lang.Boolean value)
        Generated method - Setter of the CMSNavigationNode.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(java.lang.Boolean value)
        Generated method - Setter of the CMSNavigationNode.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(SessionContext ctx,
                               boolean value)
        Generated method - Setter of the CMSNavigationNode.visible attribute.
        Parameters:
        value - the visible
      • setVisible

        public void setVisible​(boolean value)
        Generated method - Setter of the CMSNavigationNode.visible attribute.
        Parameters:
        value - the visible