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 public com.liferay.portal.model.UserGroup addUserGroup(
033 com.liferay.portal.model.UserGroup userGroup)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _userGroupLocalService.addUserGroup(userGroup);
036 }
037
038 public com.liferay.portal.model.UserGroup createUserGroup(long userGroupId) {
039 return _userGroupLocalService.createUserGroup(userGroupId);
040 }
041
042 public void deleteUserGroup(long userGroupId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _userGroupLocalService.deleteUserGroup(userGroupId);
046 }
047
048 public void deleteUserGroup(com.liferay.portal.model.UserGroup userGroup)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 _userGroupLocalService.deleteUserGroup(userGroup);
051 }
052
053 @SuppressWarnings("unchecked")
054 public java.util.List dynamicQuery(
055 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return _userGroupLocalService.dynamicQuery(dynamicQuery);
058 }
059
060 @SuppressWarnings("unchecked")
061 public java.util.List dynamicQuery(
062 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063 int end) throws com.liferay.portal.kernel.exception.SystemException {
064 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end);
065 }
066
067 @SuppressWarnings("unchecked")
068 public java.util.List dynamicQuery(
069 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070 int end,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException {
073 return _userGroupLocalService.dynamicQuery(dynamicQuery, start, end,
074 orderByComparator);
075 }
076
077 public long dynamicQueryCount(
078 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079 throws com.liferay.portal.kernel.exception.SystemException {
080 return _userGroupLocalService.dynamicQueryCount(dynamicQuery);
081 }
082
083 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _userGroupLocalService.getUserGroup(userGroupId);
087 }
088
089 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
090 int start, int end)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _userGroupLocalService.getUserGroups(start, end);
093 }
094
095 public int getUserGroupsCount()
096 throws com.liferay.portal.kernel.exception.SystemException {
097 return _userGroupLocalService.getUserGroupsCount();
098 }
099
100 public com.liferay.portal.model.UserGroup updateUserGroup(
101 com.liferay.portal.model.UserGroup userGroup)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _userGroupLocalService.updateUserGroup(userGroup);
104 }
105
106 public com.liferay.portal.model.UserGroup updateUserGroup(
107 com.liferay.portal.model.UserGroup userGroup, boolean merge)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _userGroupLocalService.updateUserGroup(userGroup, merge);
110 }
111
112 public void addGroupUserGroups(long groupId, long[] userGroupIds)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
115 }
116
117 public com.liferay.portal.model.UserGroup addUserGroup(long userId,
118 long companyId, java.lang.String name, java.lang.String description)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return _userGroupLocalService.addUserGroup(userId, companyId, name,
122 description);
123 }
124
125 public void clearUserUserGroups(long userId)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 _userGroupLocalService.clearUserUserGroups(userId);
128 }
129
130 public void copyUserGroupLayouts(long userGroupId, long[] userIds)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
134 }
135
136 public void copyUserGroupLayouts(long[] userGroupIds, long userId)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
140 }
141
142 public void copyUserGroupLayouts(long userGroupId, long userId)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
146 }
147
148 public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
149 java.lang.String name)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 return _userGroupLocalService.getUserGroup(companyId, name);
153 }
154
155 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
156 long companyId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _userGroupLocalService.getUserGroups(companyId);
159 }
160
161 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
162 long[] userGroupIds)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _userGroupLocalService.getUserGroups(userGroupIds);
166 }
167
168 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
169 long userId) throws com.liferay.portal.kernel.exception.SystemException {
170 return _userGroupLocalService.getUserUserGroups(userId);
171 }
172
173 public boolean hasGroupUserGroup(long groupId, long userGroupId)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
176 }
177
178 public java.util.List<com.liferay.portal.model.UserGroup> search(
179 long companyId, java.lang.String name, java.lang.String description,
180 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
181 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _userGroupLocalService.search(companyId, name, description,
184 params, start, end, obc);
185 }
186
187 public int searchCount(long companyId, java.lang.String name,
188 java.lang.String description,
189 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _userGroupLocalService.searchCount(companyId, name, description,
192 params);
193 }
194
195 public void setUserUserGroups(long userId, long[] userGroupIds)
196 throws com.liferay.portal.kernel.exception.PortalException,
197 com.liferay.portal.kernel.exception.SystemException {
198 _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
199 }
200
201 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
204 }
205
206 public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
207 long userGroupId, java.lang.String name, java.lang.String description)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
211 name, description);
212 }
213
214 public UserGroupLocalService getWrappedUserGroupLocalService() {
215 return _userGroupLocalService;
216 }
217
218 private UserGroupLocalService _userGroupLocalService;
219 }