Liferay 6.2-ce-ga5

com.liferay.portlet.layoutsetprototypes.lar
Class LayoutSetPrototypeStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<LayoutSetPrototype>
      extended by com.liferay.portlet.layoutsetprototypes.lar.LayoutSetPrototypeStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<LayoutSetPrototype>

public class LayoutSetPrototypeStagedModelDataHandler
extends BaseStagedModelDataHandler<LayoutSetPrototype>


Field Summary
static String[] CLASS_NAMES
           
 
Fields inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
sessionFactory, STAGING_HIBERNATE_CACHE_FLUSH_FREQUENCY
 
Constructor Summary
LayoutSetPrototypeStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, LayoutSetPrototype layoutSetPrototype)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, LayoutSetPrototype layoutSetPrototype)
           
protected  void exportLayoutPrototypes(PortletDataContext portletDataContext, LayoutSetPrototype layoutSetPrototype, Element layoutSetPrototypeElement)
           
protected  void exportLayouts(LayoutSetPrototype layoutSetPrototype, PortletDataContext portletDataContext)
           
 String[] getClassNames()
           
protected  String getLayoutSetPrototypeLARFileName(LayoutSetPrototype layoutSetPrototype)
           
protected  void importLayoutPrototypes(PortletDataContext portletDataContext, LayoutSetPrototype layoutSetPrototype)
           
protected  void importLayouts(PortletDataContext portletDataContext, LayoutSetPrototype layoutSetPrototype, LayoutSetPrototype importedLayoutSetPrototype, ServiceContext serviceContext)
           
protected  boolean validateMissingReference(String uuid, long companyId, long groupId)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, doImportCompanyStagedModel, doRestoreStagedModel, exportStagedModel, getDisplayName, getExportableStatuses, getReferenceAttributes, importCompanyStagedModel, importCompanyStagedModel, importStagedModel, maintainSessionCache, restoreStagedModel, validateExport, 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

LayoutSetPrototypeStagedModelDataHandler

public LayoutSetPrototypeStagedModelDataHandler()
Method Detail

deleteStagedModel

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

getClassNames

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

doExportStagedModel

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

doImportStagedModel

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

exportLayoutPrototypes

protected void exportLayoutPrototypes(PortletDataContext portletDataContext,
                                      LayoutSetPrototype layoutSetPrototype,
                                      Element layoutSetPrototypeElement)
                               throws Exception
Throws:
Exception

exportLayouts

protected void exportLayouts(LayoutSetPrototype layoutSetPrototype,
                             PortletDataContext portletDataContext)
                      throws Exception
Throws:
Exception

getLayoutSetPrototypeLARFileName

protected String getLayoutSetPrototypeLARFileName(LayoutSetPrototype layoutSetPrototype)

importLayoutPrototypes

protected void importLayoutPrototypes(PortletDataContext portletDataContext,
                                      LayoutSetPrototype layoutSetPrototype)
                               throws PortletDataException
Throws:
PortletDataException

importLayouts

protected void importLayouts(PortletDataContext portletDataContext,
                             LayoutSetPrototype layoutSetPrototype,
                             LayoutSetPrototype importedLayoutSetPrototype,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

validateMissingReference

protected boolean validateMissingReference(String uuid,
                                           long companyId,
                                           long groupId)
                                    throws Exception
Overrides:
validateMissingReference in class BaseStagedModelDataHandler<LayoutSetPrototype>
Throws:
Exception

Liferay 6.2-ce-ga5