GTNWSRP-350: prefer export by value and only use export by reference when we have set an ExportPersistenceManager and don't prefer export by value.
Renamed getPortletMap to getPOPPortletMap for better accuracy.
Fixed typo.
Added getAllPortletsMap and getNumberOfPortlets methods and now return all known portlets in ConsumerBean.getPortlets.
GTNWSRP-348 Properly show cloned portlets and make them available for export.
Renamed getPOPPortletMap to getProducerOfferedPortletMap for better clarity.
Removed useless exception.
Extracted getStateOrNullFor method to retrieve the (potentially null) state associated to a PortletContext.
Use local variable.
GTNWSRP-349 Return the same portletHandle as the one that was used to trigger the export instead of potentially changing it to return the "original" portlet handle when exporting clones.
Adapted RegistrationCheckingPortletInvoker since it now needs to potentially deal with handles of cloned portlets.
Note that this change requires also a PC version that includes a fix for GTNPC-101 to work properly.
Make it possible to attach a debugger to tests by default.
Added (commented-out) example of how to only activate one test (excludes would also work).
Minor improvements.
Initial import / export refactoring and cleaning-up.
Re-worked ExportData and subclasses to make them handle persistence directly, removed PersistedExportData.
Started simplifying ExportPersistenceManager, might need some more cleaning up to better handle persistence use cases.
Removed unneeded import.
We don't need to store the export context id in the serialized state as it's only needed in the export by reference scenario and therefore there should be an export context to begin with.
Upgrade to PC 2.4.1.CR02.