Liferay 7.0-ce-m3

com.liferay.portlet.wiki.lar
Class WikiPageStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<WikiPage>
      extended by com.liferay.portlet.wiki.lar.WikiPageStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<WikiPage>

public class WikiPageStagedModelDataHandler
extends BaseStagedModelDataHandler<WikiPage>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
WikiPageStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, WikiPage page)
           
protected  void doImportMissingReference(PortletDataContext portletDataContext, String uuid, long groupId, long pageId)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, WikiPage page)
           
protected  void doRestoreStagedModel(PortletDataContext portletDataContext, WikiPage page)
           
 WikiPage fetchStagedModelByUuidAndCompanyId(String uuid, long companyId)
           
 WikiPage fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 String[] getClassNames()
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, getDisplayName, 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

WikiPageStagedModelDataHandler

public WikiPageStagedModelDataHandler()
Method Detail

deleteStagedModel

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

fetchStagedModelByUuidAndCompanyId

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

fetchStagedModelByUuidAndGroupId

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

getClassNames

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

doExportStagedModel

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

doImportMissingReference

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

doImportStagedModel

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

doRestoreStagedModel

protected void doRestoreStagedModel(PortletDataContext portletDataContext,
                                    WikiPage page)
                             throws Exception
Overrides:
doRestoreStagedModel in class BaseStagedModelDataHandler<WikiPage>
Throws:
Exception

Liferay 7.0-ce-m3