001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class MBCategoryServiceWrapper implements MBCategoryService,
030 ServiceWrapper<MBCategoryService> {
031 public MBCategoryServiceWrapper(MBCategoryService mbCategoryService) {
032 _mbCategoryService = mbCategoryService;
033 }
034
035
040 @Override
041 public java.lang.String getBeanIdentifier() {
042 return _mbCategoryService.getBeanIdentifier();
043 }
044
045
050 @Override
051 public void setBeanIdentifier(java.lang.String beanIdentifier) {
052 _mbCategoryService.setBeanIdentifier(beanIdentifier);
053 }
054
055 @Override
056 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
057 long userId, long parentCategoryId, java.lang.String name,
058 java.lang.String description,
059 com.liferay.portal.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _mbCategoryService.addCategory(userId, parentCategoryId, name,
063 description, serviceContext);
064 }
065
066 @Override
067 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
068 long parentCategoryId, java.lang.String name,
069 java.lang.String description, java.lang.String displayStyle,
070 java.lang.String emailAddress, java.lang.String inProtocol,
071 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
072 java.lang.String inUserName, java.lang.String inPassword,
073 int inReadInterval, java.lang.String outEmailAddress,
074 boolean outCustom, java.lang.String outServerName, int outServerPort,
075 boolean outUseSSL, java.lang.String outUserName,
076 java.lang.String outPassword, boolean mailingListActive,
077 boolean allowAnonymousEmail,
078 com.liferay.portal.service.ServiceContext serviceContext)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 return _mbCategoryService.addCategory(parentCategoryId, name,
082 description, displayStyle, emailAddress, inProtocol, inServerName,
083 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
084 outEmailAddress, outCustom, outServerName, outServerPort,
085 outUseSSL, outUserName, outPassword, mailingListActive,
086 allowAnonymousEmail, serviceContext);
087 }
088
089 @Override
090 public void deleteCategory(long categoryId, boolean includeTrashedEntries)
091 throws com.liferay.portal.kernel.exception.PortalException,
092 com.liferay.portal.kernel.exception.SystemException {
093 _mbCategoryService.deleteCategory(categoryId, includeTrashedEntries);
094 }
095
096 @Override
097 public void deleteCategory(long groupId, long categoryId)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException {
100 _mbCategoryService.deleteCategory(groupId, categoryId);
101 }
102
103 @Override
104 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
105 long groupId)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _mbCategoryService.getCategories(groupId);
108 }
109
110 @Override
111 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
112 long groupId, int status)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _mbCategoryService.getCategories(groupId, status);
115 }
116
117 @Override
118 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
119 long groupId, long parentCategoryId, int start, int end)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _mbCategoryService.getCategories(groupId, parentCategoryId,
122 start, end);
123 }
124
125 @Override
126 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
127 long groupId, long parentCategoryId, int status, int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _mbCategoryService.getCategories(groupId, parentCategoryId,
130 status, start, end);
131 }
132
133 @Override
134 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
135 long groupId, long[] parentCategoryIds, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _mbCategoryService.getCategories(groupId, parentCategoryIds,
138 start, end);
139 }
140
141 @Override
142 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
143 long groupId, long[] parentCategoryIds, int status, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _mbCategoryService.getCategories(groupId, parentCategoryIds,
146 status, start, end);
147 }
148
149 @Override
150 public int getCategoriesCount(long groupId, long parentCategoryId)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId);
153 }
154
155 @Override
156 public int getCategoriesCount(long groupId, long parentCategoryId,
157 int status) throws com.liferay.portal.kernel.exception.SystemException {
158 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId,
159 status);
160 }
161
162 @Override
163 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryIds);
166 }
167
168 @Override
169 public int getCategoriesCount(long groupId, long[] parentCategoryIds,
170 int status) throws com.liferay.portal.kernel.exception.SystemException {
171 return _mbCategoryService.getCategoriesCount(groupId,
172 parentCategoryIds, status);
173 }
174
175 @Override
176 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
177 long categoryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbCategoryService.getCategory(categoryId);
181 }
182
183 @Override
184 public long[] getCategoryIds(long groupId, long categoryId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _mbCategoryService.getCategoryIds(groupId, categoryId);
187 }
188
189 @Override
190 public java.util.List<java.lang.Long> getSubcategoryIds(
191 java.util.List<java.lang.Long> categoryIds, long groupId,
192 long categoryId)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _mbCategoryService.getSubcategoryIds(categoryIds, groupId,
195 categoryId);
196 }
197
198 @Override
199 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
200 long groupId, long userId, int start, int end)
201 throws com.liferay.portal.kernel.exception.SystemException {
202 return _mbCategoryService.getSubscribedCategories(groupId, userId,
203 start, end);
204 }
205
206 @Override
207 public int getSubscribedCategoriesCount(long groupId, long userId)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _mbCategoryService.getSubscribedCategoriesCount(groupId, userId);
210 }
211
212 @Override
213 public com.liferay.portlet.messageboards.model.MBCategory moveCategory(
214 long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _mbCategoryService.moveCategory(categoryId, parentCategoryId,
218 mergeWithParentCategory);
219 }
220
221 @Override
222 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryFromTrash(
223 long categoryId, long newCategoryId)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _mbCategoryService.moveCategoryFromTrash(categoryId,
227 newCategoryId);
228 }
229
230 @Override
231 public com.liferay.portlet.messageboards.model.MBCategory moveCategoryToTrash(
232 long categoryId)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _mbCategoryService.moveCategoryToTrash(categoryId);
236 }
237
238 @Override
239 public void restoreCategoryFromTrash(long categoryId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 _mbCategoryService.restoreCategoryFromTrash(categoryId);
243 }
244
245 @Override
246 public void subscribeCategory(long groupId, long categoryId)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 _mbCategoryService.subscribeCategory(groupId, categoryId);
250 }
251
252 @Override
253 public void unsubscribeCategory(long groupId, long categoryId)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 _mbCategoryService.unsubscribeCategory(groupId, categoryId);
257 }
258
259 @Override
260 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
261 long categoryId, long parentCategoryId, java.lang.String name,
262 java.lang.String description, java.lang.String displayStyle,
263 java.lang.String emailAddress, java.lang.String inProtocol,
264 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
265 java.lang.String inUserName, java.lang.String inPassword,
266 int inReadInterval, java.lang.String outEmailAddress,
267 boolean outCustom, java.lang.String outServerName, int outServerPort,
268 boolean outUseSSL, java.lang.String outUserName,
269 java.lang.String outPassword, boolean mailingListActive,
270 boolean allowAnonymousEmail, boolean mergeWithParentCategory,
271 com.liferay.portal.service.ServiceContext serviceContext)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 return _mbCategoryService.updateCategory(categoryId, parentCategoryId,
275 name, description, displayStyle, emailAddress, inProtocol,
276 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
277 inReadInterval, outEmailAddress, outCustom, outServerName,
278 outServerPort, outUseSSL, outUserName, outPassword,
279 mailingListActive, allowAnonymousEmail, mergeWithParentCategory,
280 serviceContext);
281 }
282
283
286 public MBCategoryService getWrappedMBCategoryService() {
287 return _mbCategoryService;
288 }
289
290
293 public void setWrappedMBCategoryService(MBCategoryService mbCategoryService) {
294 _mbCategoryService = mbCategoryService;
295 }
296
297 @Override
298 public MBCategoryService getWrappedService() {
299 return _mbCategoryService;
300 }
301
302 @Override
303 public void setWrappedService(MBCategoryService mbCategoryService) {
304 _mbCategoryService = mbCategoryService;
305 }
306
307 private MBCategoryService _mbCategoryService;
308 }