com.ibm.portal.content
Interface ContentURL

All Superinterfaces:
ActiveFlag, ContentNode, DeviceClassCapable, Identifiable, Localized, MarkupCapable
All Known Subinterfaces:
ExternalContentURL, InternalContentURL, ModifiableContentURL, ModifiableExternalContentURL, ModifiableInternalContentURL

public interface ContentURL
extends ContentNode

An interface for a content node representing an internal or external URL. Inactive content URLs and their children do not show in the content model used for rendering.

Since:
5.1.0.1

Method Summary
 java.lang.String getURL(Markup aMarkup)
          Deprecated. use newURL() instead Returns the URL that this content node represents for the given markup.
 java.lang.String getURL(java.lang.String aMarkup)
          Deprecated. use newURL() instead Returns the URL that this content node represents for the given markup. Whenever possible, use the method getURL(Markup aMarkup) instead of this one - this method will be deprecated at some point in the future.
 DisposableURL newURL()
          Returns a URL object that this content node represents.
 
Methods inherited from interface com.ibm.portal.content.ContentNode
getContentNodeType
 
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, supportsMarkup, supportsMarkup
 
Methods inherited from interface com.ibm.portal.ActiveFlag
isActive
 
Methods inherited from interface com.ibm.portal.devicesupport.DeviceClassCapable
getDeviceClasses, supportsDeviceClass
 

Method Detail

getURL

java.lang.String getURL(Markup aMarkup)
Deprecated. use newURL() instead Returns the URL that this content node represents for the given markup.

Parameters:
aMarkup - the markup for which to retrieve the URL
Returns:
a URL

getURL

java.lang.String getURL(java.lang.String aMarkup)
Deprecated. use newURL() instead Returns the URL that this content node represents for the given markup. Whenever possible, use the method getURL(Markup aMarkup) instead of this one - this method will be deprecated at some point in the future.

Parameters:
aMarkup - the markup for which to retrieve the URL
Returns:
a URL

newURL

DisposableURL newURL()
Returns a URL object that this content node represents.

Returns:
a URL object for the resource referenced by this ContentURL, never null.