001
014
015 package com.liferay.portal.util;
016
017 import com.liferay.portal.kernel.security.pacl.permission.PortalRuntimePermission;
018
019
024 public class PortletListerFactoryUtil {
025
026 public static PortletLister getPortletLister() {
027 return getPortletListerFactory().getPortletLister();
028 }
029
030 public static PortletListerFactory getPortletListerFactory() {
031 PortalRuntimePermission.checkGetBeanProperty(
032 PortletListerFactoryUtil.class);
033
034 return _portletListerFactory;
035 }
036
037 public void setPortletListerFactory(
038 PortletListerFactory portletListerFactory) {
039
040 PortalRuntimePermission.checkSetBeanProperty(getClass());
041
042 _portletListerFactory = portletListerFactory;
043 }
044
045 private static PortletListerFactory _portletListerFactory;
046
047 }