com.liferay.portlet.blogs.lar
Class BlogsPortletDataHandlerImpl
java.lang.Object
com.liferay.portal.kernel.lar.BasePortletDataHandler
com.liferay.portlet.blogs.lar.BlogsPortletDataHandlerImpl
- All Implemented Interfaces:
- PortletDataHandler
public class BlogsPortletDataHandlerImpl
- extends BasePortletDataHandler
Method Summary |
protected PortletPreferences |
doDeleteData(PortletDataContext context,
String portletId,
PortletPreferences preferences)
|
protected String |
doExportData(PortletDataContext context,
String portletId,
PortletPreferences preferences)
|
protected PortletPreferences |
doImportData(PortletDataContext context,
String portletId,
PortletPreferences preferences,
String data)
|
protected void |
exportEntry(PortletDataContext context,
Element root,
BlogsEntry entry)
|
protected String |
getEntryPath(PortletDataContext context,
BlogsEntry entry)
|
PortletDataHandlerControl[] |
getExportControls()
Returns an array of the controls defined for this data handler. |
PortletDataHandlerControl[] |
getImportControls()
Returns an array of the controls defined for this data handler. |
protected void |
importEntry(PortletDataContext context,
BlogsEntry entry)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsPortletDataHandlerImpl
public BlogsPortletDataHandlerImpl()
getExportControls
public PortletDataHandlerControl[] getExportControls()
- Description copied from interface:
PortletDataHandler
- Returns an array of the controls defined for this data handler. These
controls enable the developer to create fine grained controls over export
behavior. The controls are rendered in the export UI.
- Returns:
- an array of PortletDataHandlerControls
getImportControls
public PortletDataHandlerControl[] getImportControls()
- Description copied from interface:
PortletDataHandler
- Returns an array of the controls defined for this data handler. These
controls enable the developer to create fine grained controls over import
behavior. The controls are rendered in the import UI.
- Returns:
- An array of PortletDataHandlerControls
doDeleteData
protected PortletPreferences doDeleteData(PortletDataContext context,
String portletId,
PortletPreferences preferences)
throws Exception
- Overrides:
doDeleteData
in class BasePortletDataHandler
- Throws:
Exception
doExportData
protected String doExportData(PortletDataContext context,
String portletId,
PortletPreferences preferences)
throws Exception
- Overrides:
doExportData
in class BasePortletDataHandler
- Throws:
Exception
doImportData
protected PortletPreferences doImportData(PortletDataContext context,
String portletId,
PortletPreferences preferences,
String data)
throws Exception
- Overrides:
doImportData
in class BasePortletDataHandler
- Throws:
Exception
exportEntry
protected void exportEntry(PortletDataContext context,
Element root,
BlogsEntry entry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntryPath
protected String getEntryPath(PortletDataContext context,
BlogsEntry entry)
importEntry
protected void importEntry(PortletDataContext context,
BlogsEntry entry)
throws Exception
- Throws:
Exception