com.liferay.portal.service
Class PluginSettingLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.PluginSettingLocalServiceUtil

public class PluginSettingLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.PluginSettingLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portal.service.PluginSettingLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
PluginSettingLocalService, PluginSettingLocalServiceFactory

Constructor Summary
PluginSettingLocalServiceUtil()
           
 
Method Summary
static PluginSetting addPluginSetting(PluginSetting pluginSetting)
           
static void checkPermission(long userId, java.lang.String pluginId, java.lang.String pluginType)
           
static void deletePluginSetting(long pluginSettingId)
           
static void deletePluginSetting(PluginSetting pluginSetting)
           
static java.util.List<PluginSetting> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<PluginSetting> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static PluginSetting getDefaultPluginSetting()
           
static PluginSetting getPluginSetting(long companyId, java.lang.String pluginId, java.lang.String pluginType)
           
static boolean hasPermission(long userId, java.lang.String pluginId, java.lang.String pluginType)
           
static PluginSetting updatePluginSetting(long companyId, java.lang.String pluginId, java.lang.String pluginType, java.lang.String roles, boolean active)
           
static PluginSetting updatePluginSetting(PluginSetting pluginSetting)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginSettingLocalServiceUtil

public PluginSettingLocalServiceUtil()
Method Detail

addPluginSetting

public static PluginSetting addPluginSetting(PluginSetting pluginSetting)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePluginSetting

public static void deletePluginSetting(long pluginSettingId)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePluginSetting

public static void deletePluginSetting(PluginSetting pluginSetting)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<PluginSetting> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<PluginSetting> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                         int begin,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePluginSetting

public static PluginSetting updatePluginSetting(PluginSetting pluginSetting)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

checkPermission

public static void checkPermission(long userId,
                                   java.lang.String pluginId,
                                   java.lang.String pluginType)
                            throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

getDefaultPluginSetting

public static PluginSetting getDefaultPluginSetting()

getPluginSetting

public static PluginSetting getPluginSetting(long companyId,
                                             java.lang.String pluginId,
                                             java.lang.String pluginType)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

hasPermission

public static boolean hasPermission(long userId,
                                    java.lang.String pluginId,
                                    java.lang.String pluginType)

updatePluginSetting

public static PluginSetting updatePluginSetting(long companyId,
                                                java.lang.String pluginId,
                                                java.lang.String pluginType,
                                                java.lang.String roles,
                                                boolean active)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException