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
075 public void deleteUserGroup(com.liferay.portal.model.UserGroup userGroup)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 _userGroupLocalService.deleteUserGroup(userGroup);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _userGroupLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _userGroupLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _userGroupLocalService.getUserGroup(userGroupId);
164 }
165
166 public com.liferay.portal.model.PersistedModel getPersistedModel(
167 java.io.Serializable primaryKeyObj)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 return _userGroupLocalService.getPersistedModel(primaryKeyObj);
171 }
172
173
185 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
186 int start, int end)
187 throws com.liferay.portal.kernel.exception.SystemException {
188 return _userGroupLocalService.getUserGroups(start, end);
189 }
190
191
197 public int getUserGroupsCount()
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _userGroupLocalService.getUserGroupsCount();
200 }
201
202
209 public com.liferay.portal.model.UserGroup updateUserGroup(
210 com.liferay.portal.model.UserGroup userGroup)
211 throws com.liferay.portal.kernel.exception.SystemException {
212 return _userGroupLocalService.updateUserGroup(userGroup);
213 }
214
215
223 public com.liferay.portal.model.UserGroup updateUserGroup(
224 com.liferay.portal.model.UserGroup userGroup, boolean merge)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _userGroupLocalService.updateUserGroup(userGroup, merge);
227 }
228
229
234 public java.lang.String getBeanIdentifier() {
235 return _userGroupLocalService.getBeanIdentifier();
236 }
237
238
243 public void setBeanIdentifier(java.lang.String beanIdentifier) {
244 _userGroupLocalService.setBeanIdentifier(beanIdentifier);
245 }
246
247 public void addGroupUserGroups(long groupId, long[] userGroupIds)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
250 }
251
252 public void addTeamUserGroups(long teamId, long[] userGroupIds)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 _userGroupLocalService.addTeamUserGroups(teamId, userGroupIds);
255 }
256
257 public com.liferay.portal.model.UserGroup addUserGroup(long userId,
258 long companyId, java.lang.String name, java.lang.String description)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _userGroupLocalService.addUserGroup(userId, companyId, name,
262 description);
263 }
264
265 public void clearUserUserGroups(long userId)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 _userGroupLocalService.clearUserUserGroups(userId);
268 }
269
270 public void copyUserGroupLayouts(long userGroupId, long[] userIds)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
274 }
275
276 public void copyUserGroupLayouts(long[] userGroupIds, long userId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
280 }
281
282 public void copyUserGroupLayouts(long userGroupId, long userId)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
286 }
287
288 public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
289 java.lang.String name)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _userGroupLocalService.getUserGroup(companyId, name);
293 }
294
295 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
296 long companyId)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 return _userGroupLocalService.getUserGroups(companyId);
299 }
300
301 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
302 long[] userGroupIds)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 return _userGroupLocalService.getUserGroups(userGroupIds);
306 }
307
308 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
309 long userId) throws com.liferay.portal.kernel.exception.SystemException {
310 return _userGroupLocalService.getUserUserGroups(userId);
311 }
312
313 public boolean hasGroupUserGroup(long groupId, long userGroupId)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
316 }
317
318 public boolean hasTeamUserGroup(long teamId, long userGroupId)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _userGroupLocalService.hasTeamUserGroup(teamId, userGroupId);
321 }
322
323 public java.util.List<com.liferay.portal.model.UserGroup> search(
324 long companyId, java.lang.String name, java.lang.String description,
325 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
326 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _userGroupLocalService.search(companyId, name, description,
329 params, start, end, obc);
330 }
331
332 public int searchCount(long companyId, java.lang.String name,
333 java.lang.String description,
334 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 return _userGroupLocalService.searchCount(companyId, name, description,
337 params);
338 }
339
340 public void setUserUserGroups(long userId, long[] userGroupIds)
341 throws com.liferay.portal.kernel.exception.PortalException,
342 com.liferay.portal.kernel.exception.SystemException {
343 _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
344 }
345
346 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
347 throws com.liferay.portal.kernel.exception.SystemException {
348 _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
349 }
350
351 public void unsetTeamUserGroups(long teamId, long[] userGroupIds)
352 throws com.liferay.portal.kernel.exception.SystemException {
353 _userGroupLocalService.unsetTeamUserGroups(teamId, userGroupIds);
354 }
355
356 public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
357 long userGroupId, java.lang.String name, java.lang.String description)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
361 name, description);
362 }
363
364 public UserGroupLocalService getWrappedUserGroupLocalService() {
365 return _userGroupLocalService;
366 }
367
368 public void setWrappedUserGroupLocalService(
369 UserGroupLocalService userGroupLocalService) {
370 _userGroupLocalService = userGroupLocalService;
371 }
372
373 private UserGroupLocalService _userGroupLocalService;
374 }