|
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.wiki.lar.WikiPortletDataHandlerImpl
public class WikiPortletDataHandlerImpl
Constructor Summary | |
---|---|
WikiPortletDataHandlerImpl()
|
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)
|
static void |
exportNode(PortletDataContext portletDataContext,
Element nodesElement,
Element pagesElement,
Element dlFileEntryTypesElement,
Element dlFoldersElement,
Element dlFileEntriesElement,
Element dlFileRanksElement,
Element dlRepositoriesElement,
Element dlRepositoryEntriesElement,
WikiNode node)
|
protected static void |
exportNode(PortletDataContext portletDataContext,
Element nodesElement,
long nodeId)
|
protected static void |
exportPage(PortletDataContext portletDataContext,
Element nodesElement,
Element pagesElement,
Element dlFileEntryTypesElement,
Element dlFoldersElement,
Element dlFileEntriesElement,
Element dlFileRanksElement,
Element dlRepositoriesElement,
Element dlRepositoryEntriesElement,
WikiPage page,
boolean checkDateRange)
|
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. |
static PortletDataHandlerControl[] |
getMetadataControls()
|
protected static String |
getNodeName(PortletDataContext portletDataContext,
WikiNode node,
String name,
int count)
|
protected static String |
getNodePath(PortletDataContext portletDataContext,
WikiNode node)
|
protected static String |
getPageAttachementBinPath(PortletDataContext portletDataContext,
WikiPage page,
int count)
|
protected static String |
getPageImagePath(PortletDataContext portletDataContext,
WikiPage page)
|
protected static String |
getPagePath(PortletDataContext portletDataContext,
WikiPage page)
|
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. |
static void |
importNode(PortletDataContext portletDataContext,
WikiNode node)
|
static void |
importPage(PortletDataContext portletDataContext,
Element pageElement,
WikiPage page)
|
Methods inherited from class com.liferay.portal.kernel.lar.BasePortletDataHandler |
---|
deleteData, exportData, getDataPortletPreferences, 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 WikiPortletDataHandlerImpl()
Method Detail |
---|
public static void exportNode(PortletDataContext portletDataContext, Element nodesElement, Element pagesElement, Element dlFileEntryTypesElement, Element dlFoldersElement, Element dlFileEntriesElement, Element dlFileRanksElement, Element dlRepositoriesElement, Element dlRepositoryEntriesElement, WikiNode node) throws Exception
Exception
public static PortletDataHandlerControl[] getMetadataControls()
public static void importNode(PortletDataContext portletDataContext, WikiNode node) throws Exception
Exception
public static void importPage(PortletDataContext portletDataContext, Element pageElement, WikiPage page) throws Exception
Exception
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 PortletPreferences importData(PortletDataContext portletDataContext, String portletId, PortletPreferences portletPreferences, String data) throws PortletDataException
PortletDataHandler
preferences
to be saved in the new portlet.
importData
in interface PortletDataHandler
importData
in class BasePortletDataHandler
portletDataContext
- 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
protected static void exportNode(PortletDataContext portletDataContext, Element nodesElement, long nodeId) throws Exception
Exception
protected static void exportPage(PortletDataContext portletDataContext, Element nodesElement, Element pagesElement, Element dlFileEntryTypesElement, Element dlFoldersElement, Element dlFileEntriesElement, Element dlFileRanksElement, Element dlRepositoriesElement, Element dlRepositoryEntriesElement, WikiPage page, boolean checkDateRange) throws Exception
Exception
protected static String getNodeName(PortletDataContext portletDataContext, WikiNode node, String name, int count) throws Exception
Exception
protected static String getNodePath(PortletDataContext portletDataContext, WikiNode node)
protected static String getPageAttachementBinPath(PortletDataContext portletDataContext, WikiPage page, int count)
protected static String getPageImagePath(PortletDataContext portletDataContext, WikiPage page) throws Exception
Exception
protected static String getPagePath(PortletDataContext portletDataContext, WikiPage page)
protected 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
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |