public class JournalPortletDataHandler
extends com.liferay.exportimport.kernel.lar.BasePortletDataHandler
This PortletDataHandler differs from
JournalContentPortletDataHandlerImpl in that it exports all
articles owned by the group whether or not they are actually displayed in a
portlet in the layout set.
For a better understanding of this class, see
com.liferay.journal.content.web.lar.JournalContentPortletDataHandler
located in Liferay Portal's external modules directory.
JournalCreationStrategy,
PortletDataHandler| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE |
static java.lang.String |
SCHEMA_VERSION |
| Constructor and Description |
|---|
JournalPortletDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
protected javax.portlet.PortletPreferences |
doDeleteData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences) |
protected java.lang.String |
doExportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences) |
protected javax.portlet.PortletPreferences |
doImportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
java.lang.String data) |
protected void |
doPrepareManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
javax.portlet.PortletPreferences portletPreferences) |
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getArticleActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getDDMStructureActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getDDMStructureDefaultValuesActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getDDMTemplateActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.lang.String |
getSchemaVersion() |
protected void |
setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService) |
protected void |
setDDMTemplateLocalService(com.liferay.dynamic.data.mapping.service.DDMTemplateLocalService ddmTemplateLocalService) |
protected void |
setJournalArticleLocalService(com.liferay.journal.service.JournalArticleLocalService journalArticleLocalService) |
protected void |
setJournalArticleStagedModelDataHandler(JournalArticleStagedModelDataHandler journalArticleStagedModelDataHandler) |
protected void |
setJournalContent(com.liferay.journal.util.JournalContent journalContent) |
protected void |
setJournalFeedLocalService(com.liferay.journal.service.JournalFeedLocalService journalFeedLocalService) |
protected void |
setJournalFolderLocalService(com.liferay.journal.service.JournalFolderLocalService journalFolderLocalService) |
protected void |
setModuleServiceLifecycle(com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle moduleServiceLifecycle) |
addDefaultData, addExportDataRootElement, addImportDataRootElement, addUncheckedModelAdditionCount, deleteData, doAddDefaultData, doProcessExportPortletPreferences, doProcessImportPortletPreferences, doValidateSchemaVersion, exportData, getDataLevel, getDataPortletPreferences, getDeletionSystemEventStagedModelTypes, getExportConfigurationControls, getExportConfigurationControls, getExportControls, getExportDataRootElementString, getExportMetadataControls, getExportModelCount, getExportModelCount, getImportConfigurationControls, getImportConfigurationControls, getImportControls, getImportMetadataControls, getPortletId, getRank, getServiceName, importData, isDataAlwaysStaged, isDataLocalized, isDataPortalLevel, isDataPortletInstanceLevel, isDataSiteLevel, isDisplayPortlet, isPublishToLiveByDefault, isRollbackOnException, isSupportsDataStrategyCopyAsNew, prepareManifestSummary, prepareManifestSummary, processExportPortletPreferences, processImportPortletPreferences, setDataAlwaysStaged, setDataLevel, setDataLocalized, setDataPortletPreferences, setDeletionSystemEventStagedModelTypes, setExportControls, setExportMetadataControls, setImportControls, setImportMetadataControls, setPortletId, setPublishToLiveByDefault, setRank, setSupportsDataStrategyCopyAsNew, validateSchemaVersionpublic static final java.lang.String NAMESPACE
public static final java.lang.String SCHEMA_VERSION
public java.lang.String getSchemaVersion()
getSchemaVersion in interface com.liferay.exportimport.kernel.lar.PortletDataHandlergetSchemaVersion in class com.liferay.exportimport.kernel.lar.BasePortletDataHandlerprotected void activate()
protected javax.portlet.PortletPreferences doDeleteData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doDeleteData in class com.liferay.exportimport.kernel.lar.BasePortletDataHandlerjava.lang.Exceptionprotected java.lang.String doExportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doExportData in class com.liferay.exportimport.kernel.lar.BasePortletDataHandlerjava.lang.Exceptionprotected javax.portlet.PortletPreferences doImportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String portletId,
javax.portlet.PortletPreferences portletPreferences,
java.lang.String data)
throws java.lang.Exception
doImportData in class com.liferay.exportimport.kernel.lar.BasePortletDataHandlerjava.lang.Exceptionprotected void doPrepareManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
javax.portlet.PortletPreferences portletPreferences)
throws java.lang.Exception
doPrepareManifestSummary in class com.liferay.exportimport.kernel.lar.BasePortletDataHandlerjava.lang.Exceptionprotected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getArticleActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getDDMStructureActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getDDMStructureDefaultValuesActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
protected com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getDDMTemplateActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
protected void setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService)
protected void setDDMTemplateLocalService(com.liferay.dynamic.data.mapping.service.DDMTemplateLocalService ddmTemplateLocalService)
protected void setJournalArticleLocalService(com.liferay.journal.service.JournalArticleLocalService journalArticleLocalService)
protected void setJournalArticleStagedModelDataHandler(JournalArticleStagedModelDataHandler journalArticleStagedModelDataHandler)
protected void setJournalContent(com.liferay.journal.util.JournalContent journalContent)
protected void setJournalFeedLocalService(com.liferay.journal.service.JournalFeedLocalService journalFeedLocalService)
protected void setJournalFolderLocalService(com.liferay.journal.service.JournalFolderLocalService journalFolderLocalService)
protected void setModuleServiceLifecycle(com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle moduleServiceLifecycle)