com.liferay.portal.service
Interface PluginSettingLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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)
|
PluginSetting |
createPluginSetting(long pluginSettingId)
|
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)
|
addPluginSetting
PluginSetting addPluginSetting(PluginSetting pluginSetting)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createPluginSetting
PluginSetting createPluginSetting(long pluginSettingId)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
PluginSetting getPluginSetting(long pluginSettingId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPluginSettings
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PluginSetting> getPluginSettings(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPluginSettingsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
PluginSetting getDefaultPluginSetting()
getPluginSetting
@Transactional(propagation=SUPPORTS,
readOnly=true)
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