001    /**
002     * Copyright (c) 2000-present 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.message.boards.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MBThreadService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBThreadService
026     * @generated
027     */
028    @ProviderType
029    public class MBThreadServiceWrapper implements MBThreadService,
030            ServiceWrapper<MBThreadService> {
031            public MBThreadServiceWrapper(MBThreadService mbThreadService) {
032                    _mbThreadService = mbThreadService;
033            }
034    
035            @Override
036            public com.liferay.message.boards.kernel.model.MBThread moveThread(
037                    long categoryId, long threadId)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _mbThreadService.moveThread(categoryId, threadId);
040            }
041    
042            @Override
043            public com.liferay.message.boards.kernel.model.MBThread moveThreadFromTrash(
044                    long categoryId, long threadId)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    return _mbThreadService.moveThreadFromTrash(categoryId, threadId);
047            }
048    
049            @Override
050            public com.liferay.message.boards.kernel.model.MBThread moveThreadToTrash(
051                    long threadId)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _mbThreadService.moveThreadToTrash(threadId);
054            }
055    
056            @Override
057            public com.liferay.message.boards.kernel.model.MBThread splitThread(
058                    long messageId, java.lang.String subject,
059                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _mbThreadService.splitThread(messageId, subject, serviceContext);
062            }
063    
064            @Override
065            public com.liferay.portal.kernel.lock.Lock lockThread(long threadId)
066                    throws com.liferay.portal.kernel.exception.PortalException {
067                    return _mbThreadService.lockThread(threadId);
068            }
069    
070            @Override
071            public com.liferay.portal.kernel.search.Hits search(long groupId,
072                    long creatorUserId, int status, int start, int end)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _mbThreadService.search(groupId, creatorUserId, status, start,
075                            end);
076            }
077    
078            @Override
079            public com.liferay.portal.kernel.search.Hits search(long groupId,
080                    long creatorUserId, long startDate, long endDate, int status,
081                    int start, int end)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _mbThreadService.search(groupId, creatorUserId, startDate,
084                            endDate, status, start, end);
085            }
086    
087            @Override
088            public int getGroupThreadsCount(long groupId, long userId, int status) {
089                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
090            }
091    
092            @Override
093            public int getGroupThreadsCount(long groupId, long userId, int status,
094                    boolean subscribed) {
095                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
096                            subscribed);
097            }
098    
099            @Override
100            public int getGroupThreadsCount(long groupId, long userId, int status,
101                    boolean subscribed, boolean includeAnonymous) {
102                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
103                            subscribed, includeAnonymous);
104            }
105    
106            @Override
107            public int getGroupThreadsCount(long groupId, long userId,
108                    java.util.Date modifiedDate, int status) {
109                    return _mbThreadService.getGroupThreadsCount(groupId, userId,
110                            modifiedDate, status);
111            }
112    
113            @Override
114            public int getThreadsCount(long groupId, long categoryId, int status) {
115                    return _mbThreadService.getThreadsCount(groupId, categoryId, status);
116            }
117    
118            /**
119            * Returns the OSGi service identifier.
120            *
121            * @return the OSGi service identifier
122            */
123            @Override
124            public java.lang.String getOSGiServiceIdentifier() {
125                    return _mbThreadService.getOSGiServiceIdentifier();
126            }
127    
128            @Override
129            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
130                    long groupId, long userId, int status, boolean subscribed,
131                    boolean includeAnonymous, int start, int end)
132                    throws com.liferay.portal.kernel.exception.PortalException {
133                    return _mbThreadService.getGroupThreads(groupId, userId, status,
134                            subscribed, includeAnonymous, start, end);
135            }
136    
137            @Override
138            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
139                    long groupId, long userId, int status, boolean subscribed, int start,
140                    int end) throws com.liferay.portal.kernel.exception.PortalException {
141                    return _mbThreadService.getGroupThreads(groupId, userId, status,
142                            subscribed, start, end);
143            }
144    
145            @Override
146            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
147                    long groupId, long userId, int status, int start, int end)
148                    throws com.liferay.portal.kernel.exception.PortalException {
149                    return _mbThreadService.getGroupThreads(groupId, userId, status, start,
150                            end);
151            }
152    
153            @Override
154            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getGroupThreads(
155                    long groupId, long userId, java.util.Date modifiedDate, int status,
156                    int start, int end)
157                    throws com.liferay.portal.kernel.exception.PortalException {
158                    return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
159                            status, start, end);
160            }
161    
162            @Override
163            public java.util.List<com.liferay.message.boards.kernel.model.MBThread> getThreads(
164                    long groupId, long categoryId, int status, int start, int end) {
165                    return _mbThreadService.getThreads(groupId, categoryId, status, start,
166                            end);
167            }
168    
169            @Override
170            public void deleteThread(long threadId)
171                    throws com.liferay.portal.kernel.exception.PortalException {
172                    _mbThreadService.deleteThread(threadId);
173            }
174    
175            @Override
176            public void restoreThreadFromTrash(long threadId)
177                    throws com.liferay.portal.kernel.exception.PortalException {
178                    _mbThreadService.restoreThreadFromTrash(threadId);
179            }
180    
181            @Override
182            public void unlockThread(long threadId)
183                    throws com.liferay.portal.kernel.exception.PortalException {
184                    _mbThreadService.unlockThread(threadId);
185            }
186    
187            @Override
188            public MBThreadService getWrappedService() {
189                    return _mbThreadService;
190            }
191    
192            @Override
193            public void setWrappedService(MBThreadService mbThreadService) {
194                    _mbThreadService = mbThreadService;
195            }
196    
197            private MBThreadService _mbThreadService;
198    }