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 com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
74 throws com.liferay.portal.kernel.exception.PortalException,
75 com.liferay.portal.kernel.exception.SystemException {
76 return _userGroupLocalService.getUserGroup(userGroupId);
77 }
78
79 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
80 int start, int end)
81 throws com.liferay.portal.kernel.exception.SystemException {
82 return _userGroupLocalService.getUserGroups(start, end);
83 }
84
85 public int getUserGroupsCount()
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _userGroupLocalService.getUserGroupsCount();
88 }
89
90 public com.liferay.portal.model.UserGroup updateUserGroup(
91 com.liferay.portal.model.UserGroup userGroup)
92 throws com.liferay.portal.kernel.exception.SystemException {
93 return _userGroupLocalService.updateUserGroup(userGroup);
94 }
95
96 public com.liferay.portal.model.UserGroup updateUserGroup(
97 com.liferay.portal.model.UserGroup userGroup, boolean merge)
98 throws com.liferay.portal.kernel.exception.SystemException {
99 return _userGroupLocalService.updateUserGroup(userGroup, merge);
100 }
101
102 public void addGroupUserGroups(long groupId, long[] userGroupIds)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 _userGroupLocalService.addGroupUserGroups(groupId, userGroupIds);
105 }
106
107 public com.liferay.portal.model.UserGroup addUserGroup(long userId,
108 long companyId, java.lang.String name, java.lang.String description)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException {
111 return _userGroupLocalService.addUserGroup(userId, companyId, name,
112 description);
113 }
114
115 public void clearUserUserGroups(long userId)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 _userGroupLocalService.clearUserUserGroups(userId);
118 }
119
120 public void copyUserGroupLayouts(long userGroupId, long[] userIds)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userIds);
124 }
125
126 public void copyUserGroupLayouts(long[] userGroupIds, long userId)
127 throws com.liferay.portal.kernel.exception.PortalException,
128 com.liferay.portal.kernel.exception.SystemException {
129 _userGroupLocalService.copyUserGroupLayouts(userGroupIds, userId);
130 }
131
132 public void copyUserGroupLayouts(long userGroupId, long userId)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 _userGroupLocalService.copyUserGroupLayouts(userGroupId, userId);
136 }
137
138 public com.liferay.portal.model.UserGroup getUserGroup(long companyId,
139 java.lang.String name)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 return _userGroupLocalService.getUserGroup(companyId, name);
143 }
144
145 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
146 long companyId)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _userGroupLocalService.getUserGroups(companyId);
149 }
150
151 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
152 long[] userGroupIds)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 return _userGroupLocalService.getUserGroups(userGroupIds);
156 }
157
158 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
159 long userId) throws com.liferay.portal.kernel.exception.SystemException {
160 return _userGroupLocalService.getUserUserGroups(userId);
161 }
162
163 public boolean hasGroupUserGroup(long groupId, long userGroupId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _userGroupLocalService.hasGroupUserGroup(groupId, userGroupId);
166 }
167
168 public java.util.List<com.liferay.portal.model.UserGroup> search(
169 long companyId, java.lang.String name, java.lang.String description,
170 java.util.LinkedHashMap<String, Object> params, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return _userGroupLocalService.search(companyId, name, description,
174 params, start, end, obc);
175 }
176
177 public int searchCount(long companyId, java.lang.String name,
178 java.lang.String description,
179 java.util.LinkedHashMap<String, Object> params)
180 throws com.liferay.portal.kernel.exception.SystemException {
181 return _userGroupLocalService.searchCount(companyId, name, description,
182 params);
183 }
184
185 public void setUserUserGroups(long userId, long[] userGroupIds)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 _userGroupLocalService.setUserUserGroups(userId, userGroupIds);
189 }
190
191 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
192 throws com.liferay.portal.kernel.exception.SystemException {
193 _userGroupLocalService.unsetGroupUserGroups(groupId, userGroupIds);
194 }
195
196 public com.liferay.portal.model.UserGroup updateUserGroup(long companyId,
197 long userGroupId, java.lang.String name, java.lang.String description)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 return _userGroupLocalService.updateUserGroup(companyId, userGroupId,
201 name, description);
202 }
203
204 public UserGroupLocalService getWrappedUserGroupLocalService() {
205 return _userGroupLocalService;
206 }
207
208 private UserGroupLocalService _userGroupLocalService;
209 }