com.liferay.portal.service
Class PluginSettingLocalServiceUtil
java.lang.Object
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.
- Author:
- Brian Wing Shun Chan
- See Also:
PluginSettingLocalService
Method Summary |
static PluginSetting |
addPluginSetting(PluginSetting pluginSetting)
|
static void |
checkPermission(long userId,
java.lang.String pluginId,
java.lang.String pluginType)
|
static PluginSetting |
createPluginSetting(long pluginSettingId)
|
static void |
deletePluginSetting(long pluginSettingId)
|
static void |
deletePluginSetting(PluginSetting pluginSetting)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static PluginSetting |
getDefaultPluginSetting()
|
static PluginSetting |
getPluginSetting(long pluginSettingId)
|
static PluginSetting |
getPluginSetting(long companyId,
java.lang.String pluginId,
java.lang.String pluginType)
|
static java.util.List<PluginSetting> |
getPluginSettings(int start,
int end)
|
static int |
getPluginSettingsCount()
|
static PluginSettingLocalService |
getService()
|
static boolean |
hasPermission(long userId,
java.lang.String pluginId,
java.lang.String pluginType)
|
void |
setService(PluginSettingLocalService service)
|
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 |
PluginSettingLocalServiceUtil
public PluginSettingLocalServiceUtil()
addPluginSetting
public static PluginSetting addPluginSetting(PluginSetting pluginSetting)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createPluginSetting
public static PluginSetting createPluginSetting(long pluginSettingId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static 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
public static PluginSetting getPluginSetting(long pluginSettingId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPluginSettings
public static java.util.List<PluginSetting> getPluginSettings(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPluginSettingsCount
public static int getPluginSettingsCount()
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.SystemException
- Throws:
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.SystemException
- Throws:
com.liferay.portal.SystemException
getService
public static PluginSettingLocalService getService()
setService
public void setService(PluginSettingLocalService service)