Liferay 6.0-ee

com.liferay.portlet.rss.lar
Class RSSPortletDataHandlerImpl

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BasePortletDataHandler
      extended by com.liferay.portlet.journal.lar.JournalPortletDataHandlerImpl
          extended by com.liferay.portlet.rss.lar.RSSPortletDataHandlerImpl
All Implemented Interfaces:
PortletDataHandler

public class RSSPortletDataHandlerImpl
extends JournalPortletDataHandlerImpl


Constructor Summary
RSSPortletDataHandlerImpl()
           
 
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)
           
 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.
 boolean isPublishToLiveByDefault()
          Returns whether the data exported by this handler should be included by default when publishing to live.
 
Methods inherited from class com.liferay.portlet.journal.lar.JournalPortletDataHandlerImpl
exportArticle, exportDLFileEntries, exportFeed, exportIGImages, exportLayoutFriendlyURLs, exportStructure, exportTemplate, getArticleImagePath, getArticleImagePath, getArticlePath, getArticleSmallImagePath, getFeedPath, getStructurePath, getTemplatePath, getTemplateSmallImagePath, importArticle, importDLFileEntries, importFeed, importIGImages, importStructure, importTemplate, isAlwaysExportable
 
Methods inherited from class com.liferay.portal.kernel.lar.BasePortletDataHandler
deleteData, exportData, importData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSPortletDataHandlerImpl

public RSSPortletDataHandlerImpl()
Method Detail

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.

Specified by:
getExportControls in interface PortletDataHandler
Overrides:
getExportControls in class JournalPortletDataHandlerImpl
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.

Specified by:
getImportControls in interface PortletDataHandler
Overrides:
getImportControls in class JournalPortletDataHandlerImpl
Returns:
An array of PortletDataHandlerControls

isPublishToLiveByDefault

public boolean isPublishToLiveByDefault()
Description copied from interface: PortletDataHandler
Returns whether the data exported by this handler should be included by default when publishing to live. This should only be true for data that is meant to be managed in an staging environment such as CMS content, but not for data meant to be input by users such as wiki pages or message board posts.

Specified by:
isPublishToLiveByDefault in interface PortletDataHandler
Overrides:
isPublishToLiveByDefault in class JournalPortletDataHandlerImpl
Returns:
true to publish to live by default

doDeleteData

protected PortletPreferences doDeleteData(PortletDataContext context,
                                          String portletId,
                                          PortletPreferences preferences)
                                   throws Exception
Overrides:
doDeleteData in class JournalPortletDataHandlerImpl
Throws:
Exception

doExportData

protected String doExportData(PortletDataContext context,
                              String portletId,
                              PortletPreferences preferences)
                       throws Exception
Overrides:
doExportData in class JournalPortletDataHandlerImpl
Throws:
Exception

doImportData

protected PortletPreferences doImportData(PortletDataContext context,
                                          String portletId,
                                          PortletPreferences preferences,
                                          String data)
                                   throws Exception
Overrides:
doImportData in class JournalPortletDataHandlerImpl
Throws:
Exception

Liferay 6.0-ee