|
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.bookmarks.lar.BookmarksPortletDataHandlerImpl
public class BookmarksPortletDataHandlerImpl
Constructor Summary | |
---|---|
BookmarksPortletDataHandlerImpl()
|
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)
|
protected void |
exportEntry(PortletDataContext portletDataContext,
Element foldersElement,
Element entriesElement,
BookmarksEntry entry)
|
protected void |
exportFolder(PortletDataContext portletDataContext,
Element foldersElement,
Element entriesElement,
BookmarksFolder folder)
|
protected void |
exportParentFolder(PortletDataContext portletDataContext,
Element foldersElement,
long folderId)
|
protected String |
getEntryPath(PortletDataContext portletDataContext,
BookmarksEntry entry)
|
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. |
protected String |
getFolderPath(PortletDataContext portletDataContext,
BookmarksFolder folder)
|
PortletDataHandlerControl[] |
getImportControls()
Returns an array of the controls defined for this data handler. |
protected String |
getImportFolderPath(PortletDataContext portletDataContext,
long folderId)
|
PortletDataHandlerControl[] |
getImportMetadataControls()
Returns an array of the metadata controls defined for this data handler. |
protected void |
importEntry(PortletDataContext portletDataContext,
Element entryElement,
BookmarksEntry entry)
|
protected void |
importFolder(PortletDataContext portletDataContext,
String folderPath,
BookmarksFolder folder)
|
boolean |
isAlwaysExportable()
Returns true to allow the user to export data for this
portlet even though it may not belong to any pages. |
boolean |
isPublishToLiveByDefault()
Returns whether the data exported by this handler should be included by default when publishing to live. |
Methods inherited from class com.liferay.portal.kernel.lar.BasePortletDataHandler |
---|
deleteData, exportData, getDataPortletPreferences, importData, isAlwaysStaged, isDataLocalized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookmarksPortletDataHandlerImpl()
Method Detail |
---|
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 boolean isAlwaysExportable()
PortletDataHandler
true
to allow the user to export data for this
portlet even though it may not belong to any pages. See LPS-1624.
isAlwaysExportable
in interface PortletDataHandler
isAlwaysExportable
in class BasePortletDataHandler
true
to allow the user to export data for this
portlet even though it may not belong to any pagespublic boolean isPublishToLiveByDefault()
PortletDataHandler
true
for data that is meant to be managed in an staging environment such as
CMS content, but not for data meant to be input by users such as wiki
pages or message board posts.
isPublishToLiveByDefault
in interface PortletDataHandler
isPublishToLiveByDefault
in class BasePortletDataHandler
true
to publish to live by defaultprotected 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
protected void exportEntry(PortletDataContext portletDataContext, Element foldersElement, Element entriesElement, BookmarksEntry entry) throws Exception
Exception
protected void exportFolder(PortletDataContext portletDataContext, Element foldersElement, Element entriesElement, BookmarksFolder folder) throws Exception
Exception
protected void exportParentFolder(PortletDataContext portletDataContext, Element foldersElement, long folderId) throws Exception
Exception
protected String getEntryPath(PortletDataContext portletDataContext, BookmarksEntry entry)
protected String getFolderPath(PortletDataContext portletDataContext, BookmarksFolder folder)
protected String getImportFolderPath(PortletDataContext portletDataContext, long folderId)
protected void importEntry(PortletDataContext portletDataContext, Element entryElement, BookmarksEntry entry) throws Exception
Exception
protected void importFolder(PortletDataContext portletDataContext, String folderPath, BookmarksFolder folder) throws Exception
Exception
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |