1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService {
35 public MBCategoryLocalServiceWrapper(
36 MBCategoryLocalService mbCategoryLocalService) {
37 _mbCategoryLocalService = mbCategoryLocalService;
38 }
39
40 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
41 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _mbCategoryLocalService.addMBCategory(mbCategory);
44 }
45
46 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
47 long categoryId) {
48 return _mbCategoryLocalService.createMBCategory(categoryId);
49 }
50
51 public void deleteMBCategory(long categoryId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _mbCategoryLocalService.deleteMBCategory(categoryId);
55 }
56
57 public void deleteMBCategory(
58 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _mbCategoryLocalService.deleteMBCategory(mbCategory);
61 }
62
63 @SuppressWarnings("unchecked")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("unchecked")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.kernel.exception.SystemException {
74 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("unchecked")
78 public java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException {
83 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
84 orderByComparator);
85 }
86
87 public long dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
94 long categoryId)
95 throws com.liferay.portal.kernel.exception.PortalException,
96 com.liferay.portal.kernel.exception.SystemException {
97 return _mbCategoryLocalService.getMBCategory(categoryId);
98 }
99
100 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
101 java.lang.String uuid, long groupId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
105 groupId);
106 }
107
108 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
109 int start, int end)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return _mbCategoryLocalService.getMBCategories(start, end);
112 }
113
114 public int getMBCategoriesCount()
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _mbCategoryLocalService.getMBCategoriesCount();
117 }
118
119 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
120 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbCategoryLocalService.updateMBCategory(mbCategory);
123 }
124
125 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
126 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
127 boolean merge)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _mbCategoryLocalService.updateMBCategory(mbCategory, merge);
130 }
131
132 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
133 long userId, long parentCategoryId, java.lang.String name,
134 java.lang.String description, java.lang.String emailAddress,
135 java.lang.String inProtocol, java.lang.String inServerName,
136 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
137 java.lang.String inPassword, int inReadInterval,
138 java.lang.String outEmailAddress, boolean outCustom,
139 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
140 java.lang.String outUserName, java.lang.String outPassword,
141 boolean mailingListActive,
142 com.liferay.portal.service.ServiceContext serviceContext)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
146 name, description, emailAddress, inProtocol, inServerName,
147 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
148 outEmailAddress, outCustom, outServerName, outServerPort,
149 outUseSSL, outUserName, outPassword, mailingListActive,
150 serviceContext);
151 }
152
153 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
154 java.lang.String uuid, long userId, long parentCategoryId,
155 java.lang.String name, java.lang.String description,
156 java.lang.String emailAddress, java.lang.String inProtocol,
157 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
158 java.lang.String inUserName, java.lang.String inPassword,
159 int inReadInterval, java.lang.String outEmailAddress,
160 boolean outCustom, java.lang.String outServerName, int outServerPort,
161 boolean outUseSSL, java.lang.String outUserName,
162 java.lang.String outPassword, boolean mailingListActive,
163 com.liferay.portal.service.ServiceContext serviceContext)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _mbCategoryLocalService.addCategory(uuid, userId,
167 parentCategoryId, name, description, emailAddress, inProtocol,
168 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
169 inReadInterval, outEmailAddress, outCustom, outServerName,
170 outServerPort, outUseSSL, outUserName, outPassword,
171 mailingListActive, serviceContext);
172 }
173
174 public void addCategoryResources(long categoryId,
175 boolean addCommunityPermissions, boolean addGuestPermissions)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 _mbCategoryLocalService.addCategoryResources(categoryId,
179 addCommunityPermissions, addGuestPermissions);
180 }
181
182 public void addCategoryResources(long categoryId,
183 java.lang.String[] communityPermissions,
184 java.lang.String[] guestPermissions)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 _mbCategoryLocalService.addCategoryResources(categoryId,
188 communityPermissions, guestPermissions);
189 }
190
191 public void addCategoryResources(
192 com.liferay.portlet.messageboards.model.MBCategory category,
193 boolean addCommunityPermissions, boolean addGuestPermissions)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 _mbCategoryLocalService.addCategoryResources(category,
197 addCommunityPermissions, addGuestPermissions);
198 }
199
200 public void addCategoryResources(
201 com.liferay.portlet.messageboards.model.MBCategory category,
202 java.lang.String[] communityPermissions,
203 java.lang.String[] guestPermissions)
204 throws com.liferay.portal.kernel.exception.PortalException,
205 com.liferay.portal.kernel.exception.SystemException {
206 _mbCategoryLocalService.addCategoryResources(category,
207 communityPermissions, guestPermissions);
208 }
209
210 public void deleteCategories(long groupId)
211 throws com.liferay.portal.kernel.exception.PortalException,
212 com.liferay.portal.kernel.exception.SystemException {
213 _mbCategoryLocalService.deleteCategories(groupId);
214 }
215
216 public void deleteCategory(long categoryId)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 _mbCategoryLocalService.deleteCategory(categoryId);
220 }
221
222 public void deleteCategory(
223 com.liferay.portlet.messageboards.model.MBCategory category)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 _mbCategoryLocalService.deleteCategory(category);
227 }
228
229 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
230 long groupId)
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _mbCategoryLocalService.getCategories(groupId);
233 }
234
235 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
236 long groupId, long parentCategoryId)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId);
239 }
240
241 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
242 long groupId, long parentCategoryId, int start, int end)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
245 start, end);
246 }
247
248 public int getCategoriesCount(long groupId)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return _mbCategoryLocalService.getCategoriesCount(groupId);
251 }
252
253 public int getCategoriesCount(long groupId, long parentCategoryId)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 return _mbCategoryLocalService.getCategoriesCount(groupId,
256 parentCategoryId);
257 }
258
259 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
260 long categoryId)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _mbCategoryLocalService.getCategory(categoryId);
264 }
265
266 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
267 long companyId, int start, int end)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
270 end);
271 }
272
273 public int getCompanyCategoriesCount(long companyId)
274 throws com.liferay.portal.kernel.exception.SystemException {
275 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
276 }
277
278 public java.util.List<java.lang.Long> getSubcategoryIds(
279 java.util.List<java.lang.Long> categoryIds, long groupId,
280 long categoryId)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
283 categoryId);
284 }
285
286 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
287 long groupId, long userId, int start, int end)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
290 start, end);
291 }
292
293 public int getSubscribedCategoriesCount(long groupId, long userId)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
296 userId);
297 }
298
299 public com.liferay.portlet.messageboards.model.MBCategory getSystemCategory()
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _mbCategoryLocalService.getSystemCategory();
302 }
303
304 public void subscribeCategory(long userId, long groupId, long categoryId)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
308 }
309
310 public void unsubscribeCategory(long userId, long groupId, long categoryId)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
314 }
315
316 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
317 long categoryId, long parentCategoryId, java.lang.String name,
318 java.lang.String description, java.lang.String emailAddress,
319 java.lang.String inProtocol, java.lang.String inServerName,
320 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
321 java.lang.String inPassword, int inReadInterval,
322 java.lang.String outEmailAddress, boolean outCustom,
323 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
324 java.lang.String outUserName, java.lang.String outPassword,
325 boolean mailingListActive, boolean mergeWithParentCategory,
326 com.liferay.portal.service.ServiceContext serviceContext)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 return _mbCategoryLocalService.updateCategory(categoryId,
330 parentCategoryId, name, description, emailAddress, inProtocol,
331 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
332 inReadInterval, outEmailAddress, outCustom, outServerName,
333 outServerPort, outUseSSL, outUserName, outPassword,
334 mailingListActive, mergeWithParentCategory, serviceContext);
335 }
336
337 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
338 return _mbCategoryLocalService;
339 }
340
341 private MBCategoryLocalService _mbCategoryLocalService;
342 }