|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.kernel.lar.BasePortletDataHandler com.liferay.portlet.calendar.lar.CalendarPortletDataHandlerImpl
public class CalendarPortletDataHandlerImpl
Constructor Summary | |
---|---|
CalendarPortletDataHandlerImpl()
|
Method Summary | |
---|---|
protected PortletPreferences |
doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
|
protected String |
doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
|
protected PortletPreferences |
doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
|
protected void |
exportEvent(PortletDataContext portletDataContext,
Element rootElement,
CalEvent event)
|
protected String |
getEventPath(PortletDataContext portletDataContext,
CalEvent event)
|
PortletDataHandlerControl[] |
getExportControls()
Returns an array of the controls defined for this data handler. |
PortletDataHandlerControl[] |
getExportMetadataControls()
Returns an array of the metadata controls defined for this data handler. |
PortletDataHandlerControl[] |
getImportControls()
Returns an array of the controls defined for this data handler. |
PortletDataHandlerControl[] |
getImportMetadataControls()
Returns an array of the metadata controls defined for this data handler. |
protected void |
importEvent(PortletDataContext portletDataContext,
Element eventElement,
CalEvent event)
|
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 com.liferay.portal.kernel.lar.BasePortletDataHandler |
---|
deleteData, exportData, getDataPortletPreferences, importData, isAlwaysStaged, isDataLocalized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalendarPortletDataHandlerImpl()
Method Detail |
---|
public PortletDataHandlerControl[] getExportControls()
PortletDataHandler
getExportControls
in interface PortletDataHandler
getExportControls
in class BasePortletDataHandler
public PortletDataHandlerControl[] getExportMetadataControls()
PortletDataHandler
getExportMetadataControls
in interface PortletDataHandler
getExportMetadataControls
in class BasePortletDataHandler
public PortletDataHandlerControl[] getImportControls()
PortletDataHandler
getImportControls
in interface PortletDataHandler
getImportControls
in class BasePortletDataHandler
public PortletDataHandlerControl[] getImportMetadataControls()
PortletDataHandler
getImportMetadataControls
in interface PortletDataHandler
getImportMetadataControls
in class BasePortletDataHandler
public boolean isAlwaysExportable()
PortletDataHandler
true
to allow the user to export data for this
portlet even though it may not belong to any pages. See LPS-1624.
isAlwaysExportable
in interface PortletDataHandler
isAlwaysExportable
in class BasePortletDataHandler
true
to allow the user to export data for this
portlet even though it may not belong to any pagespublic boolean isPublishToLiveByDefault()
PortletDataHandler
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.
isPublishToLiveByDefault
in interface PortletDataHandler
isPublishToLiveByDefault
in class BasePortletDataHandler
true
to publish to live by defaultprotected PortletPreferences doDeleteData(PortletDataContext portletDataContext, String portletId, PortletPreferences portletPreferences) throws Exception
doDeleteData
in class BasePortletDataHandler
Exception
protected String doExportData(PortletDataContext portletDataContext, String portletId, PortletPreferences portletPreferences) throws Exception
doExportData
in class BasePortletDataHandler
Exception
protected PortletPreferences doImportData(PortletDataContext portletDataContext, String portletId, PortletPreferences portletPreferences, String data) throws Exception
doImportData
in class BasePortletDataHandler
Exception
protected void exportEvent(PortletDataContext portletDataContext, Element rootElement, CalEvent event) throws PortalException, SystemException
PortalException
SystemException
protected String getEventPath(PortletDataContext portletDataContext, CalEvent event)
protected void importEvent(PortletDataContext portletDataContext, Element eventElement, CalEvent event) throws Exception
Exception
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |