Interface IContentDao

All Known Implementing Classes:
PortletPreferencesContentDaoImpl

public interface IContentDao
IContentDao is responsible for persisting and retrieving configured HTML content.
Version:
$Revision$
Author:
Jen Bourey, jbourey@unicon.net
  • Method Summary

    Modifier and Type Method Description
    String getContent​(javax.portlet.PortletRequest request, String localeKey)
    Get the HTML content to be displayed for this portlet.
    void saveContent​(javax.portlet.ActionRequest request, String content, String localeKey)
    Save the HTML content for this portlet.
  • Method Details

    • getContent

      String getContent​(javax.portlet.PortletRequest request, String localeKey)
      Get the HTML content to be displayed for this portlet.
      Parameters:
      request - portlet request
      localeKey - locale key
      Returns:
      The content to display for this portlet.
    • saveContent

      void saveContent​(javax.portlet.ActionRequest request, String content, String localeKey)
      Save the HTML content for this portlet.
      Parameters:
      request - Action request associated with this operation.
      content - HTML content to be persisted.
      localeKey - Locale of content to be persisted.