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:
PluginSettingLocalServiceUtil

Method Summary
 PluginSetting addPluginSetting(PluginSetting pluginSetting)
           
 void checkPermission(long userId, java.lang.String pluginId, java.lang.String pluginType)
           
 void deletePluginSetting(long pluginSettingId)
           
 void deletePluginSetting(PluginSetting pluginSetting)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 PluginSetting getDefaultPluginSetting()
           
 PluginSetting getPluginSetting(long pluginSettingId)
           
 PluginSetting getPluginSetting(long companyId, java.lang.String pluginId, java.lang.String pluginType)
           
 java.util.List<PluginSetting> getPluginSettings(int start, int end)
           
 int getPluginSettingsCount()
           
 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 pluginSetting)
           
 

Method Detail

addPluginSetting

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

deletePluginSetting

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

deletePluginSetting

void deletePluginSetting(PluginSetting pluginSetting)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPluginSetting

PluginSetting getPluginSetting(long pluginSettingId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPluginSettings

java.util.List<PluginSetting> getPluginSettings(int start,
                                                int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPluginSettingsCount

int getPluginSettingsCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePluginSetting

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

checkPermission

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

getDefaultPluginSetting

PluginSetting getDefaultPluginSetting()

getPluginSetting

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

hasPermission

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

updatePluginSetting

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