1
14
15 package com.liferay.portal.service;
16
17
18
34 public class GroupLocalServiceWrapper implements GroupLocalService {
35 public GroupLocalServiceWrapper(GroupLocalService groupLocalService) {
36 _groupLocalService = groupLocalService;
37 }
38
39 public com.liferay.portal.model.Group addGroup(
40 com.liferay.portal.model.Group group)
41 throws com.liferay.portal.kernel.exception.SystemException {
42 return _groupLocalService.addGroup(group);
43 }
44
45 public com.liferay.portal.model.Group createGroup(long groupId) {
46 return _groupLocalService.createGroup(groupId);
47 }
48
49 public void deleteGroup(long groupId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 _groupLocalService.deleteGroup(groupId);
53 }
54
55 public void deleteGroup(com.liferay.portal.model.Group group)
56 throws com.liferay.portal.kernel.exception.SystemException {
57 _groupLocalService.deleteGroup(group);
58 }
59
60 @SuppressWarnings("unchecked")
61 public java.util.List dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.kernel.exception.SystemException {
64 return _groupLocalService.dynamicQuery(dynamicQuery);
65 }
66
67 @SuppressWarnings("unchecked")
68 public java.util.List dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.kernel.exception.SystemException {
71 return _groupLocalService.dynamicQuery(dynamicQuery, start, end);
72 }
73
74 @SuppressWarnings("unchecked")
75 public java.util.List dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _groupLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public long dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _groupLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portal.model.Group getGroup(long groupId)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _groupLocalService.getGroup(groupId);
94 }
95
96 public java.util.List<com.liferay.portal.model.Group> getGroups(int start,
97 int end) throws com.liferay.portal.kernel.exception.SystemException {
98 return _groupLocalService.getGroups(start, end);
99 }
100
101 public int getGroupsCount()
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _groupLocalService.getGroupsCount();
104 }
105
106 public com.liferay.portal.model.Group updateGroup(
107 com.liferay.portal.model.Group group)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _groupLocalService.updateGroup(group);
110 }
111
112 public com.liferay.portal.model.Group updateGroup(
113 com.liferay.portal.model.Group group, boolean merge)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _groupLocalService.updateGroup(group, merge);
116 }
117
118 public com.liferay.portal.model.Group addGroup(long userId,
119 java.lang.String className, long classPK, java.lang.String name,
120 java.lang.String description, int type, java.lang.String friendlyURL,
121 boolean active, com.liferay.portal.service.ServiceContext serviceContext)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException {
124 return _groupLocalService.addGroup(userId, className, classPK, name,
125 description, type, friendlyURL, active, serviceContext);
126 }
127
128 public com.liferay.portal.model.Group addGroup(long userId,
129 java.lang.String className, long classPK, long liveGroupId,
130 java.lang.String name, java.lang.String description, int type,
131 java.lang.String friendlyURL, boolean active,
132 com.liferay.portal.service.ServiceContext serviceContext)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 return _groupLocalService.addGroup(userId, className, classPK,
136 liveGroupId, name, description, type, friendlyURL, active,
137 serviceContext);
138 }
139
140 public void addRoleGroups(long roleId, long[] groupIds)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 _groupLocalService.addRoleGroups(roleId, groupIds);
143 }
144
145 public void addUserGroups(long userId, long[] groupIds)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 _groupLocalService.addUserGroups(userId, groupIds);
148 }
149
150 public void checkCompanyGroup(long companyId)
151 throws com.liferay.portal.kernel.exception.PortalException,
152 com.liferay.portal.kernel.exception.SystemException {
153 _groupLocalService.checkCompanyGroup(companyId);
154 }
155
156 public void checkSystemGroups(long companyId)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException {
159 _groupLocalService.checkSystemGroups(companyId);
160 }
161
162 public com.liferay.portal.model.Group getCompanyGroup(long companyId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _groupLocalService.getCompanyGroup(companyId);
166 }
167
168 public java.util.List<com.liferay.portal.model.Group> getCompanyGroups(
169 long companyId, int start, int end)
170 throws com.liferay.portal.kernel.exception.SystemException {
171 return _groupLocalService.getCompanyGroups(companyId, start, end);
172 }
173
174 public int getCompanyGroupsCount(long companyId)
175 throws com.liferay.portal.kernel.exception.SystemException {
176 return _groupLocalService.getCompanyGroupsCount(companyId);
177 }
178
179 public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
180 java.lang.String friendlyURL)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 return _groupLocalService.getFriendlyURLGroup(companyId, friendlyURL);
184 }
185
186 public com.liferay.portal.model.Group getGroup(long companyId,
187 java.lang.String name)
188 throws com.liferay.portal.kernel.exception.PortalException,
189 com.liferay.portal.kernel.exception.SystemException {
190 return _groupLocalService.getGroup(companyId, name);
191 }
192
193 public java.util.List<com.liferay.portal.model.Group> getGroups(
194 long[] groupIds)
195 throws com.liferay.portal.kernel.exception.PortalException,
196 com.liferay.portal.kernel.exception.SystemException {
197 return _groupLocalService.getGroups(groupIds);
198 }
199
200 public com.liferay.portal.model.Group getLayoutGroup(long companyId,
201 long plid)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _groupLocalService.getLayoutGroup(companyId, plid);
205 }
206
207 public com.liferay.portal.model.Group getLayoutPrototypeGroup(
208 long companyId, long layoutPrototypeId)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return _groupLocalService.getLayoutPrototypeGroup(companyId,
212 layoutPrototypeId);
213 }
214
215 public com.liferay.portal.model.Group getLayoutSetPrototypeGroup(
216 long companyId, long layoutSetPrototypeId)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 return _groupLocalService.getLayoutSetPrototypeGroup(companyId,
220 layoutSetPrototypeId);
221 }
222
223 public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(
224 java.lang.String className, boolean privateLayout, int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _groupLocalService.getNoLayoutsGroups(className, privateLayout,
227 start, end);
228 }
229
230 public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _groupLocalService.getNullFriendlyURLGroups();
233 }
234
235 public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
236 long organizationId)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 return _groupLocalService.getOrganizationGroup(companyId, organizationId);
240 }
241
242 public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(
243 java.util.List<com.liferay.portal.model.Organization> organizations) {
244 return _groupLocalService.getOrganizationsGroups(organizations);
245 }
246
247 public java.util.List<com.liferay.portal.model.Group> getOrganizationsRelatedGroups(
248 java.util.List<com.liferay.portal.model.Organization> organizations)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return _groupLocalService.getOrganizationsRelatedGroups(organizations);
251 }
252
253 public java.util.List<com.liferay.portal.model.Group> getRoleGroups(
254 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
255 return _groupLocalService.getRoleGroups(roleId);
256 }
257
258 public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _groupLocalService.getStagingGroup(liveGroupId);
262 }
263
264 public com.liferay.portal.model.Group getUserGroup(long companyId,
265 long userId)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _groupLocalService.getUserGroup(companyId, userId);
269 }
270
271 public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
272 long userGroupId)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 return _groupLocalService.getUserGroupGroup(companyId, userGroupId);
276 }
277
278 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
279 long userId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 return _groupLocalService.getUserGroups(userId);
283 }
284
285 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
286 long userId, boolean inherit)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 return _groupLocalService.getUserGroups(userId, inherit);
290 }
291
292 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
293 long userId, int start, int end)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 return _groupLocalService.getUserGroups(userId, start, end);
297 }
298
299 public java.util.List<com.liferay.portal.model.Group> getUserGroups(
300 long userId, boolean inherit, int start, int end)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return _groupLocalService.getUserGroups(userId, inherit, start, end);
304 }
305
306 public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(
307 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 return _groupLocalService.getUserGroupsGroups(userGroups);
311 }
312
313 public java.util.List<com.liferay.portal.model.Group> getUserGroupsRelatedGroups(
314 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
315 throws com.liferay.portal.kernel.exception.SystemException {
316 return _groupLocalService.getUserGroupsRelatedGroups(userGroups);
317 }
318
319 public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(
320 long userId, int start, int end)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 return _groupLocalService.getUserOrganizationsGroups(userId, start, end);
324 }
325
326 public boolean hasRoleGroup(long roleId, long groupId)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _groupLocalService.hasRoleGroup(roleId, groupId);
329 }
330
331 public boolean hasStagingGroup(long liveGroupId)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _groupLocalService.hasStagingGroup(liveGroupId);
334 }
335
336 public boolean hasUserGroup(long userId, long groupId)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return _groupLocalService.hasUserGroup(userId, groupId);
339 }
340
341 public java.util.List<com.liferay.portal.model.Group> search(
342 long companyId, java.lang.String name, java.lang.String description,
343 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
344 int start, int end)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return _groupLocalService.search(companyId, name, description, params,
347 start, end);
348 }
349
350 public java.util.List<com.liferay.portal.model.Group> search(
351 long companyId, java.lang.String name, java.lang.String description,
352 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
353 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _groupLocalService.search(companyId, name, description, params,
356 start, end, obc);
357 }
358
359 public int searchCount(long companyId, java.lang.String name,
360 java.lang.String description,
361 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return _groupLocalService.searchCount(companyId, name, description,
364 params);
365 }
366
367 public void setRoleGroups(long roleId, long[] groupIds)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 _groupLocalService.setRoleGroups(roleId, groupIds);
370 }
371
372 public void unsetRoleGroups(long roleId, long[] groupIds)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 _groupLocalService.unsetRoleGroups(roleId, groupIds);
375 }
376
377 public void unsetUserGroups(long userId, long[] groupIds)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 _groupLocalService.unsetUserGroups(userId, groupIds);
380 }
381
382 public void updateAsset(long userId, com.liferay.portal.model.Group group,
383 long[] assetCategoryIds, java.lang.String[] assetTagNames)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 _groupLocalService.updateAsset(userId, group, assetCategoryIds,
387 assetTagNames);
388 }
389
390 public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
391 java.lang.String friendlyURL)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 return _groupLocalService.updateFriendlyURL(groupId, friendlyURL);
395 }
396
397 public com.liferay.portal.model.Group updateGroup(long groupId,
398 java.lang.String name, java.lang.String description, int type,
399 java.lang.String friendlyURL, boolean active,
400 com.liferay.portal.service.ServiceContext serviceContext)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 return _groupLocalService.updateGroup(groupId, name, description, type,
404 friendlyURL, active, serviceContext);
405 }
406
407 public com.liferay.portal.model.Group updateGroup(long groupId,
408 java.lang.String typeSettings)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 return _groupLocalService.updateGroup(groupId, typeSettings);
412 }
413
414 public com.liferay.portal.model.Group updateWorkflow(long groupId,
415 boolean workflowEnabled, int workflowStages,
416 java.lang.String workflowRoleNames)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException {
419 return _groupLocalService.updateWorkflow(groupId, workflowEnabled,
420 workflowStages, workflowRoleNames);
421 }
422
423 public GroupLocalService getWrappedGroupLocalService() {
424 return _groupLocalService;
425 }
426
427 private GroupLocalService _groupLocalService;
428 }