Liferay 7.0-ce-m6

com.liferay.portlet.layoutprototypes.lar
Class LayoutPrototypeStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler<LayoutPrototype>
      extended by com.liferay.portlet.layoutprototypes.lar.LayoutPrototypeStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<LayoutPrototype>

public class LayoutPrototypeStagedModelDataHandler
extends BaseStagedModelDataHandler<LayoutPrototype>


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

LayoutPrototypeStagedModelDataHandler

public LayoutPrototypeStagedModelDataHandler()
Method Detail

deleteStagedModel

public void deleteStagedModel(LayoutPrototype layoutPrototype)
                       throws PortalException
Throws:
PortalException

deleteStagedModel

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

fetchStagedModelsByUuidAndCompanyId

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

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportStagedModel

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

exportLayouts

protected void exportLayouts(PortletDataContext portletDataContext,
                             LayoutPrototype layoutPrototype)
                      throws Exception
Throws:
Exception

importLayouts

protected void importLayouts(PortletDataContext portletDataContext,
                             LayoutPrototype layoutPrototype,
                             long importedGroupId)
                      throws PortalException
Throws:
PortalException

importReferenceStagedModels

protected void importReferenceStagedModels(PortletDataContext portletDataContext,
                                           LayoutPrototype layoutPrototype)
Overrides:
importReferenceStagedModels in class BaseStagedModelDataHandler<LayoutPrototype>

Liferay 7.0-ce-m6