com.liferay.portlet.dynamicdatamapping.lar
Class DDMTemplateStagedModelDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DDMTemplate>
com.liferay.portlet.dynamicdatamapping.lar.DDMTemplateStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<DDMTemplate>
public class DDMTemplateStagedModelDataHandler
- extends BaseStagedModelDataHandler<DDMTemplate>
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMTemplateStagedModelDataHandler
public DDMTemplateStagedModelDataHandler()
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