LPS-40570 Change checkDefaultLayoutSetBranches() to public
LPS-40570 Create layout revision after we copied the layouts back to the staging group. We need to delete the layout set branch because we had to add an empty one in the calling process so when the request returns we can properly render the UI.
LPS-40570 Moving new code to method - no logic changes
LPS-40570 sourceGroupId is used before privateLayout in LayoutLocalServiceUtil.exportLayoutsAsFile(
LPS-40570 SF
LPS-37298 Make the method hasPortletId(String, boolean) public
LPS-37298 Move method to the proper location, no logic changes.
LPS-37298 When looking for the page where a portlet has been placed, the embedded portlets should be ignored.
LPS-37298 Add noSuchEntryRedirect to ActivityIntereter URLs (1/2): Add method to base that gets the right URL from the renderers
LPS-37298 Minor SF
LPS-37298 Add noSuchEntryRedirect to ActivityIntereter URLs (2/2): Invoke the addNoSuchEntryRedirect from each interpreter
Revert "LPS-37298 Add noSuchEntryRedirect to ActivityIntereter URLs (2/2): Invoke the addNoSuchEntryRedirect from each interpreter". Please readd because the duplicated code for wrapping getPath can be moved to the base, or abstracted somewhere. Note we have to apply the same logic to plugins as well if we don't centralize this.

This reverts commit 13f036cf85404fbc154f2685498fb0175ea650f4.
LPS-37298 Add default resource to DOCUMENT_LIBRARY_DISPLAY so that it can be invoked from the interpreter
LPS-37298 Implement DLFileEntryAssetRenderer.getURLView() which was not needed before but is now used by the interpreter
LPS-37298 Minor SF, match bookmarks and others
LPS-37298 Implement BookmarkEntryAssetRenderer.getURLView() which was not needed before but is now used by the interpreter
LPS-37298 Add method getURLView in AssetRendererFactory to generate the URL of the associated display portlet

This method complements the one of the same name in AssetRenderer that displays one specific renderer (as opposed as the initial view of the display portlet like the new one does)
LPS-37298 Remove exceptions that are never thrown, add @Override, make Eclipse happy.
LPS-37298 Invoke the Factory getURLView from the Renderer getURLView to avoid duplication
LPS-37298 Avoid chaining, and make it easier to apply