com.liferay.portlet.dynamicdatalists.lar
Class DDLPortletDataHandlerImpl
java.lang.Object
com.liferay.portal.kernel.lar.BasePortletDataHandler
com.liferay.portlet.dynamicdatalists.lar.DDLPortletDataHandlerImpl
- All Implemented Interfaces:
- PortletDataHandler, DDLPortletDataHandler
public class DDLPortletDataHandlerImpl
- extends BasePortletDataHandler
- implements DDLPortletDataHandler
Method Summary |
protected PortletPreferences |
doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
|
protected String |
doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
|
protected PortletPreferences |
doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
|
void |
exportRecordSet(PortletDataContext portletDataContext,
Element recordSetsElement,
DDLRecordSet recordSet)
|
protected String |
getRecordSetPath(PortletDataContext portletDataContext,
DDLRecordSet recordSet)
|
protected void |
importDDMStructures(PortletDataContext portletDataContext,
Element ddmStructureReferencesElement)
|
protected void |
importDDMTemplates(PortletDataContext portletDataContext,
Element ddmTemplateReferencesElement)
|
void |
importRecordSet(PortletDataContext portletDataContext,
Element recordSetElement)
|
boolean |
isAlwaysExportable()
Returns true to allow the user to export data for this
portlet even though it may not belong to any pages. |
boolean |
isDataLocalized()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDLPortletDataHandlerImpl
public DDLPortletDataHandlerImpl()
exportRecordSet
public void exportRecordSet(PortletDataContext portletDataContext,
Element recordSetsElement,
DDLRecordSet recordSet)
throws Exception
- Specified by:
exportRecordSet
in interface DDLPortletDataHandler
- Throws:
Exception
importRecordSet
public void importRecordSet(PortletDataContext portletDataContext,
Element recordSetElement)
throws Exception
- Specified by:
importRecordSet
in interface DDLPortletDataHandler
- Throws:
Exception
isAlwaysExportable
public boolean isAlwaysExportable()
- Description copied from interface:
PortletDataHandler
- Returns
true
to allow the user to export data for this
portlet even though it may not belong to any pages. See LPS-1624.
- Specified by:
isAlwaysExportable
in interface PortletDataHandler
- Overrides:
isAlwaysExportable
in class BasePortletDataHandler
- Returns:
true
to allow the user to export data for this
portlet even though it may not belong to any pages
isDataLocalized
public boolean isDataLocalized()
- Specified by:
isDataLocalized
in interface PortletDataHandler
- Overrides:
isDataLocalized
in class BasePortletDataHandler
doDeleteData
protected PortletPreferences doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doDeleteData
in class BasePortletDataHandler
- Throws:
Exception
doExportData
protected String doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doExportData
in class BasePortletDataHandler
- Throws:
Exception
doImportData
protected PortletPreferences doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
throws Exception
- Overrides:
doImportData
in class BasePortletDataHandler
- Throws:
Exception
getRecordSetPath
protected String getRecordSetPath(PortletDataContext portletDataContext,
DDLRecordSet recordSet)
importDDMStructures
protected void importDDMStructures(PortletDataContext portletDataContext,
Element ddmStructureReferencesElement)
throws Exception
- Throws:
Exception
importDDMTemplates
protected void importDDMTemplates(PortletDataContext portletDataContext,
Element ddmTemplateReferencesElement)
throws Exception
- Throws:
Exception