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