com.liferay.portlet.journal.lar
Class JournalContentPortletDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BasePortletDataHandler
com.liferay.portlet.journal.lar.JournalPortletDataHandler
com.liferay.portlet.journal.lar.JournalContentPortletDataHandler
- All Implemented Interfaces:
- PortletDataHandler
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.
- See Also:
PortletDataHandler,
JournalCreationStrategy,
JournalPortletDataHandler
| Methods inherited from class com.liferay.portal.kernel.lar.BasePortletDataHandler |
addExportDataRootElement, addImportDataRootElement, addUncheckedModelAdditionCount, deleteData, doProcessExportPortletPreferences, doProcessImportPortletPreferences, exportData, getDataLevel, getDataPortletPreferences, getDeletionSystemEventStagedModelTypes, getDisplayTemplate, getDisplayTemplateGroupId, getExportConfigurationControls, getExportConfigurationControls, getExportControls, getExportDataRootElementString, getExportMetadataControls, getExportModelCount, getExportModelCount, getImportConfigurationControls, getImportControls, getImportMetadataControls, getPortletId, importData, isDataLocalized, isDataPortalLevel, isDataPortletInstanceLevel, isDataSiteLevel, isPublishToLiveByDefault, isSupportsDataStrategyCopyAsNew, prepareManifestSummary, prepareManifestSummary, processExportPortletPreferences, processImportPortletPreferences, setAlwaysExportable, setAlwaysStaged, setDataLevel, setDataLocalized, setDataPortletPreferences, setDeletionSystemEventStagedModelTypes, setExportControls, setExportMetadataControls, setImportControls, setImportMetadataControls, setPortletId, setPublishToLiveByDefault, setSupportsDataStrategyCopyAsNew |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalContentPortletDataHandler
public JournalContentPortletDataHandler()
doDeleteData
protected PortletPreferences doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doDeleteData in class JournalPortletDataHandler
- Throws:
Exception
doExportData
protected String doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doExportData in class JournalPortletDataHandler
- Throws:
Exception
doImportData
protected PortletPreferences doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
throws Exception
- Overrides:
doImportData in class JournalPortletDataHandler
- Throws:
Exception
doPrepareManifestSummary
protected void doPrepareManifestSummary(PortletDataContext portletDataContext,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doPrepareManifestSummary in class JournalPortletDataHandler
- Throws:
Exception