1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  /**
18   * <a href="MBThreadSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link MBThread}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBThread
31   * @generated
32   */
33  public class MBThreadWrapper implements MBThread {
34      public MBThreadWrapper(MBThread mbThread) {
35          _mbThread = mbThread;
36      }
37  
38      public long getPrimaryKey() {
39          return _mbThread.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _mbThread.setPrimaryKey(pk);
44      }
45  
46      public long getThreadId() {
47          return _mbThread.getThreadId();
48      }
49  
50      public void setThreadId(long threadId) {
51          _mbThread.setThreadId(threadId);
52      }
53  
54      public long getGroupId() {
55          return _mbThread.getGroupId();
56      }
57  
58      public void setGroupId(long groupId) {
59          _mbThread.setGroupId(groupId);
60      }
61  
62      public long getCategoryId() {
63          return _mbThread.getCategoryId();
64      }
65  
66      public void setCategoryId(long categoryId) {
67          _mbThread.setCategoryId(categoryId);
68      }
69  
70      public long getRootMessageId() {
71          return _mbThread.getRootMessageId();
72      }
73  
74      public void setRootMessageId(long rootMessageId) {
75          _mbThread.setRootMessageId(rootMessageId);
76      }
77  
78      public int getMessageCount() {
79          return _mbThread.getMessageCount();
80      }
81  
82      public void setMessageCount(int messageCount) {
83          _mbThread.setMessageCount(messageCount);
84      }
85  
86      public int getViewCount() {
87          return _mbThread.getViewCount();
88      }
89  
90      public void setViewCount(int viewCount) {
91          _mbThread.setViewCount(viewCount);
92      }
93  
94      public long getLastPostByUserId() {
95          return _mbThread.getLastPostByUserId();
96      }
97  
98      public void setLastPostByUserId(long lastPostByUserId) {
99          _mbThread.setLastPostByUserId(lastPostByUserId);
100     }
101 
102     public java.lang.String getLastPostByUserUuid()
103         throws com.liferay.portal.SystemException {
104         return _mbThread.getLastPostByUserUuid();
105     }
106 
107     public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
108         _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
109     }
110 
111     public java.util.Date getLastPostDate() {
112         return _mbThread.getLastPostDate();
113     }
114 
115     public void setLastPostDate(java.util.Date lastPostDate) {
116         _mbThread.setLastPostDate(lastPostDate);
117     }
118 
119     public double getPriority() {
120         return _mbThread.getPriority();
121     }
122 
123     public void setPriority(double priority) {
124         _mbThread.setPriority(priority);
125     }
126 
127     public boolean isNew() {
128         return _mbThread.isNew();
129     }
130 
131     public boolean setNew(boolean n) {
132         return _mbThread.setNew(n);
133     }
134 
135     public boolean isCachedModel() {
136         return _mbThread.isCachedModel();
137     }
138 
139     public void setCachedModel(boolean cachedModel) {
140         _mbThread.setCachedModel(cachedModel);
141     }
142 
143     public boolean isEscapedModel() {
144         return _mbThread.isEscapedModel();
145     }
146 
147     public void setEscapedModel(boolean escapedModel) {
148         _mbThread.setEscapedModel(escapedModel);
149     }
150 
151     public java.io.Serializable getPrimaryKeyObj() {
152         return _mbThread.getPrimaryKeyObj();
153     }
154 
155     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
156         return _mbThread.getExpandoBridge();
157     }
158 
159     public void setExpandoBridgeAttributes(
160         com.liferay.portal.service.ServiceContext serviceContext) {
161         _mbThread.setExpandoBridgeAttributes(serviceContext);
162     }
163 
164     public java.lang.Object clone() {
165         return _mbThread.clone();
166     }
167 
168     public int compareTo(
169         com.liferay.portlet.messageboards.model.MBThread mbThread) {
170         return _mbThread.compareTo(mbThread);
171     }
172 
173     public int hashCode() {
174         return _mbThread.hashCode();
175     }
176 
177     public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
178         return _mbThread.toEscapedModel();
179     }
180 
181     public java.lang.String toString() {
182         return _mbThread.toString();
183     }
184 
185     public java.lang.String toXmlString() {
186         return _mbThread.toXmlString();
187     }
188 
189     public java.lang.String getAttachmentsDir() {
190         return _mbThread.getAttachmentsDir();
191     }
192 
193     public com.liferay.portal.model.Lock getLock() {
194         return _mbThread.getLock();
195     }
196 
197     public boolean hasLock(long userId) {
198         return _mbThread.hasLock(userId);
199     }
200 
201     public boolean isLocked() {
202         return _mbThread.isLocked();
203     }
204 
205     public MBThread getWrappedMBThread() {
206         return _mbThread;
207     }
208 
209     private MBThread _mbThread;
210 }