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 voidactivate()protected jakarta.portlet.PortletPreferencesdoDeleteData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences) protected StringdoExportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences) protected jakarta.portlet.PortletPreferencesdoImportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences, String data) protected voiddoPrepareManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, jakarta.portlet.PortletPreferences portletPreferences) booleanisEnabled(long companyId) voidsetEnabled(boolean enabled) booleanvalidateSchemaVersion(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, setStagingControlsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.exportimport.kernel.lar.PortletDataHandler
getClassNames, getName, getNamespace, isBatch, isConfigurationEnabled, isStaged, isSupportsDataStrategyCopyAsNew, isSupportsDataStrategyMirrorWithOverwriting
-
Field Details
-
NAMESPACE
- See Also:
-
SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
DummyFolderPortletDataHandler
public DummyFolderPortletDataHandler()
-
-
Method Details
-
getSchemaVersion
- Specified by:
getSchemaVersionin interfacecom.liferay.exportimport.kernel.lar.PortletDataHandler- Overrides:
getSchemaVersionin classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
-
isEnabled
public boolean isEnabled(long companyId) -
setEnabled
public void setEnabled(boolean enabled) -
validateSchemaVersion
- Specified by:
validateSchemaVersionin interfacecom.liferay.exportimport.kernel.lar.PortletDataHandler- Overrides:
validateSchemaVersionin classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler
-
activate
protected void activate() -
doDeleteData
protected jakarta.portlet.PortletPreferences doDeleteData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doDeleteDatain classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler- Throws:
Exception
-
doExportData
protected String doExportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doExportDatain classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler- Throws:
Exception
-
doImportData
protected jakarta.portlet.PortletPreferences doImportData(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, String portletId, jakarta.portlet.PortletPreferences portletPreferences, String data) throws Exception - Overrides:
doImportDatain classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler- Throws:
Exception
-
doPrepareManifestSummary
protected void doPrepareManifestSummary(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, jakarta.portlet.PortletPreferences portletPreferences) throws Exception - Overrides:
doPrepareManifestSummaryin classcom.liferay.exportimport.kernel.lar.BasePortletDataHandler- Throws:
Exception
-