@Component public class PortletPreferencesContentDaoImpl extends java.lang.Object implements IContentDao
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CONTENT_KEY |
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
PortletPreferencesContentDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent(javax.portlet.PortletRequest request,
java.lang.String localeKey)
Get the HTML content to be displayed for this portlet.
|
protected java.lang.String |
getLocaleSpecificKey(java.lang.String localeKey)
Return a locale-specific content preference key.
|
void |
saveContent(javax.portlet.ActionRequest request,
java.lang.String content,
java.lang.String localeKey)
Save the HTML content for this portlet.
|
protected static final java.lang.String CONTENT_KEY
protected final org.apache.commons.logging.Log log
public java.lang.String getContent(javax.portlet.PortletRequest request,
java.lang.String localeKey)
IContentDaogetContent in interface IContentDaorequest - portlet requestlocaleKey - locale keypublic void saveContent(javax.portlet.ActionRequest request,
java.lang.String content,
java.lang.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.protected java.lang.String getLocaleSpecificKey(java.lang.String localeKey)
localeKey - local keyCopyright © 2019 Jasig. All Rights Reserved.