List of usage examples for com.liferay.portal.util PropsValues MY_SITES_MAX_ELEMENTS
int MY_SITES_MAX_ELEMENTS
To view the source code for com.liferay.portal.util PropsValues MY_SITES_MAX_ELEMENTS.
Click Source Link
From source file:com.liferay.product.navigation.site.administration.internal.display.context.SiteAdministrationPanelCategoryDisplayContext.java
License:Open Source License
public List<Group> getMySites() throws PortalException { if (_mySites != null) { return _mySites; }/*from ww w .j av a2 s .c o m*/ User user = _themeDisplay.getUser(); _mySites = user.getMySiteGroups( new String[] { Company.class.getName(), Group.class.getName(), Organization.class.getName() }, PropsValues.MY_SITES_MAX_ELEMENTS); return _mySites; }