001
014
015 package com.liferay.portlet.polls.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class PollsQuestionWrapper implements PollsQuestion,
029 ModelWrapper<PollsQuestion> {
030 public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
031 _pollsQuestion = pollsQuestion;
032 }
033
034 public Class<?> getModelClass() {
035 return PollsQuestion.class;
036 }
037
038 public String getModelClassName() {
039 return PollsQuestion.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _pollsQuestion.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _pollsQuestion.setPrimaryKey(primaryKey);
058 }
059
060
065 public java.lang.String getUuid() {
066 return _pollsQuestion.getUuid();
067 }
068
069
074 public void setUuid(java.lang.String uuid) {
075 _pollsQuestion.setUuid(uuid);
076 }
077
078
083 public long getQuestionId() {
084 return _pollsQuestion.getQuestionId();
085 }
086
087
092 public void setQuestionId(long questionId) {
093 _pollsQuestion.setQuestionId(questionId);
094 }
095
096
101 public long getGroupId() {
102 return _pollsQuestion.getGroupId();
103 }
104
105
110 public void setGroupId(long groupId) {
111 _pollsQuestion.setGroupId(groupId);
112 }
113
114
119 public long getCompanyId() {
120 return _pollsQuestion.getCompanyId();
121 }
122
123
128 public void setCompanyId(long companyId) {
129 _pollsQuestion.setCompanyId(companyId);
130 }
131
132
137 public long getUserId() {
138 return _pollsQuestion.getUserId();
139 }
140
141
146 public void setUserId(long userId) {
147 _pollsQuestion.setUserId(userId);
148 }
149
150
156 public java.lang.String getUserUuid()
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _pollsQuestion.getUserUuid();
159 }
160
161
166 public void setUserUuid(java.lang.String userUuid) {
167 _pollsQuestion.setUserUuid(userUuid);
168 }
169
170
175 public java.lang.String getUserName() {
176 return _pollsQuestion.getUserName();
177 }
178
179
184 public void setUserName(java.lang.String userName) {
185 _pollsQuestion.setUserName(userName);
186 }
187
188
193 public java.util.Date getCreateDate() {
194 return _pollsQuestion.getCreateDate();
195 }
196
197
202 public void setCreateDate(java.util.Date createDate) {
203 _pollsQuestion.setCreateDate(createDate);
204 }
205
206
211 public java.util.Date getModifiedDate() {
212 return _pollsQuestion.getModifiedDate();
213 }
214
215
220 public void setModifiedDate(java.util.Date modifiedDate) {
221 _pollsQuestion.setModifiedDate(modifiedDate);
222 }
223
224
229 public java.lang.String getTitle() {
230 return _pollsQuestion.getTitle();
231 }
232
233
239 public java.lang.String getTitle(java.util.Locale locale) {
240 return _pollsQuestion.getTitle(locale);
241 }
242
243
250 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
251 return _pollsQuestion.getTitle(locale, useDefault);
252 }
253
254
260 public java.lang.String getTitle(java.lang.String languageId) {
261 return _pollsQuestion.getTitle(languageId);
262 }
263
264
271 public java.lang.String getTitle(java.lang.String languageId,
272 boolean useDefault) {
273 return _pollsQuestion.getTitle(languageId, useDefault);
274 }
275
276 public java.lang.String getTitleCurrentLanguageId() {
277 return _pollsQuestion.getTitleCurrentLanguageId();
278 }
279
280 public java.lang.String getTitleCurrentValue() {
281 return _pollsQuestion.getTitleCurrentValue();
282 }
283
284
289 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
290 return _pollsQuestion.getTitleMap();
291 }
292
293
298 public void setTitle(java.lang.String title) {
299 _pollsQuestion.setTitle(title);
300 }
301
302
308 public void setTitle(java.lang.String title, java.util.Locale locale) {
309 _pollsQuestion.setTitle(title, locale);
310 }
311
312
319 public void setTitle(java.lang.String title, java.util.Locale locale,
320 java.util.Locale defaultLocale) {
321 _pollsQuestion.setTitle(title, locale, defaultLocale);
322 }
323
324 public void setTitleCurrentLanguageId(java.lang.String languageId) {
325 _pollsQuestion.setTitleCurrentLanguageId(languageId);
326 }
327
328
333 public void setTitleMap(
334 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
335 _pollsQuestion.setTitleMap(titleMap);
336 }
337
338
344 public void setTitleMap(
345 java.util.Map<java.util.Locale, java.lang.String> titleMap,
346 java.util.Locale defaultLocale) {
347 _pollsQuestion.setTitleMap(titleMap, defaultLocale);
348 }
349
350
355 public java.lang.String getDescription() {
356 return _pollsQuestion.getDescription();
357 }
358
359
365 public java.lang.String getDescription(java.util.Locale locale) {
366 return _pollsQuestion.getDescription(locale);
367 }
368
369
376 public java.lang.String getDescription(java.util.Locale locale,
377 boolean useDefault) {
378 return _pollsQuestion.getDescription(locale, useDefault);
379 }
380
381
387 public java.lang.String getDescription(java.lang.String languageId) {
388 return _pollsQuestion.getDescription(languageId);
389 }
390
391
398 public java.lang.String getDescription(java.lang.String languageId,
399 boolean useDefault) {
400 return _pollsQuestion.getDescription(languageId, useDefault);
401 }
402
403 public java.lang.String getDescriptionCurrentLanguageId() {
404 return _pollsQuestion.getDescriptionCurrentLanguageId();
405 }
406
407 public java.lang.String getDescriptionCurrentValue() {
408 return _pollsQuestion.getDescriptionCurrentValue();
409 }
410
411
416 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
417 return _pollsQuestion.getDescriptionMap();
418 }
419
420
425 public void setDescription(java.lang.String description) {
426 _pollsQuestion.setDescription(description);
427 }
428
429
435 public void setDescription(java.lang.String description,
436 java.util.Locale locale) {
437 _pollsQuestion.setDescription(description, locale);
438 }
439
440
447 public void setDescription(java.lang.String description,
448 java.util.Locale locale, java.util.Locale defaultLocale) {
449 _pollsQuestion.setDescription(description, locale, defaultLocale);
450 }
451
452 public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
453 _pollsQuestion.setDescriptionCurrentLanguageId(languageId);
454 }
455
456
461 public void setDescriptionMap(
462 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
463 _pollsQuestion.setDescriptionMap(descriptionMap);
464 }
465
466
472 public void setDescriptionMap(
473 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
474 java.util.Locale defaultLocale) {
475 _pollsQuestion.setDescriptionMap(descriptionMap, defaultLocale);
476 }
477
478
483 public java.util.Date getExpirationDate() {
484 return _pollsQuestion.getExpirationDate();
485 }
486
487
492 public void setExpirationDate(java.util.Date expirationDate) {
493 _pollsQuestion.setExpirationDate(expirationDate);
494 }
495
496
501 public java.util.Date getLastVoteDate() {
502 return _pollsQuestion.getLastVoteDate();
503 }
504
505
510 public void setLastVoteDate(java.util.Date lastVoteDate) {
511 _pollsQuestion.setLastVoteDate(lastVoteDate);
512 }
513
514 public boolean isNew() {
515 return _pollsQuestion.isNew();
516 }
517
518 public void setNew(boolean n) {
519 _pollsQuestion.setNew(n);
520 }
521
522 public boolean isCachedModel() {
523 return _pollsQuestion.isCachedModel();
524 }
525
526 public void setCachedModel(boolean cachedModel) {
527 _pollsQuestion.setCachedModel(cachedModel);
528 }
529
530 public boolean isEscapedModel() {
531 return _pollsQuestion.isEscapedModel();
532 }
533
534 public java.io.Serializable getPrimaryKeyObj() {
535 return _pollsQuestion.getPrimaryKeyObj();
536 }
537
538 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
539 _pollsQuestion.setPrimaryKeyObj(primaryKeyObj);
540 }
541
542 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
543 return _pollsQuestion.getExpandoBridge();
544 }
545
546 public void setExpandoBridgeAttributes(
547 com.liferay.portal.service.ServiceContext serviceContext) {
548 _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
549 }
550
551 @Override
552 public java.lang.Object clone() {
553 return new PollsQuestionWrapper((PollsQuestion)_pollsQuestion.clone());
554 }
555
556 public int compareTo(
557 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
558 return _pollsQuestion.compareTo(pollsQuestion);
559 }
560
561 @Override
562 public int hashCode() {
563 return _pollsQuestion.hashCode();
564 }
565
566 public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> toCacheModel() {
567 return _pollsQuestion.toCacheModel();
568 }
569
570 public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
571 return new PollsQuestionWrapper(_pollsQuestion.toEscapedModel());
572 }
573
574 @Override
575 public java.lang.String toString() {
576 return _pollsQuestion.toString();
577 }
578
579 public java.lang.String toXmlString() {
580 return _pollsQuestion.toXmlString();
581 }
582
583 public void persist()
584 throws com.liferay.portal.kernel.exception.SystemException {
585 _pollsQuestion.persist();
586 }
587
588 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
589 throws com.liferay.portal.kernel.exception.SystemException {
590 return _pollsQuestion.getChoices();
591 }
592
593 public int getVotesCount()
594 throws com.liferay.portal.kernel.exception.SystemException {
595 return _pollsQuestion.getVotesCount();
596 }
597
598 public boolean isExpired() {
599 return _pollsQuestion.isExpired();
600 }
601
602 public boolean isExpired(
603 com.liferay.portal.service.ServiceContext serviceContext,
604 java.util.Date defaultCreateDate) {
605 return _pollsQuestion.isExpired(serviceContext, defaultCreateDate);
606 }
607
608
611 public PollsQuestion getWrappedPollsQuestion() {
612 return _pollsQuestion;
613 }
614
615 public PollsQuestion getWrappedModel() {
616 return _pollsQuestion;
617 }
618
619 public void resetOriginalValues() {
620 _pollsQuestion.resetOriginalValues();
621 }
622
623 private PollsQuestion _pollsQuestion;
624 }