Liferay 7.0-ce-m3

com.liferay.portlet.messageboards.lar
Class MBDiscussionStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.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(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, MBDiscussion discussion)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, MBDiscussion discussion)
           
 MBDiscussion fetchStagedModelByUuidAndCompanyId(String uuid, long companyId)
           
 MBDiscussion fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 String[] getClassNames()
           
 String getDisplayName(MBDiscussion discussion)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, doImportMissingReference, 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

MBDiscussionStagedModelDataHandler

public MBDiscussionStagedModelDataHandler()
Method Detail

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>

fetchStagedModelByUuidAndCompanyId

public MBDiscussion fetchStagedModelByUuidAndCompanyId(String uuid,
                                                       long companyId)
Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<MBDiscussion>
Specified by:
fetchStagedModelByUuidAndCompanyId 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>

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-m3