001
014
015 package com.liferay.portal.service;
016
017
026 public class UserGroupLocalServiceWrapper implements UserGroupLocalService {
027 public UserGroupLocalServiceWrapper(
028 UserGroupLocalService userGroupLocalService) {
029 _userGroupLocalService = userGroupLocalService;
030 }
031
032
039 public com.liferay.portal.model.UserGroup addUserGroup(
040 com.liferay.portal.model.UserGroup userGroup)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _userGroupLocalService.addUserGroup(userGroup);
043 }
044
045
051 public com.liferay.portal.model.UserGroup createUserGroup(long userGroupId) {
052 return _userGroupLocalService.createUserGroup(userGroupId);
053 }
054
055
062 public void deleteUserGroup(long userGroupId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 _userGroupLocalService.deleteUserGroup(userGroupId);
066 }
067
068
074 public void deleteUserGroup(com.liferay.portal.model.UserGroup userGroup)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 _userGroupLocalService.deleteUserGroup(userGroup);
077 }
078
079
086 @SuppressWarnings("rawtypes")
087 public java.util.List dynamicQuery(
088 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _userGroupLocalService.dynamicQuery(dynamicQuery);
091 }
092
093
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
109 int end) throws com.liferay.portal.kernel.exception.SystemException {
110 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end);
111 }
112
113
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end,
134 orderByComparator);
135 }
136
137
144 public long dynamicQueryCount(
145 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _userGroupLocalService.dynamicQueryCount(dynamicQuery);
148 }
149
150
158 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _userGroupLocalService.getUserGroup(userGroupId);
162 }
163
164
176 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
177 int start, int end)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return _userGroupLocalService.getUserGroups(start, end);
180 }
181
182
188 public int getUserGroupsCount()
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return _userGroupLocalService.getUserGroupsCount();
191 }
192
193
200 public com.liferay.portal.model.UserGroup updateUserGroup(
201 com.liferay.portal.model.UserGroup userGroup)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _userGroupLocalService.updateUserGroup(userGroup);
204 }
205
206
214 public com.liferay.portal.model.UserGroup updateUserGroup(
215 com.liferay.portal.model.UserGroup userGroup, boolean merge)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _userGroupLocalService.updateUserGroup(userGroup, merge);
218 }
219
220 public void addGroupUserGroups(long groupId, long[] userGroupIds)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
223 }
224
225 public com.liferay.portal.model.UserGroup addUserGroup(long userId,
226 long companyId, java.lang.String name, java.lang.String description)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return _userGroupLocalService.addUserGroup(userId, companyId, name,
230 description);
231 }
232
233 public void clearUserUserGroups(long userId)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 _userGroupLocalService.clearUserUserGroups(userId);
236 }
237
238 public void copyUserGroupLayouts(long userGroupId, long[] userIds)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException {
241 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
242 }
243
244 public void copyUserGroupLayouts(long[] userGroupIds, long userId)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
248 }
249
250 public void copyUserGroupLayouts(long userGroupId, long userId)
251 throws com.liferay.portal.kernel.exception.PortalException,
252 com.liferay.portal.kernel.exception.SystemException {
253 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
254 }
255
256 public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
257 java.lang.String name)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _userGroupLocalService.getUserGroup(companyId, name);
261 }
262
263 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
264 long companyId)
265 throws com.liferay.portal.kernel.exception.SystemException {
266 return _userGroupLocalService.getUserGroups(companyId);
267 }
268
269 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
270 long[] userGroupIds)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 return _userGroupLocalService.getUserGroups(userGroupIds);
274 }
275
276 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
277 long userId) throws com.liferay.portal.kernel.exception.SystemException {
278 return _userGroupLocalService.getUserUserGroups(userId);
279 }
280
281 public boolean hasGroupUserGroup(long groupId, long userGroupId)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
284 }
285
286 public java.util.List<com.liferay.portal.model.UserGroup> search(
287 long companyId, java.lang.String name, java.lang.String description,
288 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
289 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return _userGroupLocalService.search(companyId, name, description,
292 params, start, end, obc);
293 }
294
295 public int searchCount(long companyId, java.lang.String name,
296 java.lang.String description,
297 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 return _userGroupLocalService.searchCount(companyId, name, description,
300 params);
301 }
302
303 public void setUserUserGroups(long userId, long[] userGroupIds)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
307 }
308
309 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
312 }
313
314 public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
315 long userGroupId, java.lang.String name, java.lang.String description)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
319 name, description);
320 }
321
322 public UserGroupLocalService getWrappedUserGroupLocalService() {
323 return _userGroupLocalService;
324 }
325
326 private UserGroupLocalService _userGroupLocalService;
327 }