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