Example usage for com.liferay.portal.kernel.service LayoutLocalServiceUtil updatePriorities

List of usage examples for com.liferay.portal.kernel.service LayoutLocalServiceUtil updatePriorities

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service LayoutLocalServiceUtil updatePriorities.

Prototype

public static void updatePriorities(long groupId, boolean privateLayout)
        throws com.liferay.portal.kernel.exception.PortalException 

Source Link

Document

Updates the priorities of the layouts.

Usage

From source file:eu.gerhards.liferay.services.angular.service.impl.AngularLayoutServiceImpl.java

License:Open Source License

@Override
public void updatePriorities(long groupId, boolean privateLayout) throws PortalException {

    _log.info("Updating group priorities of group with id " + groupId);

    PortalPermissionUtil.check(getPermissionChecker(), AngularActionKeys.UPDATE_COMMUNITY);

    _log.debug("    ... updating ...");

    LayoutLocalServiceUtil.updatePriorities(groupId, privateLayout);
}