com.liferay.portlet.wiki.lar
Class WikiPortletDataHandlerImpl
java.lang.Object
com.liferay.portlet.wiki.lar.WikiPortletDataHandlerImpl
- All Implemented Interfaces:
- com.liferay.portal.lar.PortletDataHandler
public class WikiPortletDataHandlerImpl
- extends java.lang.Object
- implements com.liferay.portal.lar.PortletDataHandler
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 prefs)
|
java.lang.String |
exportData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences prefs)
|
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 prefs,
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)
|
boolean |
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 prefs)
throws com.liferay.portal.lar.PortletDataException
- Specified by:
deleteData
in interface com.liferay.portal.lar.PortletDataHandler
- 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 prefs)
throws com.liferay.portal.lar.PortletDataException
- Specified by:
exportData
in interface com.liferay.portal.lar.PortletDataHandler
- Throws:
com.liferay.portal.lar.PortletDataException
getExportControls
public com.liferay.portal.lar.PortletDataHandlerControl[] getExportControls()
- Specified by:
getExportControls
in interface com.liferay.portal.lar.PortletDataHandler
getImportControls
public com.liferay.portal.lar.PortletDataHandlerControl[] getImportControls()
- Specified by:
getImportControls
in interface com.liferay.portal.lar.PortletDataHandler
importData
public javax.portlet.PortletPreferences importData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences prefs,
java.lang.String data)
throws com.liferay.portal.lar.PortletDataException
- Specified by:
importData
in interface com.liferay.portal.lar.PortletDataHandler
- Throws:
com.liferay.portal.lar.PortletDataException
isPublishToLiveByDefault
public boolean isPublishToLiveByDefault()
- Specified by:
isPublishToLiveByDefault
in interface com.liferay.portal.lar.PortletDataHandler
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)