com.liferay.portlet.bookmarks.lar
Class BookmarksPortletDataHandlerImpl
java.lang.Object
com.liferay.portal.lar.BasePortletDataHandler
com.liferay.portlet.bookmarks.lar.BookmarksPortletDataHandlerImpl
- All Implemented Interfaces:
- com.liferay.portal.lar.PortletDataHandler
public class BookmarksPortletDataHandlerImpl
- extends com.liferay.portal.lar.BasePortletDataHandler
View Source
- Author:
- Jorge Ferrer, Bruno Farache, Raymond Augé
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 |
exportEntry(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
com.liferay.portal.kernel.xml.Element entriesEl,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
|
protected void |
exportFolder(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
com.liferay.portal.kernel.xml.Element entriesEl,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
|
protected void |
exportParentFolder(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
long folderId)
|
protected java.lang.String |
getEntryPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
|
com.liferay.portal.lar.PortletDataHandlerControl[] |
getExportControls()
|
protected java.lang.String |
getFolderPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
|
com.liferay.portal.lar.PortletDataHandlerControl[] |
getImportControls()
|
protected java.lang.String |
getImportFolderPath(com.liferay.portal.lar.PortletDataContext context,
long folderId)
|
javax.portlet.PortletPreferences |
importData(com.liferay.portal.lar.PortletDataContext context,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences,
java.lang.String data)
|
protected void |
importEntry(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> folderPKs,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
|
protected void |
importFolder(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> folderPKs,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
|
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 |
BookmarksPortletDataHandlerImpl
public BookmarksPortletDataHandlerImpl()
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
exportFolder
protected void exportFolder(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
com.liferay.portal.kernel.xml.Element entriesEl,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportEntry
protected void exportEntry(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
com.liferay.portal.kernel.xml.Element entriesEl,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportParentFolder
protected void exportParentFolder(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portal.kernel.xml.Element foldersEl,
long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryPath
protected java.lang.String getEntryPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
getFolderPath
protected java.lang.String getFolderPath(com.liferay.portal.lar.PortletDataContext context,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
getImportFolderPath
protected java.lang.String getImportFolderPath(com.liferay.portal.lar.PortletDataContext context,
long folderId)
importEntry
protected void importEntry(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> folderPKs,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
throws java.lang.Exception
- Throws:
java.lang.Exception
importFolder
protected void importFolder(com.liferay.portal.lar.PortletDataContext context,
java.util.Map<java.lang.Long,java.lang.Long> folderPKs,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
throws java.lang.Exception
- Throws:
java.lang.Exception