Class DummyFolderPortletDataHandler
java.lang.Object
com.liferay.exportimport.kernel.lar.BasePortletDataHandler
com.liferay.exportimport.test.util.exportimport.data.handler.DummyFolderPortletDataHandler
- All Implemented Interfaces:
com.liferay.exportimport.kernel.lar.PortletDataHandler
public class DummyFolderPortletDataHandler
extends com.liferay.exportimport.kernel.lar.BasePortletDataHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
activate()
protected javax.portlet.PortletPreferences
doDeleteData
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences) protected String
doExportData
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences) protected javax.portlet.PortletPreferences
doImportData
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences, String data) protected void
doPrepareManifestSummary
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, javax.portlet.PortletPreferences portletPreferences) boolean
isEnabled
(long companyId) void
setEnabled
(boolean enabled) boolean
validateSchemaVersion
(String schemaVersion) Methods inherited from class com.liferay.exportimport.kernel.lar.BasePortletDataHandler
addDefaultData, addExportDataRootElement, addImportDataRootElement, addUncheckedModelAdditionCount, deleteData, doAddDefaultData, doValidateSchemaVersion, exportData, getDataLevel, getDataPortletPreferences, getDeletionSystemEventStagedModelTypes, getExportConfigurationControls, getExportConfigurationControls, getExportControls, getExportDataRootElementString, getExportMetadataControls, getExportModelCount, getExportModelCount, getImportConfigurationControls, getImportConfigurationControls, getImportControls, getImportMetadataControls, getPortletId, getRank, getResourceName, getServiceName, getStagedModelTypes, getStagingControls, importData, isDataAlwaysStaged, isDataLocalized, isDataPortalLevel, isDataPortletInstanceLevel, isDataSiteLevel, isDisplayPortlet, isEmptyControlsAllowed, isModelCountSupported, isPublishToLiveByDefault, isRollbackOnException, prepareManifestSummary, prepareManifestSummary, setDataAlwaysStaged, setDataLevel, setDataLocalized, setDataPortletPreferences, setDeletionSystemEventStagedModelTypes, setEmptyControlsAllowed, setExportControls, setExportMetadataControls, setImportControls, setImportMetadataControls, setPortletId, setPublishToLiveByDefault, setRank, setStagingControls
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.exportimport.kernel.lar.PortletDataHandler
getClassNames, getName, getNamespace, isCompany, isConfigurationEnabled, isStaged, isSupportsDataStrategyCopyAsNew, isSupportsDataStrategyMirrorWithOverwriting
-
Field Details
-
NAMESPACE
- See Also:
-
SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
DummyFolderPortletDataHandler
public DummyFolderPortletDataHandler()
-
-
Method Details
-
getSchemaVersion
- Specified by:
getSchemaVersion
in interfacecom.liferay.exportimport.kernel.lar.PortletDataHandler
- Overrides:
getSchemaVersion
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
-
isEnabled
public boolean isEnabled(long companyId) -
setEnabled
public void setEnabled(boolean enabled) -
validateSchemaVersion
- Specified by:
validateSchemaVersion
in interfacecom.liferay.exportimport.kernel.lar.PortletDataHandler
- Overrides:
validateSchemaVersion
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
-
activate
protected void activate() -
doDeleteData
protected javax.portlet.PortletPreferences doDeleteData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doDeleteData
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
- Throws:
Exception
-
doExportData
protected String doExportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doExportData
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
- Throws:
Exception
-
doImportData
protected javax.portlet.PortletPreferences doImportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, javax.portlet.PortletPreferences portletPreferences, String data) throws Exception - Overrides:
doImportData
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
- Throws:
Exception
-
doPrepareManifestSummary
protected void doPrepareManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, javax.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doPrepareManifestSummary
in classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
- Throws:
Exception
-