1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.model;
24  
25  
26  /**
27   * <a href="MBThreadSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBThread}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBThread
40   * @generated
41   */
42  public class MBThreadWrapper implements MBThread {
43      public MBThreadWrapper(MBThread mbThread) {
44          _mbThread = mbThread;
45      }
46  
47      public long getPrimaryKey() {
48          return _mbThread.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _mbThread.setPrimaryKey(pk);
53      }
54  
55      public long getThreadId() {
56          return _mbThread.getThreadId();
57      }
58  
59      public void setThreadId(long threadId) {
60          _mbThread.setThreadId(threadId);
61      }
62  
63      public long getGroupId() {
64          return _mbThread.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _mbThread.setGroupId(groupId);
69      }
70  
71      public long getCategoryId() {
72          return _mbThread.getCategoryId();
73      }
74  
75      public void setCategoryId(long categoryId) {
76          _mbThread.setCategoryId(categoryId);
77      }
78  
79      public long getRootMessageId() {
80          return _mbThread.getRootMessageId();
81      }
82  
83      public void setRootMessageId(long rootMessageId) {
84          _mbThread.setRootMessageId(rootMessageId);
85      }
86  
87      public int getMessageCount() {
88          return _mbThread.getMessageCount();
89      }
90  
91      public void setMessageCount(int messageCount) {
92          _mbThread.setMessageCount(messageCount);
93      }
94  
95      public int getViewCount() {
96          return _mbThread.getViewCount();
97      }
98  
99      public void setViewCount(int viewCount) {
100         _mbThread.setViewCount(viewCount);
101     }
102 
103     public long getLastPostByUserId() {
104         return _mbThread.getLastPostByUserId();
105     }
106 
107     public void setLastPostByUserId(long lastPostByUserId) {
108         _mbThread.setLastPostByUserId(lastPostByUserId);
109     }
110 
111     public java.lang.String getLastPostByUserUuid()
112         throws com.liferay.portal.SystemException {
113         return _mbThread.getLastPostByUserUuid();
114     }
115 
116     public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
117         _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
118     }
119 
120     public java.util.Date getLastPostDate() {
121         return _mbThread.getLastPostDate();
122     }
123 
124     public void setLastPostDate(java.util.Date lastPostDate) {
125         _mbThread.setLastPostDate(lastPostDate);
126     }
127 
128     public double getPriority() {
129         return _mbThread.getPriority();
130     }
131 
132     public void setPriority(double priority) {
133         _mbThread.setPriority(priority);
134     }
135 
136     public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
137         return _mbThread.toEscapedModel();
138     }
139 
140     public boolean isNew() {
141         return _mbThread.isNew();
142     }
143 
144     public boolean setNew(boolean n) {
145         return _mbThread.setNew(n);
146     }
147 
148     public boolean isCachedModel() {
149         return _mbThread.isCachedModel();
150     }
151 
152     public void setCachedModel(boolean cachedModel) {
153         _mbThread.setCachedModel(cachedModel);
154     }
155 
156     public boolean isEscapedModel() {
157         return _mbThread.isEscapedModel();
158     }
159 
160     public void setEscapedModel(boolean escapedModel) {
161         _mbThread.setEscapedModel(escapedModel);
162     }
163 
164     public java.io.Serializable getPrimaryKeyObj() {
165         return _mbThread.getPrimaryKeyObj();
166     }
167 
168     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
169         return _mbThread.getExpandoBridge();
170     }
171 
172     public void setExpandoBridgeAttributes(
173         com.liferay.portal.service.ServiceContext serviceContext) {
174         _mbThread.setExpandoBridgeAttributes(serviceContext);
175     }
176 
177     public java.lang.Object clone() {
178         return _mbThread.clone();
179     }
180 
181     public int compareTo(
182         com.liferay.portlet.messageboards.model.MBThread mbThread) {
183         return _mbThread.compareTo(mbThread);
184     }
185 
186     public int hashCode() {
187         return _mbThread.hashCode();
188     }
189 
190     public java.lang.String toString() {
191         return _mbThread.toString();
192     }
193 
194     public java.lang.String toXmlString() {
195         return _mbThread.toXmlString();
196     }
197 
198     public java.lang.String getAttachmentsDir() {
199         return _mbThread.getAttachmentsDir();
200     }
201 
202     public com.liferay.portal.model.Lock getLock() {
203         return _mbThread.getLock();
204     }
205 
206     public boolean hasLock(long userId) {
207         return _mbThread.hasLock(userId);
208     }
209 
210     public boolean isLocked() {
211         return _mbThread.isLocked();
212     }
213 
214     public MBThread getWrappedMBThread() {
215         return _mbThread;
216     }
217 
218     private MBThread _mbThread;
219 }