public class DDMStructureStagedModelDataHandler
extends com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CLASS_NAMES |
| Constructor and Description |
|---|
DDMStructureStagedModelDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteStagedModel(com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
void |
deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData) |
protected void |
doExportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
protected void |
doImportMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element referenceElement) |
protected void |
doImportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
protected void |
exportDDMDataProviderInstances(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement) |
protected void |
exportDDMForm(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement) |
protected void |
exportDDMFormLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement) |
protected com.liferay.dynamic.data.mapping.model.DDMStructure |
fetchExistingStructure(java.lang.String uuid,
long groupId,
long classNameId,
java.lang.String structureKey,
boolean preloaded) |
com.liferay.dynamic.data.mapping.model.DDMStructure |
fetchStagedModelByUuidAndGroupId(java.lang.String uuid,
long groupId) |
java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
fetchStagedModelsByUuidAndCompanyId(java.lang.String uuid,
long companyId) |
java.lang.String[] |
getClassNames() |
java.lang.String |
getDisplayName(com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
protected com.liferay.dynamic.data.mapping.model.DDMForm |
getImportDDMForm(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement) |
protected com.liferay.dynamic.data.mapping.model.DDMFormLayout |
getImportDDMFormLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement) |
java.util.Map<java.lang.String,java.lang.String> |
getReferenceAttributes(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
protected void |
importDDMDataProviderInstances(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement,
com.liferay.dynamic.data.mapping.model.DDMForm ddmForm) |
protected boolean |
isModifiedStructure(com.liferay.dynamic.data.mapping.model.DDMStructure existingStructure,
com.liferay.dynamic.data.mapping.model.DDMStructure structure) |
protected void |
setDDMFormJSONDeserializer(com.liferay.dynamic.data.mapping.io.DDMFormJSONDeserializer ddmFormJSONDeserializer) |
protected void |
setDDMFormLayoutJSONDeserializer(com.liferay.dynamic.data.mapping.io.DDMFormLayoutJSONDeserializer ddmFormLayoutJSONDeserializer) |
protected void |
setDDMStructureLayoutLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLayoutLocalService ddmStructureLayoutLocalService) |
protected void |
setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService) |
protected void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService) |
boolean |
validateReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element referenceElement) |
exportStagedModel, fetchMissingReference, getExportImportContentProcessor, getStagedModelRepository, restoreStagedModelcountStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportAssetTags, exportComments, exportRatings, getExportableStatuses, getProcessFlag, importAssetCategories, importAssetTags, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, isStagedModelInTrash, validateExport, validateMissingGroupReference, validateMissingReferencepublic void deleteStagedModel(com.liferay.dynamic.data.mapping.model.DDMStructure structure)
throws com.liferay.portal.kernel.exception.PortalException
deleteStagedModel in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>deleteStagedModel in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData)
throws com.liferay.portal.kernel.exception.PortalException
deleteStagedModel in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>deleteStagedModel in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.dynamic.data.mapping.model.DDMStructure fetchStagedModelByUuidAndGroupId(java.lang.String uuid,
long groupId)
fetchStagedModelByUuidAndGroupId in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>fetchStagedModelByUuidAndGroupId in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> fetchStagedModelsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
fetchStagedModelsByUuidAndCompanyId in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>fetchStagedModelsByUuidAndCompanyId in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>public java.lang.String[] getClassNames()
getClassNames in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>getClassNames in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>public java.lang.String getDisplayName(com.liferay.dynamic.data.mapping.model.DDMStructure structure)
getDisplayName in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>getDisplayName in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>public java.util.Map<java.lang.String,java.lang.String> getReferenceAttributes(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure)
getReferenceAttributes in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>getReferenceAttributes in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>public boolean validateReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element referenceElement)
validateReference in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>validateReference in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>protected void doExportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure)
throws java.lang.Exception
doExportStagedModel in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>java.lang.Exceptionprotected void doImportMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element referenceElement)
throws com.liferay.exportimport.kernel.lar.PortletDataException
doImportMissingReference in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>com.liferay.exportimport.kernel.lar.PortletDataExceptionprotected void doImportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure)
throws java.lang.Exception
doImportStagedModel in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.dynamic.data.mapping.model.DDMStructure>java.lang.Exceptionprotected void exportDDMDataProviderInstances(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void exportDDMForm(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement)
protected void exportDDMFormLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.dynamic.data.mapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.Element structureElement)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.dynamic.data.mapping.model.DDMStructure fetchExistingStructure(java.lang.String uuid,
long groupId,
long classNameId,
java.lang.String structureKey,
boolean preloaded)
protected com.liferay.dynamic.data.mapping.model.DDMForm getImportDDMForm(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.dynamic.data.mapping.model.DDMFormLayout getImportDDMFormLayout(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void importDDMDataProviderInstances(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.xml.Element structureElement,
com.liferay.dynamic.data.mapping.model.DDMForm ddmForm)
throws com.liferay.exportimport.kernel.lar.PortletDataException
com.liferay.exportimport.kernel.lar.PortletDataExceptionprotected boolean isModifiedStructure(com.liferay.dynamic.data.mapping.model.DDMStructure existingStructure,
com.liferay.dynamic.data.mapping.model.DDMStructure structure)
protected void setDDMFormJSONDeserializer(com.liferay.dynamic.data.mapping.io.DDMFormJSONDeserializer ddmFormJSONDeserializer)
protected void setDDMFormLayoutJSONDeserializer(com.liferay.dynamic.data.mapping.io.DDMFormLayoutJSONDeserializer ddmFormLayoutJSONDeserializer)
protected void setDDMStructureLayoutLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLayoutLocalService ddmStructureLayoutLocalService)
protected void setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService)
protected void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)