List of usage examples for com.liferay.portal.kernel.model Group getLogoURL
public String getLogoURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean useDefault);
From source file:com.liferay.product.navigation.site.administration.internal.display.context.SiteAdministrationPanelCategoryDisplayContext.java
License:Open Source License
public String getLogoURL() { if (Validator.isNotNull(_logoURL)) { return _logoURL; }//from www . j av a 2 s . c o m _logoURL = StringPool.BLANK; Company company = _themeDisplay.getCompany(); if (company.isSiteLogo()) { Group group = getGroup(); if (group == null) { return _logoURL; } _logoURL = group.getLogoURL(_themeDisplay, false); } else { _logoURL = _themeDisplay.getCompanyLogo(); } return _logoURL; }