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