Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.lar
Class DDLRecordSetStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DDLRecordSet>
      extended by com.liferay.portlet.dynamicdatalists.lar.DDLRecordSetStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<DDLRecordSet>

public class DDLRecordSetStagedModelDataHandler
extends BaseStagedModelDataHandler<DDLRecordSet>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
DDLRecordSetStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, DDLRecordSet recordSet)
           
protected  void doImportMissingReference(PortletDataContext portletDataContext, String uuid, long groupId, long recordSetId)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, DDLRecordSet recordSet)
           
 DDLRecordSet fetchStagedModelByUuidAndCompanyId(String uuid, long companyId)
           
 DDLRecordSet fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 String[] getClassNames()
           
 String getDisplayName(DDLRecordSet recordSet)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, getExportableStatuses, getReferenceAttributes, importAssetCategories, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, restoreStagedModel, validateExport, validateMissingGroupReference, validateMissingReference, 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

DDLRecordSetStagedModelDataHandler

public DDLRecordSetStagedModelDataHandler()
Method Detail

deleteStagedModel

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

fetchStagedModelByUuidAndCompanyId

public DDLRecordSet fetchStagedModelByUuidAndCompanyId(String uuid,
                                                       long companyId)
Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<DDLRecordSet>
Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<DDLRecordSet>

fetchStagedModelByUuidAndGroupId

public DDLRecordSet fetchStagedModelByUuidAndGroupId(String uuid,
                                                     long groupId)
Specified by:
fetchStagedModelByUuidAndGroupId in interface StagedModelDataHandler<DDLRecordSet>
Overrides:
fetchStagedModelByUuidAndGroupId in class BaseStagedModelDataHandler<DDLRecordSet>

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportMissingReference

protected void doImportMissingReference(PortletDataContext portletDataContext,
                                        String uuid,
                                        long groupId,
                                        long recordSetId)
                                 throws Exception
Overrides:
doImportMissingReference in class BaseStagedModelDataHandler<DDLRecordSet>
Throws:
Exception

doImportStagedModel

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

Liferay 7.0-ce-m3