Liferay 6.2.0-ce-rc1

com.liferay.portlet.dynamicdatamapping.lar
Class DDMStructureStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DDMStructure>
      extended by com.liferay.portlet.dynamicdatamapping.lar.DDMStructureStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<DDMStructure>

public class DDMStructureStagedModelDataHandler
extends BaseStagedModelDataHandler<DDMStructure>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
DDMStructureStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, DDMStructure structure)
           
 void doImportCompanyStagedModel(PortletDataContext portletDataContext, DDMStructure structure)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, DDMStructure structure)
           
 String[] getClassNames()
           
 String getDisplayName(DDMStructure structure)
           
protected  void prepareLanguagesForImport(DDMStructure structure)
           
protected  boolean validateMissingReference(String uuid, long companyId, long groupId)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, exportStagedModel, getExportableStatuses, importCompanyStagedModel, importStagedModel, isExportable, validateReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAMES

public static final String[] CLASS_NAMES
Constructor Detail

DDMStructureStagedModelDataHandler

public DDMStructureStagedModelDataHandler()
Method Detail

deleteStagedModel

public void deleteStagedModel(String uuid,
                              long groupId,
                              String className,
                              String extraData)
                       throws PortalException,
                              SystemException
Specified by:
deleteStagedModel in interface StagedModelDataHandler<DDMStructure>
Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<DDMStructure>
Throws:
PortalException
SystemException

doImportCompanyStagedModel

public void doImportCompanyStagedModel(PortletDataContext portletDataContext,
                                       DDMStructure structure)
                                throws Exception
Overrides:
doImportCompanyStagedModel in class BaseStagedModelDataHandler<DDMStructure>
Throws:
Exception

getClassNames

public String[] getClassNames()
Specified by:
getClassNames in interface StagedModelDataHandler<DDMStructure>
Specified by:
getClassNames in class BaseStagedModelDataHandler<DDMStructure>

getDisplayName

public String getDisplayName(DDMStructure structure)
Specified by:
getDisplayName in interface StagedModelDataHandler<DDMStructure>
Overrides:
getDisplayName in class BaseStagedModelDataHandler<DDMStructure>

doExportStagedModel

protected void doExportStagedModel(PortletDataContext portletDataContext,
                                   DDMStructure structure)
                            throws Exception
Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<DDMStructure>
Throws:
Exception

doImportStagedModel

protected void doImportStagedModel(PortletDataContext portletDataContext,
                                   DDMStructure structure)
                            throws Exception
Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<DDMStructure>
Throws:
Exception

prepareLanguagesForImport

protected void prepareLanguagesForImport(DDMStructure structure)
                                  throws PortalException
Throws:
PortalException

validateMissingReference

protected boolean validateMissingReference(String uuid,
                                           long companyId,
                                           long groupId)
                                    throws Exception
Overrides:
validateMissingReference in class BaseStagedModelDataHandler<DDMStructure>
Throws:
Exception

Liferay 6.2.0-ce-rc1