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