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 MBThreadService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBThreadService
025     * @generated
026     */
027    public class MBThreadServiceWrapper implements MBThreadService {
028            public MBThreadServiceWrapper(MBThreadService mbThreadService) {
029                    _mbThreadService = mbThreadService;
030            }
031    
032            public void deleteThread(long threadId)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    _mbThreadService.deleteThread(threadId);
036            }
037    
038            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
039                    long groupId, long userId, int status, boolean subscribed,
040                    boolean includeAnonymous, int start, int end)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    return _mbThreadService.getGroupThreads(groupId, userId, status,
044                            subscribed, includeAnonymous, start, end);
045            }
046    
047            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
048                    long groupId, long userId, int status, boolean subscribed, int start,
049                    int end)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _mbThreadService.getGroupThreads(groupId, userId, status,
053                            subscribed, start, end);
054            }
055    
056            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
057                    long groupId, long userId, int status, int start, int end)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _mbThreadService.getGroupThreads(groupId, userId, status, start,
061                            end);
062            }
063    
064            public int getGroupThreadsCount(long groupId, long userId, int status)
065                    throws com.liferay.portal.kernel.exception.SystemException {
066                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
067            }
068    
069            public int getGroupThreadsCount(long groupId, long userId, int status,
070                    boolean subscribed)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
073                            subscribed);
074            }
075    
076            public int getGroupThreadsCount(long groupId, long userId, int status,
077                    boolean subscribed, boolean includeAnonymous)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
080                            subscribed, includeAnonymous);
081            }
082    
083            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
084                    long groupId, long categoryId, int status, int start, int end)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _mbThreadService.getThreads(groupId, categoryId, status, start,
087                            end);
088            }
089    
090            public int getThreadsCount(long groupId, long categoryId, int status)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _mbThreadService.getThreadsCount(groupId, categoryId, status);
093            }
094    
095            public com.liferay.portal.model.Lock lockThread(long threadId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _mbThreadService.lockThread(threadId);
099            }
100    
101            public com.liferay.portlet.messageboards.model.MBThread moveThread(
102                    long categoryId, long threadId)
103                    throws com.liferay.portal.kernel.exception.PortalException,
104                            com.liferay.portal.kernel.exception.SystemException {
105                    return _mbThreadService.moveThread(categoryId, threadId);
106            }
107    
108            public com.liferay.portlet.messageboards.model.MBThread splitThread(
109                    long messageId, com.liferay.portal.service.ServiceContext serviceContext)
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException {
112                    return _mbThreadService.splitThread(messageId, serviceContext);
113            }
114    
115            public void unlockThread(long threadId)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    _mbThreadService.unlockThread(threadId);
119            }
120    
121            public MBThreadService getWrappedMBThreadService() {
122                    return _mbThreadService;
123            }
124    
125            private MBThreadService _mbThreadService;
126    }