org.jasig.portlet.cms.service.dao
Class PortletPreferencesContentDaoImpl
java.lang.Object
org.jasig.portlet.cms.service.dao.PortletPreferencesContentDaoImpl
- All Implemented Interfaces:
- IContentDao
@Component
public class PortletPreferencesContentDaoImpl
- extends Object
- implements IContentDao
PortletPreferencesContentDaoImpl is an implementation of the IContentDao
interface that uses simple portlet preferences as a store for HTML content.
This implementation relies on the portal for appropriate caching of
portlet preferences and does not on its own provide any validation or
stripping of HTML content.
- Version:
- $Revision: 20672 $
- Author:
- Jen Bourey, jbourey@unicon.net
|
Method Summary |
String |
getContent(javax.portlet.PortletRequest request)
Get the HTML content to be displayed for this portlet. |
void |
saveContent(javax.portlet.ActionRequest request,
String content)
Save the HTML content for this portlet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_KEY
protected static final String CONTENT_KEY
- See Also:
- Constant Field Values
log
protected final org.apache.commons.logging.Log log
PortletPreferencesContentDaoImpl
public PortletPreferencesContentDaoImpl()
getContent
public String getContent(javax.portlet.PortletRequest request)
- Description copied from interface:
IContentDao
- Get the HTML content to be displayed for this portlet.
- Specified by:
getContent in interface IContentDao
- Returns:
saveContent
public void saveContent(javax.portlet.ActionRequest request,
String content)
- Description copied from interface:
IContentDao
- Save the HTML content for this portlet.
- Specified by:
saveContent in interface IContentDao
- Parameters:
request - Action request associated with this operation.content - HTML content to be persisted.
Copyright © 2010 Jasig. All Rights Reserved.