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="MBCategorySoap.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 MBCategory}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBCategory
31   * @generated
32   */
33  public class MBCategoryWrapper implements MBCategory {
34      public MBCategoryWrapper(MBCategory mbCategory) {
35          _mbCategory = mbCategory;
36      }
37  
38      public long getPrimaryKey() {
39          return _mbCategory.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _mbCategory.setPrimaryKey(pk);
44      }
45  
46      public java.lang.String getUuid() {
47          return _mbCategory.getUuid();
48      }
49  
50      public void setUuid(java.lang.String uuid) {
51          _mbCategory.setUuid(uuid);
52      }
53  
54      public long getCategoryId() {
55          return _mbCategory.getCategoryId();
56      }
57  
58      public void setCategoryId(long categoryId) {
59          _mbCategory.setCategoryId(categoryId);
60      }
61  
62      public long getGroupId() {
63          return _mbCategory.getGroupId();
64      }
65  
66      public void setGroupId(long groupId) {
67          _mbCategory.setGroupId(groupId);
68      }
69  
70      public long getCompanyId() {
71          return _mbCategory.getCompanyId();
72      }
73  
74      public void setCompanyId(long companyId) {
75          _mbCategory.setCompanyId(companyId);
76      }
77  
78      public long getUserId() {
79          return _mbCategory.getUserId();
80      }
81  
82      public void setUserId(long userId) {
83          _mbCategory.setUserId(userId);
84      }
85  
86      public java.lang.String getUserUuid()
87          throws com.liferay.portal.SystemException {
88          return _mbCategory.getUserUuid();
89      }
90  
91      public void setUserUuid(java.lang.String userUuid) {
92          _mbCategory.setUserUuid(userUuid);
93      }
94  
95      public java.lang.String getUserName() {
96          return _mbCategory.getUserName();
97      }
98  
99      public void setUserName(java.lang.String userName) {
100         _mbCategory.setUserName(userName);
101     }
102 
103     public java.util.Date getCreateDate() {
104         return _mbCategory.getCreateDate();
105     }
106 
107     public void setCreateDate(java.util.Date createDate) {
108         _mbCategory.setCreateDate(createDate);
109     }
110 
111     public java.util.Date getModifiedDate() {
112         return _mbCategory.getModifiedDate();
113     }
114 
115     public void setModifiedDate(java.util.Date modifiedDate) {
116         _mbCategory.setModifiedDate(modifiedDate);
117     }
118 
119     public long getParentCategoryId() {
120         return _mbCategory.getParentCategoryId();
121     }
122 
123     public void setParentCategoryId(long parentCategoryId) {
124         _mbCategory.setParentCategoryId(parentCategoryId);
125     }
126 
127     public java.lang.String getName() {
128         return _mbCategory.getName();
129     }
130 
131     public void setName(java.lang.String name) {
132         _mbCategory.setName(name);
133     }
134 
135     public java.lang.String getDescription() {
136         return _mbCategory.getDescription();
137     }
138 
139     public void setDescription(java.lang.String description) {
140         _mbCategory.setDescription(description);
141     }
142 
143     public int getThreadCount() {
144         return _mbCategory.getThreadCount();
145     }
146 
147     public void setThreadCount(int threadCount) {
148         _mbCategory.setThreadCount(threadCount);
149     }
150 
151     public int getMessageCount() {
152         return _mbCategory.getMessageCount();
153     }
154 
155     public void setMessageCount(int messageCount) {
156         _mbCategory.setMessageCount(messageCount);
157     }
158 
159     public java.util.Date getLastPostDate() {
160         return _mbCategory.getLastPostDate();
161     }
162 
163     public void setLastPostDate(java.util.Date lastPostDate) {
164         _mbCategory.setLastPostDate(lastPostDate);
165     }
166 
167     public boolean isNew() {
168         return _mbCategory.isNew();
169     }
170 
171     public boolean setNew(boolean n) {
172         return _mbCategory.setNew(n);
173     }
174 
175     public boolean isCachedModel() {
176         return _mbCategory.isCachedModel();
177     }
178 
179     public void setCachedModel(boolean cachedModel) {
180         _mbCategory.setCachedModel(cachedModel);
181     }
182 
183     public boolean isEscapedModel() {
184         return _mbCategory.isEscapedModel();
185     }
186 
187     public void setEscapedModel(boolean escapedModel) {
188         _mbCategory.setEscapedModel(escapedModel);
189     }
190 
191     public java.io.Serializable getPrimaryKeyObj() {
192         return _mbCategory.getPrimaryKeyObj();
193     }
194 
195     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
196         return _mbCategory.getExpandoBridge();
197     }
198 
199     public void setExpandoBridgeAttributes(
200         com.liferay.portal.service.ServiceContext serviceContext) {
201         _mbCategory.setExpandoBridgeAttributes(serviceContext);
202     }
203 
204     public java.lang.Object clone() {
205         return _mbCategory.clone();
206     }
207 
208     public int compareTo(
209         com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
210         return _mbCategory.compareTo(mbCategory);
211     }
212 
213     public int hashCode() {
214         return _mbCategory.hashCode();
215     }
216 
217     public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
218         return _mbCategory.toEscapedModel();
219     }
220 
221     public java.lang.String toString() {
222         return _mbCategory.toString();
223     }
224 
225     public java.lang.String toXmlString() {
226         return _mbCategory.toXmlString();
227     }
228 
229     public java.util.List<java.lang.Long> getAncestorCategoryIds()
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException {
232         return _mbCategory.getAncestorCategoryIds();
233     }
234 
235     public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
236         throws com.liferay.portal.PortalException,
237             com.liferay.portal.SystemException {
238         return _mbCategory.getAncestors();
239     }
240 
241     public boolean isDiscussion() {
242         return _mbCategory.isDiscussion();
243     }
244 
245     public boolean isRoot() {
246         return _mbCategory.isRoot();
247     }
248 
249     public MBCategory getWrappedMBCategory() {
250         return _mbCategory;
251     }
252 
253     private MBCategory _mbCategory;
254 }