001
014
015 package com.liferay.portlet.messageboards.service;
016
017
026 public class MBMessageFlagLocalServiceWrapper
027 implements MBMessageFlagLocalService {
028 public MBMessageFlagLocalServiceWrapper(
029 MBMessageFlagLocalService mbMessageFlagLocalService) {
030 _mbMessageFlagLocalService = mbMessageFlagLocalService;
031 }
032
033
040 public com.liferay.portlet.messageboards.model.MBMessageFlag addMBMessageFlag(
041 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _mbMessageFlagLocalService.addMBMessageFlag(mbMessageFlag);
044 }
045
046
052 public com.liferay.portlet.messageboards.model.MBMessageFlag createMBMessageFlag(
053 long messageFlagId) {
054 return _mbMessageFlagLocalService.createMBMessageFlag(messageFlagId);
055 }
056
057
064 public void deleteMBMessageFlag(long messageFlagId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _mbMessageFlagLocalService.deleteMBMessageFlag(messageFlagId);
068 }
069
070
076 public void deleteMBMessageFlag(
077 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _mbMessageFlagLocalService.deleteMBMessageFlag(mbMessageFlag);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _mbMessageFlagLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.messageboards.model.MBMessageFlag getMBMessageFlag(
162 long messageFlagId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _mbMessageFlagLocalService.getMBMessageFlag(messageFlagId);
166 }
167
168
180 public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> getMBMessageFlags(
181 int start, int end)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _mbMessageFlagLocalService.getMBMessageFlags(start, end);
184 }
185
186
192 public int getMBMessageFlagsCount()
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _mbMessageFlagLocalService.getMBMessageFlagsCount();
195 }
196
197
204 public com.liferay.portlet.messageboards.model.MBMessageFlag updateMBMessageFlag(
205 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
206 throws com.liferay.portal.kernel.exception.SystemException {
207 return _mbMessageFlagLocalService.updateMBMessageFlag(mbMessageFlag);
208 }
209
210
218 public com.liferay.portlet.messageboards.model.MBMessageFlag updateMBMessageFlag(
219 com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag,
220 boolean merge)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _mbMessageFlagLocalService.updateMBMessageFlag(mbMessageFlag,
223 merge);
224 }
225
226 public void addReadFlags(long userId,
227 com.liferay.portlet.messageboards.model.MBThread thread)
228 throws com.liferay.portal.kernel.exception.PortalException,
229 com.liferay.portal.kernel.exception.SystemException {
230 _mbMessageFlagLocalService.addReadFlags(userId, thread);
231 }
232
233 public void addQuestionFlag(long messageId)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 _mbMessageFlagLocalService.addQuestionFlag(messageId);
237 }
238
239 public void deleteAnswerFlags(long threadId, long messageId)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 _mbMessageFlagLocalService.deleteAnswerFlags(threadId, messageId);
242 }
243
244 public void deleteFlags(long userId)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 _mbMessageFlagLocalService.deleteFlags(userId);
247 }
248
249 public void deleteFlags(long messageId, int flag)
250 throws com.liferay.portal.kernel.exception.SystemException {
251 _mbMessageFlagLocalService.deleteFlags(messageId, flag);
252 }
253
254 public void deleteQuestionAndAnswerFlags(long threadId)
255 throws com.liferay.portal.kernel.exception.SystemException {
256 _mbMessageFlagLocalService.deleteQuestionAndAnswerFlags(threadId);
257 }
258
259 public void deleteThreadFlags(long threadId)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 _mbMessageFlagLocalService.deleteThreadFlags(threadId);
262 }
263
264 public com.liferay.portlet.messageboards.model.MBMessageFlag getReadFlag(
265 long userId, com.liferay.portlet.messageboards.model.MBThread thread)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _mbMessageFlagLocalService.getReadFlag(userId, thread);
269 }
270
271 public boolean hasAnswerFlag(long messageId)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 return _mbMessageFlagLocalService.hasAnswerFlag(messageId);
274 }
275
276 public boolean hasQuestionFlag(long messageId)
277 throws com.liferay.portal.kernel.exception.SystemException {
278 return _mbMessageFlagLocalService.hasQuestionFlag(messageId);
279 }
280
281 public boolean hasReadFlag(long userId,
282 com.liferay.portlet.messageboards.model.MBThread thread)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _mbMessageFlagLocalService.hasReadFlag(userId, thread);
286 }
287
288 public MBMessageFlagLocalService getWrappedMBMessageFlagLocalService() {
289 return _mbMessageFlagLocalService;
290 }
291
292 private MBMessageFlagLocalService _mbMessageFlagLocalService;
293 }