Class GeneratedCMSNavigationNode

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

public abstract class GeneratedCMSNavigationNode extends CMSItem
Generated class for type CMSNavigationNode.
See Also:
  • Field Details

    • TITLE

      public static final String TITLE
      Qualifier of the CMSNavigationNode.title attribute
      See Also:
    • VISIBLE

      public static final String VISIBLE
      Qualifier of the CMSNavigationNode.visible attribute
      See Also:
    • PARENTPOS

      public static final String PARENTPOS
      Qualifier of the CMSNavigationNode.parentPOS attribute
      See Also:
    • PARENT

      public static final String PARENT
      Qualifier of the CMSNavigationNode.parent attribute
      See Also:
    • CHILDREN

      public static final String CHILDREN
      Qualifier of the CMSNavigationNode.children attribute
      See Also:
    • CMSLINKSFORNAVNODES_SRC_ORDERED

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

      protected static String CMSLINKSFORNAVNODES_TGT_ORDERED
    • CMSLINKSFORNAVNODES_MARKMODIFIED

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

      public static final String PAGES
      Qualifier of the CMSNavigationNode.pages attribute
      See Also:
    • CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED

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

      protected static String CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED
    • CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED

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

      public static final String ENTRIES
      Qualifier of the CMSNavigationNode.entries attribute
      See Also:
    • PARENTHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedCMSNavigationNode> PARENTHANDLER
      BidirectionalOneToManyHandler for handling 1:n PARENT's relation attributes from 'one' side.
    • CHILDRENHANDLER

      protected static final OneToManyHandler<CMSNavigationNode> CHILDRENHANDLER
      OneToManyHandler for handling 1:n CHILDREN's relation attributes from 'many' side.
    • ENTRIESHANDLER

      protected static final OneToManyHandler<CMSNavigationEntry> ENTRIESHANDLER
      OneToManyHandler for handling 1:n ENTRIES's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedCMSNavigationNode

      public GeneratedCMSNavigationNode()
  • Method Details

    • getDefaultAttributeModes

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

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

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

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

      public void setChildren(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 List<CMSNavigationEntry> getEntries(SessionContext ctx)
      Generated method - Getter of the CMSNavigationNode.entries attribute.
      Returns:
      the entries
    • getEntries

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

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

      public void setEntries(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
    • 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
    • getLinks

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

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

      public long getLinksCount(SessionContext ctx)
    • getLinksCount

      public long getLinksCount()
    • setLinks

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

      public void setLinks(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 List<ContentPage> getPages(SessionContext ctx)
      Generated method - Getter of the CMSNavigationNode.pages attribute.
      Returns:
      the pages
    • getPages

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

      public long getPagesCount(SessionContext ctx)
    • getPagesCount

      public long getPagesCount()
    • setPages

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

      public void setPages(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 String getTitle(SessionContext ctx)
      Generated method - Getter of the CMSNavigationNode.title attribute.
      Returns:
      the title
    • getTitle

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

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

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

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

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

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

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

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

      public 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, 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
    • 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