001
014
015 package com.liferay.portlet.messageboards.model;
016
017
018
027 public class MBThreadWrapper implements MBThread {
028 public MBThreadWrapper(MBThread mbThread) {
029 _mbThread = mbThread;
030 }
031
032 public long getPrimaryKey() {
033 return _mbThread.getPrimaryKey();
034 }
035
036 public void setPrimaryKey(long pk) {
037 _mbThread.setPrimaryKey(pk);
038 }
039
040 public long getThreadId() {
041 return _mbThread.getThreadId();
042 }
043
044 public void setThreadId(long threadId) {
045 _mbThread.setThreadId(threadId);
046 }
047
048 public long getGroupId() {
049 return _mbThread.getGroupId();
050 }
051
052 public void setGroupId(long groupId) {
053 _mbThread.setGroupId(groupId);
054 }
055
056 public long getCategoryId() {
057 return _mbThread.getCategoryId();
058 }
059
060 public void setCategoryId(long categoryId) {
061 _mbThread.setCategoryId(categoryId);
062 }
063
064 public long getRootMessageId() {
065 return _mbThread.getRootMessageId();
066 }
067
068 public void setRootMessageId(long rootMessageId) {
069 _mbThread.setRootMessageId(rootMessageId);
070 }
071
072 public int getMessageCount() {
073 return _mbThread.getMessageCount();
074 }
075
076 public void setMessageCount(int messageCount) {
077 _mbThread.setMessageCount(messageCount);
078 }
079
080 public int getViewCount() {
081 return _mbThread.getViewCount();
082 }
083
084 public void setViewCount(int viewCount) {
085 _mbThread.setViewCount(viewCount);
086 }
087
088 public long getLastPostByUserId() {
089 return _mbThread.getLastPostByUserId();
090 }
091
092 public void setLastPostByUserId(long lastPostByUserId) {
093 _mbThread.setLastPostByUserId(lastPostByUserId);
094 }
095
096 public java.lang.String getLastPostByUserUuid()
097 throws com.liferay.portal.kernel.exception.SystemException {
098 return _mbThread.getLastPostByUserUuid();
099 }
100
101 public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
102 _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
103 }
104
105 public java.util.Date getLastPostDate() {
106 return _mbThread.getLastPostDate();
107 }
108
109 public void setLastPostDate(java.util.Date lastPostDate) {
110 _mbThread.setLastPostDate(lastPostDate);
111 }
112
113 public double getPriority() {
114 return _mbThread.getPriority();
115 }
116
117 public void setPriority(double priority) {
118 _mbThread.setPriority(priority);
119 }
120
121 public int getStatus() {
122 return _mbThread.getStatus();
123 }
124
125 public void setStatus(int status) {
126 _mbThread.setStatus(status);
127 }
128
129 public long getStatusByUserId() {
130 return _mbThread.getStatusByUserId();
131 }
132
133 public void setStatusByUserId(long statusByUserId) {
134 _mbThread.setStatusByUserId(statusByUserId);
135 }
136
137 public java.lang.String getStatusByUserUuid()
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _mbThread.getStatusByUserUuid();
140 }
141
142 public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
143 _mbThread.setStatusByUserUuid(statusByUserUuid);
144 }
145
146 public java.lang.String getStatusByUserName() {
147 return _mbThread.getStatusByUserName();
148 }
149
150 public void setStatusByUserName(java.lang.String statusByUserName) {
151 _mbThread.setStatusByUserName(statusByUserName);
152 }
153
154 public java.util.Date getStatusDate() {
155 return _mbThread.getStatusDate();
156 }
157
158 public void setStatusDate(java.util.Date statusDate) {
159 _mbThread.setStatusDate(statusDate);
160 }
161
162 public boolean isApproved() {
163 return _mbThread.isApproved();
164 }
165
166 public boolean isDraft() {
167 return _mbThread.isDraft();
168 }
169
170 public boolean isExpired() {
171 return _mbThread.isExpired();
172 }
173
174 public boolean isPending() {
175 return _mbThread.isPending();
176 }
177
178 public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
179 return _mbThread.toEscapedModel();
180 }
181
182 public boolean isNew() {
183 return _mbThread.isNew();
184 }
185
186 public void setNew(boolean n) {
187 _mbThread.setNew(n);
188 }
189
190 public boolean isCachedModel() {
191 return _mbThread.isCachedModel();
192 }
193
194 public void setCachedModel(boolean cachedModel) {
195 _mbThread.setCachedModel(cachedModel);
196 }
197
198 public boolean isEscapedModel() {
199 return _mbThread.isEscapedModel();
200 }
201
202 public void setEscapedModel(boolean escapedModel) {
203 _mbThread.setEscapedModel(escapedModel);
204 }
205
206 public java.io.Serializable getPrimaryKeyObj() {
207 return _mbThread.getPrimaryKeyObj();
208 }
209
210 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
211 return _mbThread.getExpandoBridge();
212 }
213
214 public void setExpandoBridgeAttributes(
215 com.liferay.portal.service.ServiceContext serviceContext) {
216 _mbThread.setExpandoBridgeAttributes(serviceContext);
217 }
218
219 public java.lang.Object clone() {
220 return _mbThread.clone();
221 }
222
223 public int compareTo(
224 com.liferay.portlet.messageboards.model.MBThread mbThread) {
225 return _mbThread.compareTo(mbThread);
226 }
227
228 public int hashCode() {
229 return _mbThread.hashCode();
230 }
231
232 public java.lang.String toString() {
233 return _mbThread.toString();
234 }
235
236 public java.lang.String toXmlString() {
237 return _mbThread.toXmlString();
238 }
239
240 public java.lang.String getAttachmentsDir() {
241 return _mbThread.getAttachmentsDir();
242 }
243
244 public com.liferay.portal.model.Lock getLock() {
245 return _mbThread.getLock();
246 }
247
248 public boolean hasLock(long userId) {
249 return _mbThread.hasLock(userId);
250 }
251
252 public boolean isLocked() {
253 return _mbThread.isLocked();
254 }
255
256 public MBThread getWrappedMBThread() {
257 return _mbThread;
258 }
259
260 private MBThread _mbThread;
261 }