com.liferay.portal.service
Interface PluginSettingLocalService


public interface PluginSettingLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portal.service.impl.PluginSettingLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
PluginSettingServiceFactory, PluginSettingServiceUtil

Method Summary
 PluginSetting addPluginSetting(PluginSetting model)
           
 void checkPermission(long userId, java.lang.String pluginId, java.lang.String pluginType)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 PluginSetting getDefaultPluginSetting()
           
 PluginSetting getPluginSetting(long companyId, java.lang.String pluginId, java.lang.String pluginType)
           
 boolean hasPermission(long userId, java.lang.String pluginId, java.lang.String pluginType)
           
 PluginSetting updatePluginSetting(long companyId, java.lang.String pluginId, java.lang.String pluginType, java.lang.String roles, boolean active)
           
 PluginSetting updatePluginSetting(PluginSetting model)
           
 

Method Detail

addPluginSetting

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

dynamicQuery

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

dynamicQuery

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

updatePluginSetting

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

checkPermission

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

getDefaultPluginSetting

public PluginSetting getDefaultPluginSetting()

getPluginSetting

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

hasPermission

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

updatePluginSetting

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