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 splitThread(
145 long messageId, java.lang.String subject,
146 com.liferay.portal.service.ServiceContext serviceContext)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 return _mbThreadService.splitThread(messageId, subject, serviceContext);
150 }
151
152 public void unlockThread(long threadId)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 _mbThreadService.unlockThread(threadId);
156 }
157
158
161 public MBThreadService getWrappedMBThreadService() {
162 return _mbThreadService;
163 }
164
165
168 public void setWrappedMBThreadService(MBThreadService mbThreadService) {
169 _mbThreadService = mbThreadService;
170 }
171
172 public MBThreadService getWrappedService() {
173 return _mbThreadService;
174 }
175
176 public void setWrappedService(MBThreadService mbThreadService) {
177 _mbThreadService = mbThreadService;
178 }
179
180 private MBThreadService _mbThreadService;
181 }