Example usage for com.liferay.portal.util LayoutListUtil getLayoutDescriptions

List of usage examples for com.liferay.portal.util LayoutListUtil getLayoutDescriptions

Introduction

In this page you can find the example usage for com.liferay.portal.util LayoutListUtil getLayoutDescriptions.

Prototype

public static List<LayoutDescription> getLayoutDescriptions(long groupId, boolean privateLayout,
            String rootNodeName, Locale locale) 

Source Link

Usage

From source file:com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.java

License:Open Source License

public List<LayoutDescription> getLayoutDescriptions() {
    if (_layoutDescriptions != null) {
        return _layoutDescriptions;
    }/*from ww w . j  av  a  2  s  . c o  m*/

    _layoutDescriptions = LayoutListUtil.getLayoutDescriptions(getGroupId(), isPrivateLayout(),
            getRootNodeName(), _themeDisplay.getLocale());

    return _layoutDescriptions;
}

From source file:com.liferay.site.navigation.site.map.web.internal.display.context.SiteNavigationSiteMapDisplayContext.java

License:Open Source License

public List<LayoutDescription> getLayoutDescriptions() {
    Layout layout = _themeDisplay.getLayout();

    String rootNodeName = StringPool.BLANK;

    return LayoutListUtil.getLayoutDescriptions(layout.getGroupId(), layout.isPrivateLayout(), rootNodeName,
            _themeDisplay.getLocale());/*ww w  .jav  a2  s  .c o m*/
}