Liferay 7.0-ce-m6

com.liferay.portlet.messageboards.lar
Class MBDiscussionStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler<MBDiscussion>
      extended by com.liferay.portlet.messageboards.lar.MBDiscussionStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<MBDiscussion>

public class MBDiscussionStagedModelDataHandler
extends BaseStagedModelDataHandler<MBDiscussion>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
MBDiscussionStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(MBDiscussion discussion)
           
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, MBDiscussion discussion)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, MBDiscussion discussion)
           
 MBDiscussion fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 List<MBDiscussion> fetchStagedModelsByUuidAndCompanyId(String uuid, long companyId)
           
 String[] getClassNames()
           
 String getDisplayName(MBDiscussion discussion)
           
 
Methods inherited from class com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler
countStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportAssetTags, exportComments, exportRatings, exportStagedModel, fetchMissingReference, getExportableStatuses, getProcessFlag, getReferenceAttributes, importAssetCategories, importAssetTags, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, isStagedModelInTrash, 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

MBDiscussionStagedModelDataHandler

public MBDiscussionStagedModelDataHandler()
Method Detail

deleteStagedModel

public void deleteStagedModel(MBDiscussion discussion)

deleteStagedModel

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

fetchStagedModelByUuidAndGroupId

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

fetchStagedModelsByUuidAndCompanyId

public List<MBDiscussion> fetchStagedModelsByUuidAndCompanyId(String uuid,
                                                              long companyId)
Specified by:
fetchStagedModelsByUuidAndCompanyId in interface StagedModelDataHandler<MBDiscussion>
Specified by:
fetchStagedModelsByUuidAndCompanyId in class BaseStagedModelDataHandler<MBDiscussion>

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportStagedModel

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

Liferay 7.0-ce-m6