com.liferay.portal.lar
Class BasePortletDataHandler

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

public abstract class BasePortletDataHandler
extends java.lang.Object
implements PortletDataHandler

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BasePortletDataHandler()
           
 
Method Summary
 boolean isAlwaysExportable()
          Returns true to allow the user to export data for this portlet even though it may not belong to any pages.
 boolean isPublishToLiveByDefault()
          Returns whether the data exported by this handler should be included by default when publishing to live.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.lar.PortletDataHandler
deleteData, exportData, getExportControls, getImportControls, importData
 

Constructor Detail

BasePortletDataHandler

public BasePortletDataHandler()
Method Detail

isAlwaysExportable

public boolean isAlwaysExportable()
Description copied from interface: PortletDataHandler
Returns true to allow the user to export data for this portlet even though it may not belong to any pages. See LPS-1624.

Specified by:
isAlwaysExportable in interface PortletDataHandler
Returns:
true to allow the user to export data for this portlet even though it may not belong to any pages

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
Returns:
true to publish to live by default