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() |
java.lang.String |
getServiceName() |
boolean |
isPublishToLiveByDefault() |
boolean |
isSupportsDataStrategyMirrorWithOverwriting() |
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(JournalArticleLocalService journalArticleLocalService) |
protected void |
setJournalArticleStagedModelDataHandler(JournalArticleStagedModelDataHandler journalArticleStagedModelDataHandler) |
protected void |
setJournalContent(JournalContent journalContent) |
protected void |
setJournalFeedLocalService(JournalFeedLocalService journalFeedLocalService) |
protected void |
setJournalFolderLocalService(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, importData, isDataAlwaysStaged, isDataLocalized, isDataPortalLevel, isDataPortletInstanceLevel, isDataSiteLevel, isDisplayPortlet, isRollbackOnException, isSupportsDataStrategyCopyAsNew, prepareManifestSummary, prepareManifestSummary, processExportPortletPreferences, processImportPortletPreferences, setDataAlwaysStaged, setDataLevel, setDataLocalized, setDataPortletPreferences, setDeletionSystemEventStagedModelTypes, setExportControls, setExportMetadataControls, setImportControls, setImportMetadataControls, setPortletId, setPublishToLiveByDefault, setRank, setSupportsDataStrategyCopyAsNew, validateSchemaVersion
public 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.PortletDataHandler
getSchemaVersion
in class com.liferay.exportimport.kernel.lar.BasePortletDataHandler
public java.lang.String getServiceName()
getServiceName
in interface com.liferay.exportimport.kernel.lar.PortletDataHandler
getServiceName
in class com.liferay.exportimport.kernel.lar.BasePortletDataHandler
public boolean isPublishToLiveByDefault()
isPublishToLiveByDefault
in interface com.liferay.exportimport.kernel.lar.PortletDataHandler
isPublishToLiveByDefault
in class com.liferay.exportimport.kernel.lar.BasePortletDataHandler
public boolean isSupportsDataStrategyMirrorWithOverwriting()
protected 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.BasePortletDataHandler
java.lang.Exception
protected 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.BasePortletDataHandler
java.lang.Exception
protected 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.BasePortletDataHandler
java.lang.Exception
protected 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.BasePortletDataHandler
java.lang.Exception
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)
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(JournalArticleLocalService journalArticleLocalService)
protected void setJournalArticleStagedModelDataHandler(JournalArticleStagedModelDataHandler journalArticleStagedModelDataHandler)
protected void setJournalContent(JournalContent journalContent)
protected void setJournalFeedLocalService(JournalFeedLocalService journalFeedLocalService)
protected void setJournalFolderLocalService(JournalFolderLocalService journalFolderLocalService)
protected void setModuleServiceLifecycle(com.liferay.portal.kernel.module.framework.ModuleServiceLifecycle moduleServiceLifecycle)