com.endeca.infront.content.source
Interface ContentLocator


public interface ContentLocator

Implementations of the ContentLocator interface provide information about the location of a specific ContentItem as well as a means to retrieve that item.


Method Summary
 String getApplicationName()
          The name of the application to which this locator's content item belongs.
 ContentItem getContent()
          Retrieves this locator's content item.
 String getContentPath()
          The path within the site that refers to this locator's content item.
 String getContentUri()
          Convenience method for getting the full content URI.
 String getSiteRootPath()
          The path of the site to which this locator's content item belongs.
 

Method Detail

getApplicationName

String getApplicationName()
The name of the application to which this locator's content item belongs.


getSiteRootPath

String getSiteRootPath()
The path of the site to which this locator's content item belongs.


getContentPath

String getContentPath()
The path within the site that refers to this locator's content item.


getContentUri

String getContentUri()
Convenience method for getting the full content URI. This is just the site root path concatenated with the content path.


getContent

ContentItem getContent()
                       throws ContentException
Retrieves this locator's content item.

Throws:
ContentException


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.