Class LayoutServiceContextHelperUtil

java.lang.Object
com.liferay.layout.util.LayoutServiceContextHelperUtil

public class LayoutServiceContextHelperUtil extends Object
  • Constructor Details

    • LayoutServiceContextHelperUtil

      public LayoutServiceContextHelperUtil()
  • Method Details

    • getServiceContextAutoCloseable

      public static AutoCloseable getServiceContextAutoCloseable(com.liferay.portal.kernel.model.Company company) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getServiceContextAutoCloseable

      public static AutoCloseable getServiceContextAutoCloseable(com.liferay.portal.kernel.model.Company company, com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getServiceContextAutoCloseable

      public static AutoCloseable getServiceContextAutoCloseable(com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getServiceContextAutoCloseable

      public static AutoCloseable getServiceContextAutoCloseable(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException