com.liferay.portlet.blogs.lar
Class BlogsPortletDataHandlerImpl

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

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

View Source

Author:
Bruno Farache, Raymond Augé, Juan Fernández

Constructor Summary
BlogsPortletDataHandlerImpl()
           
 
Method Summary
 javax.portlet.PortletPreferences deleteData(com.liferay.portal.kernel.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
 java.lang.String exportData(com.liferay.portal.kernel.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
protected  void exportEntry(com.liferay.portal.kernel.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.kernel.lar.PortletDataContext context, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
 com.liferay.portal.kernel.lar.PortletDataHandlerControl[] getExportControls()
           
 com.liferay.portal.kernel.lar.PortletDataHandlerControl[] getImportControls()
           
 javax.portlet.PortletPreferences importData(com.liferay.portal.kernel.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences preferences, java.lang.String data)
           
protected  void importEntry(com.liferay.portal.kernel.lar.PortletDataContext context, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
 
Methods inherited from class com.liferay.portal.kernel.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.kernel.lar.PortletDataContext context,
                                                   java.lang.String portletId,
                                                   javax.portlet.PortletPreferences preferences)
                                            throws com.liferay.portal.kernel.lar.PortletDataException
Throws:
com.liferay.portal.kernel.lar.PortletDataException

exportData

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

getExportControls

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

getImportControls

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

importData

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

exportEntry

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

getEntryPath

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

importEntry

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