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