juliocamarero/liferay-portal — pull request #896 by matethurzo (2012-12-07 01:45:47+00:00)
Title: LPS-27530 Staging infrastructure changes and applying it to Bookmarks

Hey Julio,

This is the third PR regarding the staging infrastructure itself, and also it contains the implementation for Bookmarks portlet.

The ImportExportPathUtil is not really complex - this will contain more path related methods as we make progress, since we will refactoring all of them to here. The name is matching with the ImportExportThreadLocal's.

I've slightly changed the BaseStagedModelDatahandler, nothing big deal, this fits more to the BasePortletDataHandler, and we could use the export and importData method to code the generic parts of the staged model data handlers, then the doExport and doImportData will contain the specific parts.

The new classes are quite straightforward, and the BookmarksPortletDataHandler changes as well.

Thanks,

Máté