001
014
015 package com.liferay.portlet.polls.model;
016
017
026 public class PollsQuestionWrapper implements PollsQuestion {
027 public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
028 _pollsQuestion = pollsQuestion;
029 }
030
031 public Class<?> getModelClass() {
032 return PollsQuestion.class;
033 }
034
035 public String getModelClassName() {
036 return PollsQuestion.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _pollsQuestion.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _pollsQuestion.setPrimaryKey(primaryKey);
055 }
056
057
062 public java.lang.String getUuid() {
063 return _pollsQuestion.getUuid();
064 }
065
066
071 public void setUuid(java.lang.String uuid) {
072 _pollsQuestion.setUuid(uuid);
073 }
074
075
080 public long getQuestionId() {
081 return _pollsQuestion.getQuestionId();
082 }
083
084
089 public void setQuestionId(long questionId) {
090 _pollsQuestion.setQuestionId(questionId);
091 }
092
093
098 public long getGroupId() {
099 return _pollsQuestion.getGroupId();
100 }
101
102
107 public void setGroupId(long groupId) {
108 _pollsQuestion.setGroupId(groupId);
109 }
110
111
116 public long getCompanyId() {
117 return _pollsQuestion.getCompanyId();
118 }
119
120
125 public void setCompanyId(long companyId) {
126 _pollsQuestion.setCompanyId(companyId);
127 }
128
129
134 public long getUserId() {
135 return _pollsQuestion.getUserId();
136 }
137
138
143 public void setUserId(long userId) {
144 _pollsQuestion.setUserId(userId);
145 }
146
147
153 public java.lang.String getUserUuid()
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _pollsQuestion.getUserUuid();
156 }
157
158
163 public void setUserUuid(java.lang.String userUuid) {
164 _pollsQuestion.setUserUuid(userUuid);
165 }
166
167
172 public java.lang.String getUserName() {
173 return _pollsQuestion.getUserName();
174 }
175
176
181 public void setUserName(java.lang.String userName) {
182 _pollsQuestion.setUserName(userName);
183 }
184
185
190 public java.util.Date getCreateDate() {
191 return _pollsQuestion.getCreateDate();
192 }
193
194
199 public void setCreateDate(java.util.Date createDate) {
200 _pollsQuestion.setCreateDate(createDate);
201 }
202
203
208 public java.util.Date getModifiedDate() {
209 return _pollsQuestion.getModifiedDate();
210 }
211
212
217 public void setModifiedDate(java.util.Date modifiedDate) {
218 _pollsQuestion.setModifiedDate(modifiedDate);
219 }
220
221
226 public java.lang.String getTitle() {
227 return _pollsQuestion.getTitle();
228 }
229
230
236 public java.lang.String getTitle(java.util.Locale locale) {
237 return _pollsQuestion.getTitle(locale);
238 }
239
240
247 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
248 return _pollsQuestion.getTitle(locale, useDefault);
249 }
250
251
257 public java.lang.String getTitle(java.lang.String languageId) {
258 return _pollsQuestion.getTitle(languageId);
259 }
260
261
268 public java.lang.String getTitle(java.lang.String languageId,
269 boolean useDefault) {
270 return _pollsQuestion.getTitle(languageId, useDefault);
271 }
272
273
278 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
279 return _pollsQuestion.getTitleMap();
280 }
281
282
287 public void setTitle(java.lang.String title) {
288 _pollsQuestion.setTitle(title);
289 }
290
291
297 public void setTitle(java.util.Locale locale, java.lang.String title) {
298 _pollsQuestion.setTitle(locale, title);
299 }
300
301
306 public void setTitleMap(
307 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
308 _pollsQuestion.setTitleMap(titleMap);
309 }
310
311
316 public java.lang.String getDescription() {
317 return _pollsQuestion.getDescription();
318 }
319
320
326 public java.lang.String getDescription(java.util.Locale locale) {
327 return _pollsQuestion.getDescription(locale);
328 }
329
330
337 public java.lang.String getDescription(java.util.Locale locale,
338 boolean useDefault) {
339 return _pollsQuestion.getDescription(locale, useDefault);
340 }
341
342
348 public java.lang.String getDescription(java.lang.String languageId) {
349 return _pollsQuestion.getDescription(languageId);
350 }
351
352
359 public java.lang.String getDescription(java.lang.String languageId,
360 boolean useDefault) {
361 return _pollsQuestion.getDescription(languageId, useDefault);
362 }
363
364
369 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
370 return _pollsQuestion.getDescriptionMap();
371 }
372
373
378 public void setDescription(java.lang.String description) {
379 _pollsQuestion.setDescription(description);
380 }
381
382
388 public void setDescription(java.util.Locale locale,
389 java.lang.String description) {
390 _pollsQuestion.setDescription(locale, description);
391 }
392
393
398 public void setDescriptionMap(
399 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
400 _pollsQuestion.setDescriptionMap(descriptionMap);
401 }
402
403
408 public java.util.Date getExpirationDate() {
409 return _pollsQuestion.getExpirationDate();
410 }
411
412
417 public void setExpirationDate(java.util.Date expirationDate) {
418 _pollsQuestion.setExpirationDate(expirationDate);
419 }
420
421
426 public java.util.Date getLastVoteDate() {
427 return _pollsQuestion.getLastVoteDate();
428 }
429
430
435 public void setLastVoteDate(java.util.Date lastVoteDate) {
436 _pollsQuestion.setLastVoteDate(lastVoteDate);
437 }
438
439 public boolean isNew() {
440 return _pollsQuestion.isNew();
441 }
442
443 public void setNew(boolean n) {
444 _pollsQuestion.setNew(n);
445 }
446
447 public boolean isCachedModel() {
448 return _pollsQuestion.isCachedModel();
449 }
450
451 public void setCachedModel(boolean cachedModel) {
452 _pollsQuestion.setCachedModel(cachedModel);
453 }
454
455 public boolean isEscapedModel() {
456 return _pollsQuestion.isEscapedModel();
457 }
458
459 public void setEscapedModel(boolean escapedModel) {
460 _pollsQuestion.setEscapedModel(escapedModel);
461 }
462
463 public java.io.Serializable getPrimaryKeyObj() {
464 return _pollsQuestion.getPrimaryKeyObj();
465 }
466
467 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
468 _pollsQuestion.setPrimaryKeyObj(primaryKeyObj);
469 }
470
471 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
472 return _pollsQuestion.getExpandoBridge();
473 }
474
475 public void setExpandoBridgeAttributes(
476 com.liferay.portal.service.ServiceContext serviceContext) {
477 _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
478 }
479
480 @Override
481 public java.lang.Object clone() {
482 return new PollsQuestionWrapper((PollsQuestion)_pollsQuestion.clone());
483 }
484
485 public int compareTo(
486 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
487 return _pollsQuestion.compareTo(pollsQuestion);
488 }
489
490 @Override
491 public int hashCode() {
492 return _pollsQuestion.hashCode();
493 }
494
495 public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> toCacheModel() {
496 return _pollsQuestion.toCacheModel();
497 }
498
499 public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
500 return new PollsQuestionWrapper(_pollsQuestion.toEscapedModel());
501 }
502
503 @Override
504 public java.lang.String toString() {
505 return _pollsQuestion.toString();
506 }
507
508 public java.lang.String toXmlString() {
509 return _pollsQuestion.toXmlString();
510 }
511
512 public void persist()
513 throws com.liferay.portal.kernel.exception.SystemException {
514 _pollsQuestion.persist();
515 }
516
517 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
518 throws com.liferay.portal.kernel.exception.SystemException {
519 return _pollsQuestion.getChoices();
520 }
521
522 public int getVotesCount()
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _pollsQuestion.getVotesCount();
525 }
526
527 public boolean isExpired() {
528 return _pollsQuestion.isExpired();
529 }
530
531 public boolean isExpired(
532 com.liferay.portal.service.ServiceContext serviceContext,
533 java.util.Date defaultCreateDate) {
534 return _pollsQuestion.isExpired(serviceContext, defaultCreateDate);
535 }
536
537 public PollsQuestion getWrappedPollsQuestion() {
538 return _pollsQuestion;
539 }
540
541 public void resetOriginalValues() {
542 _pollsQuestion.resetOriginalValues();
543 }
544
545 private PollsQuestion _pollsQuestion;
546 }