com.liferay.portlet.blogs.lar
Class BlogsPortletDataHandlerImpl

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

public class BlogsPortletDataHandlerImpl
extends java.lang.Object
implements com.liferay.portal.lar.PortletDataHandler

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 prefs)
           
 java.lang.String exportData(com.liferay.portal.lar.PortletDataContext context, java.lang.String portletId, javax.portlet.PortletPreferences prefs)
           
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 prefs, java.lang.String data)
           
protected  void importEntry(com.liferay.portal.lar.PortletDataContext context, com.liferay.portlet.blogs.model.BlogsEntry entry)
           
 boolean 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 prefs)
                                            throws com.liferay.portal.lar.PortletDataException
Specified by:
deleteData in interface com.liferay.portal.lar.PortletDataHandler
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 prefs)
                            throws com.liferay.portal.lar.PortletDataException
Specified by:
exportData in interface com.liferay.portal.lar.PortletDataHandler
Throws:
com.liferay.portal.lar.PortletDataException

getExportControls

public com.liferay.portal.lar.PortletDataHandlerControl[] getExportControls()
Specified by:
getExportControls in interface com.liferay.portal.lar.PortletDataHandler

getImportControls

public com.liferay.portal.lar.PortletDataHandlerControl[] getImportControls()
Specified by:
getImportControls in interface com.liferay.portal.lar.PortletDataHandler

importData

public javax.portlet.PortletPreferences importData(com.liferay.portal.lar.PortletDataContext context,
                                                   java.lang.String portletId,
                                                   javax.portlet.PortletPreferences prefs,
                                                   java.lang.String data)
                                            throws com.liferay.portal.lar.PortletDataException
Specified by:
importData in interface com.liferay.portal.lar.PortletDataHandler
Throws:
com.liferay.portal.lar.PortletDataException

isPublishToLiveByDefault

public boolean isPublishToLiveByDefault()
Specified by:
isPublishToLiveByDefault in interface com.liferay.portal.lar.PortletDataHandler

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