1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="UserGroupGroupRoleServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link UserGroupGroupRoleService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       UserGroupGroupRoleService
31   * @generated
32   */
33  public class UserGroupGroupRoleServiceWrapper
34      implements UserGroupGroupRoleService {
35      public UserGroupGroupRoleServiceWrapper(
36          UserGroupGroupRoleService userGroupGroupRoleService) {
37          _userGroupGroupRoleService = userGroupGroupRoleService;
38      }
39  
40      public void addUserGroupGroupRoles(long userGroupId, long groupId,
41          long[] roleIds)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupId, groupId,
45              roleIds);
46      }
47  
48      public void addUserGroupGroupRoles(long[] userGroupIds, long groupId,
49          long roleId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupIds,
53              groupId, roleId);
54      }
55  
56      public void deleteUserGroupGroupRoles(long userGroupId, long groupId,
57          long[] roleIds)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
60          _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupId,
61              groupId, roleIds);
62      }
63  
64      public void deleteUserGroupGroupRoles(long[] userGroupIds, long groupId,
65          long roleId)
66          throws com.liferay.portal.PortalException,
67              com.liferay.portal.SystemException {
68          _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupIds,
69              groupId, roleId);
70      }
71  
72      public UserGroupGroupRoleService getWrappedUserGroupGroupRoleService() {
73          return _userGroupGroupRoleService;
74      }
75  
76      private UserGroupGroupRoleService _userGroupGroupRoleService;
77  }