Liferay 6.2.0-ce-m5

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>


Field Summary
static String[] CLASS_NAMES
           
 
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, DDMTemplate template)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, DDMTemplate template)
           
 String[] getClassNames()
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
exportStagedModel, importStagedModel
 
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

DDMTemplateStagedModelDataHandler

public DDMTemplateStagedModelDataHandler()
Method Detail

getClassNames

public String[] getClassNames()
Specified by:
getClassNames in interface StagedModelDataHandler<DDMTemplate>
Specified by:
getClassNames 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,
                                   DDMTemplate template)
                            throws Exception
Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<DDMTemplate>
Throws:
Exception

doImportStagedModel

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

Liferay 6.2.0-ce-m5