Liferay 7.0-ce-m6

com.liferay.portlet.blogs.lar
Class BlogsEntryStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler<BlogsEntry>
      extended by com.liferay.portlet.blogs.lar.BlogsEntryStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<BlogsEntry>

public class BlogsEntryStagedModelDataHandler
extends BaseStagedModelDataHandler<BlogsEntry>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
BlogsEntryStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(BlogsEntry entry)
           
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, BlogsEntry entry)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, BlogsEntry entry)
           
protected  void doRestoreStagedModel(PortletDataContext portletDataContext, BlogsEntry entry)
           
 BlogsEntry fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 List<BlogsEntry> fetchStagedModelsByUuidAndCompanyId(String uuid, long companyId)
           
 String[] getClassNames()
           
 String getDisplayName(BlogsEntry entry)
           
protected  InputStream getSmallImageInputStream(PortletDataContext portletDataContext, Element attachmentElement)
           
 
Methods inherited from class com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler
countStagedModel, doImportMissingReference, 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

BlogsEntryStagedModelDataHandler

public BlogsEntryStagedModelDataHandler()
Method Detail

deleteStagedModel

public void deleteStagedModel(BlogsEntry entry)
                       throws PortalException
Throws:
PortalException

deleteStagedModel

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

fetchStagedModelByUuidAndGroupId

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

fetchStagedModelsByUuidAndCompanyId

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

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportStagedModel

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

doRestoreStagedModel

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

getSmallImageInputStream

protected InputStream getSmallImageInputStream(PortletDataContext portletDataContext,
                                               Element attachmentElement)

Liferay 7.0-ce-m6