Liferay 6.2.0-ce-m4

com.liferay.portlet.dynamicdatamapping.lar
Class DDMTemplateStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DDMTemplate>
      extended by com.liferay.portlet.dynamicdatamapping.lar.DDMTemplateStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<DDMTemplate>

public class DDMTemplateStagedModelDataHandler
extends BaseStagedModelDataHandler<DDMTemplate>


Constructor Summary
DDMTemplateStagedModelDataHandler()
           
 
Method Summary
protected  DDMTemplate addTemplate(long userId, long groupId, DDMTemplate template, long classPK, File smallFile, ServiceContext serviceContext)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, Element[] elements, DDMTemplate template)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, Element element, String path, DDMTemplate template)
           
 String getClassName()
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
exportStagedModel, exportStagedModel, importStagedModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateStagedModelDataHandler

public DDMTemplateStagedModelDataHandler()
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface StagedModelDataHandler<DDMTemplate>
Specified by:
getClassName in class BaseStagedModelDataHandler<DDMTemplate>

addTemplate

protected DDMTemplate addTemplate(long userId,
                                  long groupId,
                                  DDMTemplate template,
                                  long classPK,
                                  File smallFile,
                                  ServiceContext serviceContext)
                           throws Exception
Throws:
Exception

doExportStagedModel

protected void doExportStagedModel(PortletDataContext portletDataContext,
                                   Element[] elements,
                                   DDMTemplate template)
                            throws Exception
Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<DDMTemplate>
Throws:
Exception

doImportStagedModel

protected void doImportStagedModel(PortletDataContext portletDataContext,
                                   Element element,
                                   String path,
                                   DDMTemplate template)
                            throws Exception
Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<DDMTemplate>
Throws:
Exception

Liferay 6.2.0-ce-m4