com.ibm.portal.content
Interface ContentNode

All Superinterfaces:
ActiveFlag, Identifiable, Localized, MarkupCapable
All Known Subinterfaces:
ContentLabel, ContentPage, ContentURL, ExternalContentURL, InternalContentURL, ModifiableContentLabel, ModifiableContentNode, ModifiableContentPage, ModifiableContentURL, ModifiableExternalContentURL, ModifiableInternalContentURL

public interface ContentNode
extends Identifiable, Localized, MarkupCapable, ActiveFlag

Interface of a content node. This interface offers a way to obtain the type of the content node. This method must be used to determined the content node type instead of determination by instanceof as the underlying implementation may choose to implement more than one content node type at the same time.
Inactive content nodes and their children do not show in the content model used for rendering.

Content nodes are part of the ContentModel.

Since:
5.1.0.1

Method Summary
 ContentNodeType getContentNodeType()
          Returns the type of this content node.
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 
Methods inherited from interface com.ibm.portal.admin.MarkupCapable
getMarkups, com.ibm.portal.admin.Markup)">supportsMarkup, supportsMarkup
 
Methods inherited from interface com.ibm.portal.ActiveFlag
isActive
 

Method Detail

getContentNodeType

ContentNodeType getContentNodeType()
Returns the type of this content node.

Returns:
the type of this node, never null.