com.liferay.portlet.polls.lar
Class PollsDisplayPortletDataHandlerImpl
java.lang.Object
com.liferay.portal.kernel.lar.BasePortletDataHandler
com.liferay.portlet.polls.lar.PollsDisplayPortletDataHandlerImpl
- All Implemented Interfaces:
- PortletDataHandler
public class PollsDisplayPortletDataHandlerImpl
- extends BasePortletDataHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsDisplayPortletDataHandlerImpl
public PollsDisplayPortletDataHandlerImpl()
getDataPortletPreferences
public String[] getDataPortletPreferences()
- Description copied from interface:
PortletDataHandler
- Returns an array of the portlet preferences that reference data. These
preferences should only be updated if the referenced data is imported.
- Specified by:
getDataPortletPreferences
in interface PortletDataHandler
- Overrides:
getDataPortletPreferences
in class BasePortletDataHandler
- Returns:
- A String array
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 BasePortletDataHandler
- 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 BasePortletDataHandler
- Returns:
- An array of PortletDataHandlerControls
isDataLocalized
public boolean isDataLocalized()
- Specified by:
isDataLocalized
in interface PortletDataHandler
- Overrides:
isDataLocalized
in class BasePortletDataHandler
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 BasePortletDataHandler
- Returns:
true
to publish to live by default
doDeleteData
protected PortletPreferences doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doDeleteData
in class BasePortletDataHandler
- Throws:
Exception
doExportData
protected String doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
- Overrides:
doExportData
in class BasePortletDataHandler
- Throws:
Exception
doImportData
protected PortletPreferences doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
throws Exception
- Overrides:
doImportData
in class BasePortletDataHandler
- Throws:
Exception