@Component public class PortletPreferencesContentDaoImpl extends Object implements IContentDao
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONTENT_KEY |
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
PortletPreferencesContentDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent(javax.portlet.PortletRequest request,
String localeKey)
Get the HTML content to be displayed for this portlet.
|
protected String |
getLocaleSpecificKey(String localeKey)
Return a locale-specific content preference key.
|
void |
saveContent(javax.portlet.ActionRequest request,
String content,
String localeKey)
Save the HTML content for this portlet.
|
protected static final String CONTENT_KEY
protected final org.apache.commons.logging.Log log
public String getContent(javax.portlet.PortletRequest request, String localeKey)
IContentDaogetContent in interface IContentDaorequest - portlet requestlocaleKey - locale keypublic void saveContent(javax.portlet.ActionRequest request,
String content,
String localeKey)
IContentDaosaveContent in interface IContentDaorequest - Action request associated with this operation.content - HTML content to be persisted.localeKey - Locale of content to be persisted.Copyright © 2015 Jasig. All Rights Reserved.