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 java.util.List<Object> dynamicQuery(
74          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75          int end,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.SystemException {
78          return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end,
79              orderByComparator);
80      }
81  
82      public int dynamicQueryCount(
83          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84          throws com.liferay.portal.SystemException {
85          return _userGroupLocalService.dynamicQueryCount(dynamicQuery);
86      }
87  
88      public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _userGroupLocalService.getUserGroup(userGroupId);
92      }
93  
94      public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
95          int start, int end) throws com.liferay.portal.SystemException {
96          return _userGroupLocalService.getUserGroups(start, end);
97      }
98  
99      public int getUserGroupsCount() throws com.liferay.portal.SystemException {
100         return _userGroupLocalService.getUserGroupsCount();
101     }
102 
103     public com.liferay.portal.model.UserGroup updateUserGroup(
104         com.liferay.portal.model.UserGroup userGroup)
105         throws com.liferay.portal.SystemException {
106         return _userGroupLocalService.updateUserGroup(userGroup);
107     }
108 
109     public com.liferay.portal.model.UserGroup updateUserGroup(
110         com.liferay.portal.model.UserGroup userGroup, boolean merge)
111         throws com.liferay.portal.SystemException {
112         return _userGroupLocalService.updateUserGroup(userGroup, merge);
113     }
114 
115     public void addGroupUserGroups(long groupId, long[] userGroupIds)
116         throws com.liferay.portal.SystemException {
117         _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
118     }
119 
120     public com.liferay.portal.model.UserGroup addUserGroup(long userId,
121         long companyId, java.lang.String name, java.lang.String description)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _userGroupLocalService.addUserGroup(userId, companyId, name,
125             description);
126     }
127 
128     public void clearUserUserGroups(long userId)
129         throws com.liferay.portal.SystemException {
130         _userGroupLocalService.clearUserUserGroups(userId);
131     }
132 
133     public void copyUserGroupLayouts(long userGroupId, long[] userIds)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
137     }
138 
139     public void copyUserGroupLayouts(long[] userGroupIds, long userId)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
143     }
144 
145     public void copyUserGroupLayouts(long userGroupId, long userId)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
149     }
150 
151     public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
152         java.lang.String name)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         return _userGroupLocalService.getUserGroup(companyId, name);
156     }
157 
158     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
159         long companyId) throws com.liferay.portal.SystemException {
160         return _userGroupLocalService.getUserGroups(companyId);
161     }
162 
163     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
164         long[] userGroupIds)
165         throws com.liferay.portal.PortalException,
166             com.liferay.portal.SystemException {
167         return _userGroupLocalService.getUserGroups(userGroupIds);
168     }
169 
170     public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
171         long userId) throws com.liferay.portal.SystemException {
172         return _userGroupLocalService.getUserUserGroups(userId);
173     }
174 
175     public boolean hasGroupUserGroup(long groupId, long userGroupId)
176         throws com.liferay.portal.SystemException {
177         return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
178     }
179 
180     public java.util.List<com.liferay.portal.model.UserGroup> search(
181         long companyId, java.lang.String name, java.lang.String description,
182         java.util.LinkedHashMap<String, Object> params, int start, int end,
183         com.liferay.portal.kernel.util.OrderByComparator obc)
184         throws com.liferay.portal.SystemException {
185         return _userGroupLocalService.search(companyId, name, description,
186             params, start, end, obc);
187     }
188 
189     public int searchCount(long companyId, java.lang.String name,
190         java.lang.String description,
191         java.util.LinkedHashMap<String, Object> params)
192         throws com.liferay.portal.SystemException {
193         return _userGroupLocalService.searchCount(companyId, name, description,
194             params);
195     }
196 
197     public void setUserUserGroups(long userId, long[] userGroupIds)
198         throws com.liferay.portal.PortalException,
199             com.liferay.portal.SystemException {
200         _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
201     }
202 
203     public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
204         throws com.liferay.portal.SystemException {
205         _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
206     }
207 
208     public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
209         long userGroupId, java.lang.String name, java.lang.String description)
210         throws com.liferay.portal.PortalException,
211             com.liferay.portal.SystemException {
212         return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
213             name, description);
214     }
215 
216     public UserGroupLocalService getWrappedUserGroupLocalService() {
217         return _userGroupLocalService;
218     }
219 
220     private UserGroupLocalService _userGroupLocalService;
221 }