@ Value ( "${org.apereo.portal.portlets.favorites.MarketplaceFunctionalName:null}" ) public void setMarketplaceFName ( String marketplaceFunctionalName ) { // interpret null, non-text-having, or literal "null" as // signaling lack of Marketplace functional name. if ( ! StringUtils . hasText ( marketplaceFunctionalName ) || "null" . equalsIgnoreCase ( marketplaceFunctionalName ) ) { marketplaceFunctionalName = null ; } this . marketplaceFName = marketplaceFunctionalName ; }
Configures FavoritesController to include a Marketplace portlet functional name in the Model which ultimately signals and enables the View to include convenient link to Marketplace for user to add new favorites .