001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBThreadServiceWrapper implements MBThreadService,
029 ServiceWrapper<MBThreadService> {
030 public MBThreadServiceWrapper(MBThreadService mbThreadService) {
031 _mbThreadService = mbThreadService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _mbThreadService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _mbThreadService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public void deleteThread(long threadId)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 _mbThreadService.deleteThread(threadId);
056 }
057
058 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
059 long groupId, long userId, java.util.Date modifiedDate, int status,
060 int start, int end)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
064 status, start, end);
065 }
066
067 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
068 long groupId, long userId, int status, boolean subscribed,
069 boolean includeAnonymous, int start, int end)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _mbThreadService.getGroupThreads(groupId, userId, status,
073 subscribed, includeAnonymous, start, end);
074 }
075
076 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
077 long groupId, long userId, int status, boolean subscribed, int start,
078 int end)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 return _mbThreadService.getGroupThreads(groupId, userId, status,
082 subscribed, start, end);
083 }
084
085 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
086 long groupId, long userId, int status, int start, int end)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _mbThreadService.getGroupThreads(groupId, userId, status, start,
090 end);
091 }
092
093 public int getGroupThreadsCount(long groupId, long userId,
094 java.util.Date modifiedDate, int status)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _mbThreadService.getGroupThreadsCount(groupId, userId,
097 modifiedDate, status);
098 }
099
100 public int getGroupThreadsCount(long groupId, long userId, int status)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
103 }
104
105 public int getGroupThreadsCount(long groupId, long userId, int status,
106 boolean subscribed)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
109 subscribed);
110 }
111
112 public int getGroupThreadsCount(long groupId, long userId, int status,
113 boolean subscribed, boolean includeAnonymous)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
116 subscribed, includeAnonymous);
117 }
118
119 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
120 long groupId, long categoryId, int status, int start, int end)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbThreadService.getThreads(groupId, categoryId, status, start,
123 end);
124 }
125
126 public int getThreadsCount(long groupId, long categoryId, int status)
127 throws com.liferay.portal.kernel.exception.SystemException {
128 return _mbThreadService.getThreadsCount(groupId, categoryId, status);
129 }
130
131 public com.liferay.portal.model.Lock lockThread(long threadId)
132 throws com.liferay.portal.kernel.exception.PortalException,
133 com.liferay.portal.kernel.exception.SystemException {
134 return _mbThreadService.lockThread(threadId);
135 }
136
137 public com.liferay.portlet.messageboards.model.MBThread moveThread(
138 long categoryId, long threadId)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 return _mbThreadService.moveThread(categoryId, threadId);
142 }
143
144 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
145 long threadId)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _mbThreadService.moveThreadToTrash(threadId);
149 }
150
151 public void restoreThreadFromTrash(long threadId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 _mbThreadService.restoreThreadFromTrash(threadId);
155 }
156
157 public com.liferay.portlet.messageboards.model.MBThread splitThread(
158 long messageId, java.lang.String subject,
159 com.liferay.portal.service.ServiceContext serviceContext)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 return _mbThreadService.splitThread(messageId, subject, serviceContext);
163 }
164
165 public void unlockThread(long threadId)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException {
168 _mbThreadService.unlockThread(threadId);
169 }
170
171
174 public MBThreadService getWrappedMBThreadService() {
175 return _mbThreadService;
176 }
177
178
181 public void setWrappedMBThreadService(MBThreadService mbThreadService) {
182 _mbThreadService = mbThreadService;
183 }
184
185 public MBThreadService getWrappedService() {
186 return _mbThreadService;
187 }
188
189 public void setWrappedService(MBThreadService mbThreadService) {
190 _mbThreadService = mbThreadService;
191 }
192
193 private MBThreadService _mbThreadService;
194 }