com.ibm.portal.content
Class ContentNodeType

java.lang.Object
  extended by com.ibm.portal.content.ContentNodeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ContentNodeType
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

This class enumerates content node types.

Since:
5.1.0.1
See Also:
Serialized Form

Field Summary
static ContentNodeType COMPOSITION
          Deprecated. use the PAGE type instead Composition node type.
static ContentNodeType EXTERNALURL
          Node type for a ContentURL linking to a URL outside of the portal server, e.g.
static ContentNodeType INTERNALURL
          Node type for a ContentURL linking to a page of the portal.
static ContentNodeType LABEL
          Node type for a ContentLabel.
static ContentNodeType PAGE
          Node type for a ContentPage.
static ContentNodeType STATICPAGE
          Node type for a StaticContentPage.
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
          Returns a textual description of the content node type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE

public static final ContentNodeType PAGE
Node type for a ContentPage.


COMPOSITION

public static final ContentNodeType COMPOSITION
Deprecated. use the PAGE type instead Composition node type.

EXTERNALURL

public static final ContentNodeType EXTERNALURL
Node type for a ContentURL linking to a URL outside of the portal server, e.g. to "http://www.ibm.com/".


INTERNALURL

public static final ContentNodeType INTERNALURL
Node type for a ContentURL linking to a page of the portal.


LABEL

public static final ContentNodeType LABEL
Node type for a ContentLabel.


STATICPAGE

public static final ContentNodeType STATICPAGE
Node type for a StaticContentPage.

Method Detail

toString

public java.lang.String toString()
Returns a textual description of the content node type.

Overrides:
toString in class java.lang.Object
Returns:
the description of this type.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable