com.liferay.portlet.wiki.lar
Class WikiPortletDataHandlerImpl
java.lang.Object
com.liferay.portal.lar.BasePortletDataHandler
com.liferay.portlet.wiki.lar.WikiPortletDataHandlerImpl
- All Implemented Interfaces:
- com.liferay.portal.lar.PortletDataHandler
public class WikiPortletDataHandlerImpl
- extends com.liferay.portal.lar.BasePortletDataHandler
View Source
- Author:
- Bruno Farache, Jorge Ferrer
Method Summary |
javax.portlet.PortletPreferences |
deleteData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
|
java.lang.String |
exportData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
|
protected void |
exportNode(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
com.liferay.portal.kernel.xml.Element pagesEl,
com.liferay.portlet.wiki.model.WikiNode node)
|
protected void |
exportNode(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
long nodeId)
|
protected void |
exportPage(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
com.liferay.portal.kernel.xml.Element pagesEl,
com.liferay.portlet.wiki.model.WikiPage page)
|
com.liferay.portal.lar.PortletDataHandlerControl[] |
getExportControls()
|
com.liferay.portal.lar.PortletDataHandlerControl[] |
getImportControls()
|
protected java.lang.String |
getNodePath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiNode node)
|
protected java.lang.String |
getPageAttachementBinPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiPage page,
java.lang.String attachment)
|
protected java.lang.String |
getPagePath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiPage page)
|
javax.portlet.PortletPreferences |
importData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences,
java.lang.String data)
|
protected void |
importNode(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> nodePKs,
com.liferay.portlet.wiki.model.WikiNode node)
|
protected void |
importPage(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> nodePKs,
com.liferay.portal.kernel.xml.Element pageEl,
com.liferay.portlet.wiki.model.WikiPage page)
|
Methods inherited from class com.liferay.portal.lar.BasePortletDataHandler |
isAlwaysExportable, isPublishToLiveByDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPortletDataHandlerImpl
public WikiPortletDataHandlerImpl()
deleteData
public javax.portlet.PortletPreferences deleteData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
throws com.liferay.portal.lar.PortletDataException
- Throws:
com.liferay.portal.lar.PortletDataException
exportData
public java.lang.String exportData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
throws com.liferay.portal.lar.PortletDataException
- Throws:
com.liferay.portal.lar.PortletDataException
getExportControls
public com.liferay.portal.lar.PortletDataHandlerControl[] getExportControls()
getImportControls
public com.liferay.portal.lar.PortletDataHandlerControl[] getImportControls()
importData
public javax.portlet.PortletPreferences importData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences,
java.lang.String data)
throws com.liferay.portal.lar.PortletDataException
- Throws:
com.liferay.portal.lar.PortletDataException
exportNode
protected void exportNode(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
com.liferay.portal.kernel.xml.Element pagesEl,
com.liferay.portlet.wiki.model.WikiNode node)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportNode
protected void exportNode(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportPage
protected void exportPage(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element nodesEl,
com.liferay.portal.kernel.xml.Element pagesEl,
com.liferay.portlet.wiki.model.WikiPage page)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importNode
protected void importNode(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> nodePKs,
com.liferay.portlet.wiki.model.WikiNode node)
throws java.lang.Exception
- Throws:
java.lang.Exception
importPage
protected void importPage(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> nodePKs,
com.liferay.portal.kernel.xml.Element pageEl,
com.liferay.portlet.wiki.model.WikiPage page)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNodePath
protected java.lang.String getNodePath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiNode node)
getPageAttachementBinPath
protected java.lang.String getPageAttachementBinPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiPage page,
java.lang.String attachment)
getPagePath
protected java.lang.String getPagePath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.wiki.model.WikiPage page)