Jasig/uPortal — pull request #463 by apetro (2014-11-11 19:04:51+00:00)
Title: UP-4291 MarketplacePortletDefinition renderUrl is alternativeMaximizedLink when available.

When launching a portlet from Marketplace, that launch URL should be the alternative maximized URL of the portlet if it has one, so that the user can cut to the chase and launch the best available experience of that portlet.

Implementation:

When the underlying `IPortletDefinition` of a `MarketplacePortletDefinition` has an `alternativeMaximizedLink`, then `MarketplacePortletDefinition` `getRenderUrl()` returns that alternative maximized link instead of a URL that renders the portlet by `fname`. ([UP-4291](https://issues.jasig.org/browse/UP-4291)).

Which entailed adding `getAlternativeMaximizedLink()` syntactic sugar method on `IPortletDefinition` so that computation of whether and what alternative maximized link a portlet definition has can be encapsulated in the portlet definition implementations. ([UP-4290](https://issues.jasig.org/browse/UP-4290)).

I'm not loving the name "alternativeMaximizedLink" rather than "alternativeMaximizedUrl", but the existing portlet definition parameter is named "alternativeMaximizedLink", so this solution retains that.