Class GeneratedCMSLinkComponent

    • Field Detail

      • LINKNAME

        public static final java.lang.String LINKNAME
        Qualifier of the CMSLinkComponent.linkName attribute
        See Also:
        Constant Field Values
      • EXTERNAL

        public static final java.lang.String EXTERNAL
        Qualifier of the CMSLinkComponent.external attribute
        See Also:
        Constant Field Values
      • URL

        public static final java.lang.String URL
        Qualifier of the CMSLinkComponent.url attribute
        See Also:
        Constant Field Values
      • CONTENTPAGELABELORID

        public static final java.lang.String CONTENTPAGELABELORID
        Qualifier of the CMSLinkComponent.contentPageLabelOrId attribute
        See Also:
        Constant Field Values
      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Qualifier of the CMSLinkComponent.productCode attribute
        See Also:
        Constant Field Values
      • CATEGORYCODE

        public static final java.lang.String CATEGORYCODE
        Qualifier of the CMSLinkComponent.categoryCode attribute
        See Also:
        Constant Field Values
      • TARGET

        public static final java.lang.String TARGET
        Qualifier of the CMSLinkComponent.target attribute
        See Also:
        Constant Field Values
      • NAVIGATIONNODES

        public static final java.lang.String NAVIGATIONNODES
        Qualifier of the CMSLinkComponent.navigationNodes 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))
      • CONTENTPAGEPOS

        public static final java.lang.String CONTENTPAGEPOS
        Qualifier of the CMSLinkComponent.contentPagePOS attribute
        See Also:
        Constant Field Values
      • CONTENTPAGE

        public static final java.lang.String CONTENTPAGE
        Qualifier of the CMSLinkComponent.contentPage attribute
        See Also:
        Constant Field Values
      • PRODUCTPOS

        public static final java.lang.String PRODUCTPOS
        Qualifier of the CMSLinkComponent.productPOS attribute
        See Also:
        Constant Field Values
      • PRODUCT

        public static final java.lang.String PRODUCT
        Qualifier of the CMSLinkComponent.product attribute
        See Also:
        Constant Field Values
      • CATEGORYPOS

        public static final java.lang.String CATEGORYPOS
        Qualifier of the CMSLinkComponent.categoryPOS attribute
        See Also:
        Constant Field Values
      • CATEGORY

        public static final java.lang.String CATEGORY
        Qualifier of the CMSLinkComponent.category 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

      • GeneratedCMSLinkComponent

        public GeneratedCMSLinkComponent()
    • Method Detail

      • getCategory

        public Category getCategory​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.category attribute.
        Returns:
        the category
      • getCategory

        public Category getCategory()
        Generated method - Getter of the CMSLinkComponent.category attribute.
        Returns:
        the category
      • setCategory

        public void setCategory​(SessionContext ctx,
                                Category value)
        Generated method - Setter of the CMSLinkComponent.category attribute.
        Parameters:
        value - the category
      • setCategory

        public void setCategory​(Category value)
        Generated method - Setter of the CMSLinkComponent.category attribute.
        Parameters:
        value - the category
      • getCategoryCode

        public abstract java.lang.String getCategoryCode​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.categoryCode attribute.
        Returns:
        the categoryCode
      • getCategoryCode

        public java.lang.String getCategoryCode()
        Generated method - Getter of the CMSLinkComponent.categoryCode attribute.
        Returns:
        the categoryCode
      • getContentPage

        public ContentPage getContentPage​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.contentPage attribute.
        Returns:
        the contentPage
      • getContentPage

        public ContentPage getContentPage()
        Generated method - Getter of the CMSLinkComponent.contentPage attribute.
        Returns:
        the contentPage
      • setContentPage

        public void setContentPage​(SessionContext ctx,
                                   ContentPage value)
        Generated method - Setter of the CMSLinkComponent.contentPage attribute.
        Parameters:
        value - the contentPage
      • setContentPage

        public void setContentPage​(ContentPage value)
        Generated method - Setter of the CMSLinkComponent.contentPage attribute.
        Parameters:
        value - the contentPage
      • getContentPageLabelOrId

        public abstract java.lang.String getContentPageLabelOrId​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.contentPageLabelOrId attribute.
        Returns:
        the contentPageLabelOrId
      • getContentPageLabelOrId

        public java.lang.String getContentPageLabelOrId()
        Generated method - Getter of the CMSLinkComponent.contentPageLabelOrId attribute.
        Returns:
        the contentPageLabelOrId
      • 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 AbstractCMSComponent
        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
      • isExternal

        public java.lang.Boolean isExternal​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.external attribute.
        Returns:
        the external
      • isExternal

        public java.lang.Boolean isExternal()
        Generated method - Getter of the CMSLinkComponent.external attribute.
        Returns:
        the external
      • isExternalAsPrimitive

        public boolean isExternalAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.external attribute.
        Returns:
        the external
      • isExternalAsPrimitive

        public boolean isExternalAsPrimitive()
        Generated method - Getter of the CMSLinkComponent.external attribute.
        Returns:
        the external
      • setExternal

        public void setExternal​(SessionContext ctx,
                                java.lang.Boolean value)
        Generated method - Setter of the CMSLinkComponent.external attribute.
        Parameters:
        value - the external
      • setExternal

        public void setExternal​(java.lang.Boolean value)
        Generated method - Setter of the CMSLinkComponent.external attribute.
        Parameters:
        value - the external
      • setExternal

        public void setExternal​(SessionContext ctx,
                                boolean value)
        Generated method - Setter of the CMSLinkComponent.external attribute.
        Parameters:
        value - the external
      • setExternal

        public void setExternal​(boolean value)
        Generated method - Setter of the CMSLinkComponent.external attribute.
        Parameters:
        value - the external
      • getLinkName

        public java.lang.String getLinkName​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.linkName attribute.
        Returns:
        the linkName
      • getLinkName

        public java.lang.String getLinkName()
        Generated method - Getter of the CMSLinkComponent.linkName attribute.
        Returns:
        the linkName
      • getAllLinkName

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

        public java.util.Map<Language,​java.lang.String> getAllLinkName()
        Generated method - Getter of the CMSLinkComponent.linkName attribute.
        Returns:
        the localized linkName
      • setLinkName

        public void setLinkName​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the CMSLinkComponent.linkName attribute.
        Parameters:
        value - the linkName
      • setLinkName

        public void setLinkName​(java.lang.String value)
        Generated method - Setter of the CMSLinkComponent.linkName attribute.
        Parameters:
        value - the linkName
      • setAllLinkName

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

        public void setAllLinkName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the CMSLinkComponent.linkName attribute.
        Parameters:
        value - the linkName
      • getNavigationNodes

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

        public java.util.List<CMSNavigationNode> getNavigationNodes()
        Generated method - Getter of the CMSLinkComponent.navigationNodes attribute.
        Returns:
        the navigationNodes
      • getNavigationNodesCount

        public long getNavigationNodesCount​(SessionContext ctx)
      • getNavigationNodesCount

        public long getNavigationNodesCount()
      • setNavigationNodes

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

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

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

        public void addToNavigationNodes​(CMSNavigationNode value)
        Generated method - Adds value to navigationNodes.
        Parameters:
        value - the item to add to navigationNodes
      • removeFromNavigationNodes

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

        public void removeFromNavigationNodes​(CMSNavigationNode value)
        Generated method - Removes value from navigationNodes.
        Parameters:
        value - the item to remove from navigationNodes
      • getProduct

        public Product getProduct​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.product attribute.
        Returns:
        the product
      • getProduct

        public Product getProduct()
        Generated method - Getter of the CMSLinkComponent.product attribute.
        Returns:
        the product
      • setProduct

        public void setProduct​(SessionContext ctx,
                               Product value)
        Generated method - Setter of the CMSLinkComponent.product attribute.
        Parameters:
        value - the product
      • setProduct

        public void setProduct​(Product value)
        Generated method - Setter of the CMSLinkComponent.product attribute.
        Parameters:
        value - the product
      • getProductCode

        public abstract java.lang.String getProductCode​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.productCode attribute.
        Returns:
        the productCode
      • getProductCode

        public java.lang.String getProductCode()
        Generated method - Getter of the CMSLinkComponent.productCode attribute.
        Returns:
        the productCode
      • getTarget

        public EnumerationValue getTarget​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.target attribute.
        Returns:
        the target
      • getTarget

        public EnumerationValue getTarget()
        Generated method - Getter of the CMSLinkComponent.target attribute.
        Returns:
        the target
      • setTarget

        public void setTarget​(SessionContext ctx,
                              EnumerationValue value)
        Generated method - Setter of the CMSLinkComponent.target attribute.
        Parameters:
        value - the target
      • setTarget

        public void setTarget​(EnumerationValue value)
        Generated method - Setter of the CMSLinkComponent.target attribute.
        Parameters:
        value - the target
      • getUrl

        public java.lang.String getUrl​(SessionContext ctx)
        Generated method - Getter of the CMSLinkComponent.url attribute.
        Returns:
        the url
      • getUrl

        public java.lang.String getUrl()
        Generated method - Getter of the CMSLinkComponent.url attribute.
        Returns:
        the url
      • setUrl

        public void setUrl​(SessionContext ctx,
                           java.lang.String value)
        Generated method - Setter of the CMSLinkComponent.url attribute.
        Parameters:
        value - the url
      • setUrl

        public void setUrl​(java.lang.String value)
        Generated method - Setter of the CMSLinkComponent.url attribute.
        Parameters:
        value - the url