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:
PluginSettingLocalServiceFactory, 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<PluginSetting> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<PluginSetting> 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 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,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

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

dynamicQuery

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

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,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException