public class JournalContentPortletDataHandler extends JournalPortletDataHandler
Provides the Journal Content portlet export and import functionality, which is to clone the article, structure, and template referenced in the Journal Content portlet if the article is associated with the layout's group. Upon import, a new instance of the corresponding article, structure, and template will be created or updated. The author of the newly created objects are determined by the JournalCreationStrategy class defined in portal.properties.
This PortletDataHandler differs from from
JournalPortletDataHandlerImpl in that it only exports articles
referenced in Journal Content portlets. Articles not displayed in Journal
Content portlets will not be exported unless
JournalPortletDataHandlerImpl is activated.
PortletDataHandler,
JournalCreationStrategy,
JournalPortletDataHandler| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE |
| Constructor and Description |
|---|
JournalContentPortletDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.portlet.PortletPreferences |
doDeleteData(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences) |
protected javax.portlet.PortletPreferences |
doProcessExportPortletPreferences(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences) |
protected javax.portlet.PortletPreferences |
doProcessImportPortletPreferences(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences) |
doExportData, doImportData, doPrepareManifestSummary, getArticleActionableDynamicQuery, getDDMStructureActionableDynamicQuery, getDDMStructureDefaultValuesActionableDynamicQuery, getDDMTemplateActionableDynamicQuery, getDDMTemplateActionableDynamicQueryaddExportDataRootElement, addImportDataRootElement, addUncheckedModelAdditionCount, deleteData, exportData, getDataLevel, getDataPortletPreferences, getDeletionSystemEventStagedModelTypes, getDisplayTemplate, getDisplayTemplateGroupId, getExportConfigurationControls, getExportConfigurationControls, getExportControls, getExportDataRootElementString, getExportMetadataControls, getExportModelCount, getExportModelCount, getImportConfigurationControls, getImportConfigurationControls, getImportControls, getImportMetadataControls, getPortletId, importData, isDataLocalized, isDataPortalLevel, isDataPortletInstanceLevel, isDataSiteLevel, isDisplayPortlet, isPublishToLiveByDefault, isSupportsDataStrategyCopyAsNew, prepareManifestSummary, prepareManifestSummary, processExportPortletPreferences, processImportPortletPreferences, setAlwaysExportable, setAlwaysStaged, setDataLevel, setDataLocalized, setDataPortletPreferences, setDeletionSystemEventStagedModelTypes, setExportControls, setExportMetadataControls, setImportControls, setImportMetadataControls, setPortletId, setPublishToLiveByDefault, setSupportsDataStrategyCopyAsNewpublic static final java.lang.String NAMESPACE
protected javax.portlet.PortletPreferences doDeleteData(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doDeleteData in class JournalPortletDataHandlerjava.lang.Exceptionprotected javax.portlet.PortletPreferences doProcessExportPortletPreferences(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doProcessExportPortletPreferences in class com.liferay.portal.kernel.lar.BasePortletDataHandlerjava.lang.Exceptionprotected javax.portlet.PortletPreferences doProcessImportPortletPreferences(com.liferay.portal.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doProcessImportPortletPreferences in class com.liferay.portal.kernel.lar.BasePortletDataHandlerjava.lang.Exception