com.liferay.portal.plugin
Class PluginUtil

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

public class PluginUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan

Constructor Summary
PluginUtil()
           
 
Method Summary
static
<P extends com.liferay.portal.model.Plugin>
java.util.List<P>
restrictPlugins(java.util.List<P> plugins, long companyId, long userId)
           
static
<P extends com.liferay.portal.model.Plugin>
java.util.List<P>
restrictPlugins(java.util.List<P> 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 <P extends com.liferay.portal.model.Plugin> java.util.List<P> restrictPlugins(java.util.List<P> plugins,
                                                                                            long companyId,
                                                                                            long userId)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

restrictPlugins

public static <P extends com.liferay.portal.model.Plugin> java.util.List<P> restrictPlugins(java.util.List<P> plugins,
                                                                                            com.liferay.portal.model.User user)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException