com.liferay.portlet.blogs.lar
Class BlogsPortletDataHandlerImpl

java.lang.Object
  extended by com.liferay.portal.lar.BasePortletDataHandler
      extended by com.liferay.portlet.blogs.lar.BlogsPortletDataHandlerImpl
All Implemented Interfaces:
com.liferay.portal.lar.PortletDataHandler

public class BlogsPortletDataHandlerImpl
extends com.liferay.portal.lar.BasePortletDataHandler

View Source

Author:
Bruno Farache, Raymond Augé

Constructor Summary
BlogsPortletDataHandlerImpl()
           
 
Method Summary
 javax.portlet.PortletPreferences deleteData(com.liferay.portal.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
 java.lang.String exportData(com.liferay.portal.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
protected  void exportEntry(com.liferay.portal.lar.PortletDataContext context, com.liferay.portal.kernel.xml.Element root, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
protected  java.lang.String getEntryPath(com.liferay.portal.lar.PortletDataContext context, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
 com.liferay.portal.lar.PortletDataHandlerControl[] getExportControls()
           
 com.liferay.portal.lar.PortletDataHandlerControl[] getImportControls()
           
 javax.portlet.PortletPreferences importData(com.liferay.portal.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences, java.lang.String data)
           
protected  void importEntry(com.liferay.portal.lar.PortletDataContext context, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
 
Methods inherited from class com.liferay.portal.lar.BasePortletDataHandler
isAlwaysExportable, isPublishToLiveByDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsPortletDataHandlerImpl

public BlogsPortletDataHandlerImpl()
Method Detail

deleteData

public javax.portlet.PortletPreferences deleteData(com.liferay.portal.lar.PortletDataContext context,
                                                   java.lang.String portletId,
                                                   javax.portlet.PortletPreferences preferences)
                                            throws com.liferay.portal.lar.PortletDataException
Throws:
com.liferay.portal.lar.PortletDataException

exportData

public java.lang.String exportData(com.liferay.portal.lar.PortletDataContext context,
                                   java.lang.String portletId,
                                   javax.portlet.PortletPreferences preferences)
                            throws com.liferay.portal.lar.PortletDataException
Throws:
com.liferay.portal.lar.PortletDataException

getExportControls

public com.liferay.portal.lar.PortletDataHandlerControl[] getExportControls()

getImportControls

public com.liferay.portal.lar.PortletDataHandlerControl[] getImportControls()

importData

public javax.portlet.PortletPreferences importData(com.liferay.portal.lar.PortletDataContext context,
                                                   java.lang.String portletId,
                                                   javax.portlet.PortletPreferences preferences,
                                                   java.lang.String data)
                                            throws com.liferay.portal.lar.PortletDataException
Throws:
com.liferay.portal.lar.PortletDataException

exportEntry

protected void exportEntry(com.liferay.portal.lar.PortletDataContext context,
                           com.liferay.portal.kernel.xml.Element root,
                           com.liferay.portlet.blogs.model.BlogsEntry entry)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryPath

protected java.lang.String getEntryPath(com.liferay.portal.lar.PortletDataContext context,
                                        com.liferay.portlet.blogs.model.BlogsEntry entry)

importEntry

protected void importEntry(com.liferay.portal.lar.PortletDataContext context,
                           com.liferay.portlet.blogs.model.BlogsEntry entry)
                    throws java.lang.Exception
Throws:
java.lang.Exception