001
014
015 package com.liferay.portlet.messageboards.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class MBCategoryWrapper implements MBCategory, ModelWrapper<MBCategory> {
029 public MBCategoryWrapper(MBCategory mbCategory) {
030 _mbCategory = mbCategory;
031 }
032
033 public Class<?> getModelClass() {
034 return MBCategory.class;
035 }
036
037 public String getModelClassName() {
038 return MBCategory.class.getName();
039 }
040
041
046 public long getPrimaryKey() {
047 return _mbCategory.getPrimaryKey();
048 }
049
050
055 public void setPrimaryKey(long primaryKey) {
056 _mbCategory.setPrimaryKey(primaryKey);
057 }
058
059
064 public java.lang.String getUuid() {
065 return _mbCategory.getUuid();
066 }
067
068
073 public void setUuid(java.lang.String uuid) {
074 _mbCategory.setUuid(uuid);
075 }
076
077
082 public long getCategoryId() {
083 return _mbCategory.getCategoryId();
084 }
085
086
091 public void setCategoryId(long categoryId) {
092 _mbCategory.setCategoryId(categoryId);
093 }
094
095
100 public long getGroupId() {
101 return _mbCategory.getGroupId();
102 }
103
104
109 public void setGroupId(long groupId) {
110 _mbCategory.setGroupId(groupId);
111 }
112
113
118 public long getCompanyId() {
119 return _mbCategory.getCompanyId();
120 }
121
122
127 public void setCompanyId(long companyId) {
128 _mbCategory.setCompanyId(companyId);
129 }
130
131
136 public long getUserId() {
137 return _mbCategory.getUserId();
138 }
139
140
145 public void setUserId(long userId) {
146 _mbCategory.setUserId(userId);
147 }
148
149
155 public java.lang.String getUserUuid()
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _mbCategory.getUserUuid();
158 }
159
160
165 public void setUserUuid(java.lang.String userUuid) {
166 _mbCategory.setUserUuid(userUuid);
167 }
168
169
174 public java.lang.String getUserName() {
175 return _mbCategory.getUserName();
176 }
177
178
183 public void setUserName(java.lang.String userName) {
184 _mbCategory.setUserName(userName);
185 }
186
187
192 public java.util.Date getCreateDate() {
193 return _mbCategory.getCreateDate();
194 }
195
196
201 public void setCreateDate(java.util.Date createDate) {
202 _mbCategory.setCreateDate(createDate);
203 }
204
205
210 public java.util.Date getModifiedDate() {
211 return _mbCategory.getModifiedDate();
212 }
213
214
219 public void setModifiedDate(java.util.Date modifiedDate) {
220 _mbCategory.setModifiedDate(modifiedDate);
221 }
222
223
228 public long getParentCategoryId() {
229 return _mbCategory.getParentCategoryId();
230 }
231
232
237 public void setParentCategoryId(long parentCategoryId) {
238 _mbCategory.setParentCategoryId(parentCategoryId);
239 }
240
241
246 public java.lang.String getName() {
247 return _mbCategory.getName();
248 }
249
250
255 public void setName(java.lang.String name) {
256 _mbCategory.setName(name);
257 }
258
259
264 public java.lang.String getDescription() {
265 return _mbCategory.getDescription();
266 }
267
268
273 public void setDescription(java.lang.String description) {
274 _mbCategory.setDescription(description);
275 }
276
277
282 public java.lang.String getDisplayStyle() {
283 return _mbCategory.getDisplayStyle();
284 }
285
286
291 public void setDisplayStyle(java.lang.String displayStyle) {
292 _mbCategory.setDisplayStyle(displayStyle);
293 }
294
295
300 public int getThreadCount() {
301 return _mbCategory.getThreadCount();
302 }
303
304
309 public void setThreadCount(int threadCount) {
310 _mbCategory.setThreadCount(threadCount);
311 }
312
313
318 public int getMessageCount() {
319 return _mbCategory.getMessageCount();
320 }
321
322
327 public void setMessageCount(int messageCount) {
328 _mbCategory.setMessageCount(messageCount);
329 }
330
331
336 public java.util.Date getLastPostDate() {
337 return _mbCategory.getLastPostDate();
338 }
339
340
345 public void setLastPostDate(java.util.Date lastPostDate) {
346 _mbCategory.setLastPostDate(lastPostDate);
347 }
348
349 public boolean isNew() {
350 return _mbCategory.isNew();
351 }
352
353 public void setNew(boolean n) {
354 _mbCategory.setNew(n);
355 }
356
357 public boolean isCachedModel() {
358 return _mbCategory.isCachedModel();
359 }
360
361 public void setCachedModel(boolean cachedModel) {
362 _mbCategory.setCachedModel(cachedModel);
363 }
364
365 public boolean isEscapedModel() {
366 return _mbCategory.isEscapedModel();
367 }
368
369 public java.io.Serializable getPrimaryKeyObj() {
370 return _mbCategory.getPrimaryKeyObj();
371 }
372
373 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
374 _mbCategory.setPrimaryKeyObj(primaryKeyObj);
375 }
376
377 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
378 return _mbCategory.getExpandoBridge();
379 }
380
381 public void setExpandoBridgeAttributes(
382 com.liferay.portal.service.ServiceContext serviceContext) {
383 _mbCategory.setExpandoBridgeAttributes(serviceContext);
384 }
385
386 @Override
387 public java.lang.Object clone() {
388 return new MBCategoryWrapper((MBCategory)_mbCategory.clone());
389 }
390
391 public int compareTo(
392 com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
393 return _mbCategory.compareTo(mbCategory);
394 }
395
396 @Override
397 public int hashCode() {
398 return _mbCategory.hashCode();
399 }
400
401 public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBCategory> toCacheModel() {
402 return _mbCategory.toCacheModel();
403 }
404
405 public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
406 return new MBCategoryWrapper(_mbCategory.toEscapedModel());
407 }
408
409 @Override
410 public java.lang.String toString() {
411 return _mbCategory.toString();
412 }
413
414 public java.lang.String toXmlString() {
415 return _mbCategory.toXmlString();
416 }
417
418 public void persist()
419 throws com.liferay.portal.kernel.exception.SystemException {
420 _mbCategory.persist();
421 }
422
423 public java.util.List<java.lang.Long> getAncestorCategoryIds()
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException {
426 return _mbCategory.getAncestorCategoryIds();
427 }
428
429 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
430 throws com.liferay.portal.kernel.exception.PortalException,
431 com.liferay.portal.kernel.exception.SystemException {
432 return _mbCategory.getAncestors();
433 }
434
435 public boolean isRoot() {
436 return _mbCategory.isRoot();
437 }
438
439
442 public MBCategory getWrappedMBCategory() {
443 return _mbCategory;
444 }
445
446 public MBCategory getWrappedModel() {
447 return _mbCategory;
448 }
449
450 public void resetOriginalValues() {
451 _mbCategory.resetOriginalValues();
452 }
453
454 private MBCategory _mbCategory;
455 }