001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link MBMessageFlagLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBMessageFlagLocalService
025     * @generated
026     */
027    public class MBMessageFlagLocalServiceWrapper
028            implements MBMessageFlagLocalService {
029            public MBMessageFlagLocalServiceWrapper(
030                    MBMessageFlagLocalService mbMessageFlagLocalService) {
031                    _mbMessageFlagLocalService = mbMessageFlagLocalService;
032            }
033    
034            public com.liferay.portlet.messageboards.model.MBMessageFlag addMBMessageFlag(
035                    com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _mbMessageFlagLocalService.addMBMessageFlag(mbMessageFlag);
038            }
039    
040            public com.liferay.portlet.messageboards.model.MBMessageFlag createMBMessageFlag(
041                    long messageFlagId) {
042                    return _mbMessageFlagLocalService.createMBMessageFlag(messageFlagId);
043            }
044    
045            public void deleteMBMessageFlag(long messageFlagId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _mbMessageFlagLocalService.deleteMBMessageFlag(messageFlagId);
049            }
050    
051            public void deleteMBMessageFlag(
052                    com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    _mbMessageFlagLocalService.deleteMBMessageFlag(mbMessageFlag);
055            }
056    
057            @SuppressWarnings("unchecked")
058            public java.util.List dynamicQuery(
059                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery);
062            }
063    
064            @SuppressWarnings("unchecked")
065            public java.util.List dynamicQuery(
066                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067                    int end) throws com.liferay.portal.kernel.exception.SystemException {
068                    return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery, start, end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _mbMessageFlagLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _mbMessageFlagLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.messageboards.model.MBMessageFlag getMBMessageFlag(
088                    long messageFlagId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _mbMessageFlagLocalService.getMBMessageFlag(messageFlagId);
092            }
093    
094            public java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> getMBMessageFlags(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _mbMessageFlagLocalService.getMBMessageFlags(start, end);
098            }
099    
100            public int getMBMessageFlagsCount()
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _mbMessageFlagLocalService.getMBMessageFlagsCount();
103            }
104    
105            public com.liferay.portlet.messageboards.model.MBMessageFlag updateMBMessageFlag(
106                    com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _mbMessageFlagLocalService.updateMBMessageFlag(mbMessageFlag);
109            }
110    
111            public com.liferay.portlet.messageboards.model.MBMessageFlag updateMBMessageFlag(
112                    com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag,
113                    boolean merge)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _mbMessageFlagLocalService.updateMBMessageFlag(mbMessageFlag,
116                            merge);
117            }
118    
119            public void addReadFlags(long userId,
120                    com.liferay.portlet.messageboards.model.MBThread thread)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    _mbMessageFlagLocalService.addReadFlags(userId, thread);
124            }
125    
126            public void addQuestionFlag(long messageId)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    _mbMessageFlagLocalService.addQuestionFlag(messageId);
130            }
131    
132            public void deleteAnswerFlags(long threadId, long messageId)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    _mbMessageFlagLocalService.deleteAnswerFlags(threadId, messageId);
135            }
136    
137            public void deleteFlags(long userId)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    _mbMessageFlagLocalService.deleteFlags(userId);
140            }
141    
142            public void deleteFlags(long messageId, int flag)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    _mbMessageFlagLocalService.deleteFlags(messageId, flag);
145            }
146    
147            public void deleteQuestionAndAnswerFlags(long threadId)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    _mbMessageFlagLocalService.deleteQuestionAndAnswerFlags(threadId);
150            }
151    
152            public void deleteThreadFlags(long threadId)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    _mbMessageFlagLocalService.deleteThreadFlags(threadId);
155            }
156    
157            public com.liferay.portlet.messageboards.model.MBMessageFlag getReadFlag(
158                    long userId, com.liferay.portlet.messageboards.model.MBThread thread)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _mbMessageFlagLocalService.getReadFlag(userId, thread);
162            }
163    
164            public boolean hasAnswerFlag(long messageId)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _mbMessageFlagLocalService.hasAnswerFlag(messageId);
167            }
168    
169            public boolean hasQuestionFlag(long messageId)
170                    throws com.liferay.portal.kernel.exception.SystemException {
171                    return _mbMessageFlagLocalService.hasQuestionFlag(messageId);
172            }
173    
174            public boolean hasReadFlag(long userId,
175                    com.liferay.portlet.messageboards.model.MBThread thread)
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException {
178                    return _mbMessageFlagLocalService.hasReadFlag(userId, thread);
179            }
180    
181            public MBMessageFlagLocalService getWrappedMBMessageFlagLocalService() {
182                    return _mbMessageFlagLocalService;
183            }
184    
185            private MBMessageFlagLocalService _mbMessageFlagLocalService;
186    }