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 public java.lang.String getTitleCurrentLanguageId() {
274 return _pollsQuestion.getTitleCurrentLanguageId();
275 }
276
277 public java.lang.String getTitleCurrentValue() {
278 return _pollsQuestion.getTitleCurrentValue();
279 }
280
281
286 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
287 return _pollsQuestion.getTitleMap();
288 }
289
290
295 public void setTitle(java.lang.String title) {
296 _pollsQuestion.setTitle(title);
297 }
298
299
305 public void setTitle(java.lang.String title, java.util.Locale locale) {
306 _pollsQuestion.setTitle(title, locale);
307 }
308
309
316 public void setTitle(java.lang.String title, java.util.Locale locale,
317 java.util.Locale defaultLocale) {
318 _pollsQuestion.setTitle(title, locale, defaultLocale);
319 }
320
321 public void setTitleCurrentLanguageId(java.lang.String languageId) {
322 _pollsQuestion.setTitleCurrentLanguageId(languageId);
323 }
324
325
330 public void setTitleMap(
331 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
332 _pollsQuestion.setTitleMap(titleMap);
333 }
334
335
341 public void setTitleMap(
342 java.util.Map<java.util.Locale, java.lang.String> titleMap,
343 java.util.Locale defaultLocale) {
344 _pollsQuestion.setTitleMap(titleMap, defaultLocale);
345 }
346
347
352 public java.lang.String getDescription() {
353 return _pollsQuestion.getDescription();
354 }
355
356
362 public java.lang.String getDescription(java.util.Locale locale) {
363 return _pollsQuestion.getDescription(locale);
364 }
365
366
373 public java.lang.String getDescription(java.util.Locale locale,
374 boolean useDefault) {
375 return _pollsQuestion.getDescription(locale, useDefault);
376 }
377
378
384 public java.lang.String getDescription(java.lang.String languageId) {
385 return _pollsQuestion.getDescription(languageId);
386 }
387
388
395 public java.lang.String getDescription(java.lang.String languageId,
396 boolean useDefault) {
397 return _pollsQuestion.getDescription(languageId, useDefault);
398 }
399
400 public java.lang.String getDescriptionCurrentLanguageId() {
401 return _pollsQuestion.getDescriptionCurrentLanguageId();
402 }
403
404 public java.lang.String getDescriptionCurrentValue() {
405 return _pollsQuestion.getDescriptionCurrentValue();
406 }
407
408
413 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
414 return _pollsQuestion.getDescriptionMap();
415 }
416
417
422 public void setDescription(java.lang.String description) {
423 _pollsQuestion.setDescription(description);
424 }
425
426
432 public void setDescription(java.lang.String description,
433 java.util.Locale locale) {
434 _pollsQuestion.setDescription(description, locale);
435 }
436
437
444 public void setDescription(java.lang.String description,
445 java.util.Locale locale, java.util.Locale defaultLocale) {
446 _pollsQuestion.setDescription(description, locale, defaultLocale);
447 }
448
449 public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
450 _pollsQuestion.setDescriptionCurrentLanguageId(languageId);
451 }
452
453
458 public void setDescriptionMap(
459 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
460 _pollsQuestion.setDescriptionMap(descriptionMap);
461 }
462
463
469 public void setDescriptionMap(
470 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
471 java.util.Locale defaultLocale) {
472 _pollsQuestion.setDescriptionMap(descriptionMap, defaultLocale);
473 }
474
475
480 public java.util.Date getExpirationDate() {
481 return _pollsQuestion.getExpirationDate();
482 }
483
484
489 public void setExpirationDate(java.util.Date expirationDate) {
490 _pollsQuestion.setExpirationDate(expirationDate);
491 }
492
493
498 public java.util.Date getLastVoteDate() {
499 return _pollsQuestion.getLastVoteDate();
500 }
501
502
507 public void setLastVoteDate(java.util.Date lastVoteDate) {
508 _pollsQuestion.setLastVoteDate(lastVoteDate);
509 }
510
511 public boolean isNew() {
512 return _pollsQuestion.isNew();
513 }
514
515 public void setNew(boolean n) {
516 _pollsQuestion.setNew(n);
517 }
518
519 public boolean isCachedModel() {
520 return _pollsQuestion.isCachedModel();
521 }
522
523 public void setCachedModel(boolean cachedModel) {
524 _pollsQuestion.setCachedModel(cachedModel);
525 }
526
527 public boolean isEscapedModel() {
528 return _pollsQuestion.isEscapedModel();
529 }
530
531 public java.io.Serializable getPrimaryKeyObj() {
532 return _pollsQuestion.getPrimaryKeyObj();
533 }
534
535 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
536 _pollsQuestion.setPrimaryKeyObj(primaryKeyObj);
537 }
538
539 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
540 return _pollsQuestion.getExpandoBridge();
541 }
542
543 public void setExpandoBridgeAttributes(
544 com.liferay.portal.service.ServiceContext serviceContext) {
545 _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
546 }
547
548 @Override
549 public java.lang.Object clone() {
550 return new PollsQuestionWrapper((PollsQuestion)_pollsQuestion.clone());
551 }
552
553 public int compareTo(
554 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
555 return _pollsQuestion.compareTo(pollsQuestion);
556 }
557
558 @Override
559 public int hashCode() {
560 return _pollsQuestion.hashCode();
561 }
562
563 public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> toCacheModel() {
564 return _pollsQuestion.toCacheModel();
565 }
566
567 public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
568 return new PollsQuestionWrapper(_pollsQuestion.toEscapedModel());
569 }
570
571 @Override
572 public java.lang.String toString() {
573 return _pollsQuestion.toString();
574 }
575
576 public java.lang.String toXmlString() {
577 return _pollsQuestion.toXmlString();
578 }
579
580 public void persist()
581 throws com.liferay.portal.kernel.exception.SystemException {
582 _pollsQuestion.persist();
583 }
584
585 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
586 throws com.liferay.portal.kernel.exception.SystemException {
587 return _pollsQuestion.getChoices();
588 }
589
590 public int getVotesCount()
591 throws com.liferay.portal.kernel.exception.SystemException {
592 return _pollsQuestion.getVotesCount();
593 }
594
595 public boolean isExpired() {
596 return _pollsQuestion.isExpired();
597 }
598
599 public boolean isExpired(
600 com.liferay.portal.service.ServiceContext serviceContext,
601 java.util.Date defaultCreateDate) {
602 return _pollsQuestion.isExpired(serviceContext, defaultCreateDate);
603 }
604
605 public PollsQuestion getWrappedPollsQuestion() {
606 return _pollsQuestion;
607 }
608
609 public void resetOriginalValues() {
610 _pollsQuestion.resetOriginalValues();
611 }
612
613 private PollsQuestion _pollsQuestion;
614 }