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