001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.polls.model;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link PollsQuestion}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       PollsQuestion
025     * @generated
026     */
027    public class PollsQuestionWrapper implements PollsQuestion {
028            public PollsQuestionWrapper(PollsQuestion pollsQuestion) {
029                    _pollsQuestion = pollsQuestion;
030            }
031    
032            public long getPrimaryKey() {
033                    return _pollsQuestion.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _pollsQuestion.setPrimaryKey(pk);
038            }
039    
040            public java.lang.String getUuid() {
041                    return _pollsQuestion.getUuid();
042            }
043    
044            public void setUuid(java.lang.String uuid) {
045                    _pollsQuestion.setUuid(uuid);
046            }
047    
048            public long getQuestionId() {
049                    return _pollsQuestion.getQuestionId();
050            }
051    
052            public void setQuestionId(long questionId) {
053                    _pollsQuestion.setQuestionId(questionId);
054            }
055    
056            public long getGroupId() {
057                    return _pollsQuestion.getGroupId();
058            }
059    
060            public void setGroupId(long groupId) {
061                    _pollsQuestion.setGroupId(groupId);
062            }
063    
064            public long getCompanyId() {
065                    return _pollsQuestion.getCompanyId();
066            }
067    
068            public void setCompanyId(long companyId) {
069                    _pollsQuestion.setCompanyId(companyId);
070            }
071    
072            public long getUserId() {
073                    return _pollsQuestion.getUserId();
074            }
075    
076            public void setUserId(long userId) {
077                    _pollsQuestion.setUserId(userId);
078            }
079    
080            public java.lang.String getUserUuid()
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _pollsQuestion.getUserUuid();
083            }
084    
085            public void setUserUuid(java.lang.String userUuid) {
086                    _pollsQuestion.setUserUuid(userUuid);
087            }
088    
089            public java.lang.String getUserName() {
090                    return _pollsQuestion.getUserName();
091            }
092    
093            public void setUserName(java.lang.String userName) {
094                    _pollsQuestion.setUserName(userName);
095            }
096    
097            public java.util.Date getCreateDate() {
098                    return _pollsQuestion.getCreateDate();
099            }
100    
101            public void setCreateDate(java.util.Date createDate) {
102                    _pollsQuestion.setCreateDate(createDate);
103            }
104    
105            public java.util.Date getModifiedDate() {
106                    return _pollsQuestion.getModifiedDate();
107            }
108    
109            public void setModifiedDate(java.util.Date modifiedDate) {
110                    _pollsQuestion.setModifiedDate(modifiedDate);
111            }
112    
113            public java.lang.String getTitle() {
114                    return _pollsQuestion.getTitle();
115            }
116    
117            public java.lang.String getTitle(java.util.Locale locale) {
118                    return _pollsQuestion.getTitle(locale);
119            }
120    
121            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
122                    return _pollsQuestion.getTitle(locale, useDefault);
123            }
124    
125            public java.lang.String getTitle(java.lang.String languageId) {
126                    return _pollsQuestion.getTitle(languageId);
127            }
128    
129            public java.lang.String getTitle(java.lang.String languageId,
130                    boolean useDefault) {
131                    return _pollsQuestion.getTitle(languageId, useDefault);
132            }
133    
134            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
135                    return _pollsQuestion.getTitleMap();
136            }
137    
138            public void setTitle(java.lang.String title) {
139                    _pollsQuestion.setTitle(title);
140            }
141    
142            public void setTitle(java.util.Locale locale, java.lang.String title) {
143                    _pollsQuestion.setTitle(locale, title);
144            }
145    
146            public void setTitleMap(
147                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
148                    _pollsQuestion.setTitleMap(titleMap);
149            }
150    
151            public java.lang.String getDescription() {
152                    return _pollsQuestion.getDescription();
153            }
154    
155            public java.lang.String getDescription(java.util.Locale locale) {
156                    return _pollsQuestion.getDescription(locale);
157            }
158    
159            public java.lang.String getDescription(java.util.Locale locale,
160                    boolean useDefault) {
161                    return _pollsQuestion.getDescription(locale, useDefault);
162            }
163    
164            public java.lang.String getDescription(java.lang.String languageId) {
165                    return _pollsQuestion.getDescription(languageId);
166            }
167    
168            public java.lang.String getDescription(java.lang.String languageId,
169                    boolean useDefault) {
170                    return _pollsQuestion.getDescription(languageId, useDefault);
171            }
172    
173            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
174                    return _pollsQuestion.getDescriptionMap();
175            }
176    
177            public void setDescription(java.lang.String description) {
178                    _pollsQuestion.setDescription(description);
179            }
180    
181            public void setDescription(java.util.Locale locale,
182                    java.lang.String description) {
183                    _pollsQuestion.setDescription(locale, description);
184            }
185    
186            public void setDescriptionMap(
187                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
188                    _pollsQuestion.setDescriptionMap(descriptionMap);
189            }
190    
191            public java.util.Date getExpirationDate() {
192                    return _pollsQuestion.getExpirationDate();
193            }
194    
195            public void setExpirationDate(java.util.Date expirationDate) {
196                    _pollsQuestion.setExpirationDate(expirationDate);
197            }
198    
199            public java.util.Date getLastVoteDate() {
200                    return _pollsQuestion.getLastVoteDate();
201            }
202    
203            public void setLastVoteDate(java.util.Date lastVoteDate) {
204                    _pollsQuestion.setLastVoteDate(lastVoteDate);
205            }
206    
207            public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel() {
208                    return _pollsQuestion.toEscapedModel();
209            }
210    
211            public boolean isNew() {
212                    return _pollsQuestion.isNew();
213            }
214    
215            public void setNew(boolean n) {
216                    _pollsQuestion.setNew(n);
217            }
218    
219            public boolean isCachedModel() {
220                    return _pollsQuestion.isCachedModel();
221            }
222    
223            public void setCachedModel(boolean cachedModel) {
224                    _pollsQuestion.setCachedModel(cachedModel);
225            }
226    
227            public boolean isEscapedModel() {
228                    return _pollsQuestion.isEscapedModel();
229            }
230    
231            public void setEscapedModel(boolean escapedModel) {
232                    _pollsQuestion.setEscapedModel(escapedModel);
233            }
234    
235            public java.io.Serializable getPrimaryKeyObj() {
236                    return _pollsQuestion.getPrimaryKeyObj();
237            }
238    
239            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
240                    return _pollsQuestion.getExpandoBridge();
241            }
242    
243            public void setExpandoBridgeAttributes(
244                    com.liferay.portal.service.ServiceContext serviceContext) {
245                    _pollsQuestion.setExpandoBridgeAttributes(serviceContext);
246            }
247    
248            public java.lang.Object clone() {
249                    return _pollsQuestion.clone();
250            }
251    
252            public int compareTo(
253                    com.liferay.portlet.polls.model.PollsQuestion pollsQuestion) {
254                    return _pollsQuestion.compareTo(pollsQuestion);
255            }
256    
257            public int hashCode() {
258                    return _pollsQuestion.hashCode();
259            }
260    
261            public java.lang.String toString() {
262                    return _pollsQuestion.toString();
263            }
264    
265            public java.lang.String toXmlString() {
266                    return _pollsQuestion.toXmlString();
267            }
268    
269            public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
270                    throws com.liferay.portal.kernel.exception.SystemException {
271                    return _pollsQuestion.getChoices();
272            }
273    
274            public int getVotesCount()
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    return _pollsQuestion.getVotesCount();
277            }
278    
279            public boolean isExpired() {
280                    return _pollsQuestion.isExpired();
281            }
282    
283            public PollsQuestion getWrappedPollsQuestion() {
284                    return _pollsQuestion;
285            }
286    
287            private PollsQuestion _pollsQuestion;
288    }