1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="UserGroupLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link UserGroupLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       UserGroupLocalService
32   * @generated
33   */
34  public class UserGroupLocalServiceWrapper implements UserGroupLocalService {
35      public UserGroupLocalServiceWrapper(
36          UserGroupLocalService userGroupLocalService) {
37          _userGroupLocalService = userGroupLocalService;
38      }
39  
40      public com.liferay.portal.model.UserGroup addUserGroup(
41          com.liferay.portal.model.UserGroup userGroup)
42          throws com.liferay.portal.SystemException {
43          return _userGroupLocalService.addUserGroup(userGroup);
44      }
45  
46      public com.liferay.portal.model.UserGroup createUserGroup(long userGroupId) {
47          return _userGroupLocalService.createUserGroup(userGroupId);
48      }
49  
50      public void deleteUserGroup(long userGroupId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _userGroupLocalService.deleteUserGroup(userGroupId);
54      }
55  
56      public void deleteUserGroup(com.liferay.portal.model.UserGroup userGroup)
57          throws com.liferay.portal.SystemException {
58          _userGroupLocalService.deleteUserGroup(userGroup);
59      }
60  
61      public java.util.List<Object> dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.SystemException {
64          return _userGroupLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      public java.util.List<Object> dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException {
70          return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException {
76          return _userGroupLocalService.getUserGroup(userGroupId);
77      }
78  
79      public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
80          int start, int end) throws com.liferay.portal.SystemException {
81          return _userGroupLocalService.getUserGroups(start, end);
82      }
83  
84      public int getUserGroupsCount() throws com.liferay.portal.SystemException {
85          return _userGroupLocalService.getUserGroupsCount();
86      }
87  
88      public com.liferay.portal.model.UserGroup updateUserGroup(
89          com.liferay.portal.model.UserGroup userGroup)
90          throws com.liferay.portal.SystemException {
91          return _userGroupLocalService.updateUserGroup(userGroup);
92      }
93  
94      public com.liferay.portal.model.UserGroup updateUserGroup(
95          com.liferay.portal.model.UserGroup userGroup, boolean merge)
96          throws com.liferay.portal.SystemException {
97          return _userGroupLocalService.updateUserGroup(userGroup, merge);
98      }
99  
100     public void addGroupUserGroups(long groupId, long[] userGroupIds)
101         throws com.liferay.portal.SystemException {
102         _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
103     }
104 
105     public com.liferay.portal.model.UserGroup addUserGroup(long userId,
106         long companyId, java.lang.String name, java.lang.String description)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException {
109         return _userGroupLocalService.addUserGroup(userId, companyId, name,
110             description);
111     }
112 
113     public void clearUserUserGroups(long userId)
114         throws com.liferay.portal.SystemException {
115         _userGroupLocalService.clearUserUserGroups(userId);
116     }
117 
118     public void copyUserGroupLayouts(long userGroupId, long[] userIds)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
122     }
123 
124     public void copyUserGroupLayouts(long[] userGroupIds, long userId)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException {
127         _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
128     }
129 
130     public void copyUserGroupLayouts(long userGroupId, long userId)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
134     }
135 
136     public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
137         java.lang.String name)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         return _userGroupLocalService.getUserGroup(companyId, name);
141     }
142 
143     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
144         long companyId) throws com.liferay.portal.SystemException {
145         return _userGroupLocalService.getUserGroups(companyId);
146     }
147 
148     public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
149         long userId) throws com.liferay.portal.SystemException {
150         return _userGroupLocalService.getUserUserGroups(userId);
151     }
152 
153     public boolean hasGroupUserGroup(long groupId, long userGroupId)
154         throws com.liferay.portal.SystemException {
155         return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
156     }
157 
158     public java.util.List<com.liferay.portal.model.UserGroup> search(
159         long companyId, java.lang.String name, java.lang.String description,
160         java.util.LinkedHashMap<String, Object> params, int start, int end,
161         com.liferay.portal.kernel.util.OrderByComparator obc)
162         throws com.liferay.portal.SystemException {
163         return _userGroupLocalService.search(companyId, name, description,
164             params, start, end, obc);
165     }
166 
167     public int searchCount(long companyId, java.lang.String name,
168         java.lang.String description,
169         java.util.LinkedHashMap<String, Object> params)
170         throws com.liferay.portal.SystemException {
171         return _userGroupLocalService.searchCount(companyId, name, description,
172             params);
173     }
174 
175     public void setUserUserGroups(long userId, long[] userGroupIds)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
179     }
180 
181     public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
182         throws com.liferay.portal.SystemException {
183         _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
184     }
185 
186     public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
187         long userGroupId, java.lang.String name, java.lang.String description)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
191             name, description);
192     }
193 
194     public UserGroupLocalService getWrappedUserGroupLocalService() {
195         return _userGroupLocalService;
196     }
197 
198     private UserGroupLocalService _userGroupLocalService;
199 }