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