001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class UserGroupGroupRoleServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static void addUserGroupGroupRoles(long userGroupId, long groupId,
059 long[] roleIds)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 getService().addUserGroupGroupRoles(userGroupId, groupId, roleIds);
063 }
064
065 public static void addUserGroupGroupRoles(long[] userGroupIds,
066 long groupId, long roleId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 getService().addUserGroupGroupRoles(userGroupIds, groupId, roleId);
070 }
071
072 public static void deleteUserGroupGroupRoles(long userGroupId,
073 long groupId, long[] roleIds)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 getService().deleteUserGroupGroupRoles(userGroupId, groupId, roleIds);
077 }
078
079 public static void deleteUserGroupGroupRoles(long[] userGroupIds,
080 long groupId, long roleId)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 getService().deleteUserGroupGroupRoles(userGroupIds, groupId, roleId);
084 }
085
086 public static UserGroupGroupRoleService getService() {
087 if (_service == null) {
088 _service = (UserGroupGroupRoleService)PortalBeanLocatorUtil.locate(UserGroupGroupRoleService.class.getName());
089
090 ReferenceRegistry.registerReference(UserGroupGroupRoleServiceUtil.class,
091 "_service");
092 }
093
094 return _service;
095 }
096
097
100 public void setService(UserGroupGroupRoleService service) {
101 }
102
103 private static UserGroupGroupRoleService _service;
104 }