|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.lar.BasePortletDataHandler
com.liferay.portlet.wiki.lar.WikiDisplayPortletDataHandlerImpl
public class WikiDisplayPortletDataHandlerImpl
| Constructor Summary | |
|---|---|
WikiDisplayPortletDataHandlerImpl()
|
|
| 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)
|
String[] |
getDataPortletPreferences()
Returns an array of the portlet preferences that reference data. |
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. |
PortletPreferences |
importData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
Handles any special processing of the data when the portlet is imported into a new layout. |
| Methods inherited from class com.liferay.portal.kernel.lar.BasePortletDataHandler |
|---|
deleteData, exportData, isAlwaysExportable, isAlwaysStaged, isDataLocalized, isPublishToLiveByDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiDisplayPortletDataHandlerImpl()
| Method Detail |
|---|
public String[] getDataPortletPreferences()
PortletDataHandler
getDataPortletPreferences in interface PortletDataHandlergetDataPortletPreferences in class BasePortletDataHandlerpublic PortletDataHandlerControl[] getExportControls()
PortletDataHandler
getExportControls in interface PortletDataHandlergetExportControls in class BasePortletDataHandlerpublic PortletDataHandlerControl[] getExportMetadataControls()
PortletDataHandler
getExportMetadataControls in interface PortletDataHandlergetExportMetadataControls in class BasePortletDataHandlerpublic PortletDataHandlerControl[] getImportControls()
PortletDataHandler
getImportControls in interface PortletDataHandlergetImportControls in class BasePortletDataHandlerpublic PortletDataHandlerControl[] getImportMetadataControls()
PortletDataHandler
getImportMetadataControls in interface PortletDataHandlergetImportMetadataControls in class BasePortletDataHandler
public PortletPreferences importData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
throws PortletDataException
PortletDataHandlerpreferences to be saved in the new portlet.
importData in interface PortletDataHandlerimportData in class BasePortletDataHandlerportletDataContext - the context of the data importportletId - the portlet ID of the portletportletPreferences - the portlet preferences of the portletdata - the string data that was returned by
exportData()
Null if the portlet preferences were unmodified by
this data handler.
PortletDataException - if a portlet data exception occurred
protected PortletPreferences doDeleteData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
doDeleteData in class BasePortletDataHandlerException
protected String doExportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences)
throws Exception
doExportData in class BasePortletDataHandlerException
protected PortletPreferences doImportData(PortletDataContext portletDataContext,
String portletId,
PortletPreferences portletPreferences,
String data)
throws Exception
doImportData in class BasePortletDataHandlerException
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||