1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  
18  /**
19   * <a href="MBThreadSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link MBThread}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBThread
32   * @generated
33   */
34  public class MBThreadWrapper implements MBThread {
35      public MBThreadWrapper(MBThread mbThread) {
36          _mbThread = mbThread;
37      }
38  
39      public long getPrimaryKey() {
40          return _mbThread.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _mbThread.setPrimaryKey(pk);
45      }
46  
47      public long getThreadId() {
48          return _mbThread.getThreadId();
49      }
50  
51      public void setThreadId(long threadId) {
52          _mbThread.setThreadId(threadId);
53      }
54  
55      public long getGroupId() {
56          return _mbThread.getGroupId();
57      }
58  
59      public void setGroupId(long groupId) {
60          _mbThread.setGroupId(groupId);
61      }
62  
63      public long getCategoryId() {
64          return _mbThread.getCategoryId();
65      }
66  
67      public void setCategoryId(long categoryId) {
68          _mbThread.setCategoryId(categoryId);
69      }
70  
71      public long getRootMessageId() {
72          return _mbThread.getRootMessageId();
73      }
74  
75      public void setRootMessageId(long rootMessageId) {
76          _mbThread.setRootMessageId(rootMessageId);
77      }
78  
79      public int getMessageCount() {
80          return _mbThread.getMessageCount();
81      }
82  
83      public void setMessageCount(int messageCount) {
84          _mbThread.setMessageCount(messageCount);
85      }
86  
87      public int getViewCount() {
88          return _mbThread.getViewCount();
89      }
90  
91      public void setViewCount(int viewCount) {
92          _mbThread.setViewCount(viewCount);
93      }
94  
95      public long getLastPostByUserId() {
96          return _mbThread.getLastPostByUserId();
97      }
98  
99      public void setLastPostByUserId(long lastPostByUserId) {
100         _mbThread.setLastPostByUserId(lastPostByUserId);
101     }
102 
103     public java.lang.String getLastPostByUserUuid()
104         throws com.liferay.portal.SystemException {
105         return _mbThread.getLastPostByUserUuid();
106     }
107 
108     public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
109         _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
110     }
111 
112     public java.util.Date getLastPostDate() {
113         return _mbThread.getLastPostDate();
114     }
115 
116     public void setLastPostDate(java.util.Date lastPostDate) {
117         _mbThread.setLastPostDate(lastPostDate);
118     }
119 
120     public double getPriority() {
121         return _mbThread.getPriority();
122     }
123 
124     public void setPriority(double priority) {
125         _mbThread.setPriority(priority);
126     }
127 
128     public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
129         return _mbThread.toEscapedModel();
130     }
131 
132     public boolean isNew() {
133         return _mbThread.isNew();
134     }
135 
136     public boolean setNew(boolean n) {
137         return _mbThread.setNew(n);
138     }
139 
140     public boolean isCachedModel() {
141         return _mbThread.isCachedModel();
142     }
143 
144     public void setCachedModel(boolean cachedModel) {
145         _mbThread.setCachedModel(cachedModel);
146     }
147 
148     public boolean isEscapedModel() {
149         return _mbThread.isEscapedModel();
150     }
151 
152     public void setEscapedModel(boolean escapedModel) {
153         _mbThread.setEscapedModel(escapedModel);
154     }
155 
156     public java.io.Serializable getPrimaryKeyObj() {
157         return _mbThread.getPrimaryKeyObj();
158     }
159 
160     public java.lang.Object clone() {
161         return _mbThread.clone();
162     }
163 
164     public int compareTo(
165         com.liferay.portlet.messageboards.model.MBThread mbThread) {
166         return _mbThread.compareTo(mbThread);
167     }
168 
169     public int hashCode() {
170         return _mbThread.hashCode();
171     }
172 
173     public java.lang.String toString() {
174         return _mbThread.toString();
175     }
176 
177     public java.lang.String toXmlString() {
178         return _mbThread.toXmlString();
179     }
180 
181     public java.lang.String getAttachmentsDir() {
182         return _mbThread.getAttachmentsDir();
183     }
184 
185     public MBThread getWrappedMBThread() {
186         return _mbThread;
187     }
188 
189     private MBThread _mbThread;
190 }