com.liferay.portal.plugin
Class PluginUtil

java.lang.Object
  extended by com.liferay.portal.plugin.PluginUtil

public class PluginUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PluginUtil()
           
 
Method Summary
static java.util.List restrictPlugins(java.util.List plugins, long companyId, long userId)
           
static java.util.List restrictPlugins(java.util.List plugins, com.liferay.portal.model.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginUtil

public PluginUtil()
Method Detail

restrictPlugins

public static java.util.List restrictPlugins(java.util.List plugins,
                                             com.liferay.portal.model.User user)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

restrictPlugins

public static java.util.List restrictPlugins(java.util.List plugins,
                                             long companyId,
                                             long userId)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException