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