001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.tasks.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link TasksProposal}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       TasksProposal
024     * @generated
025     */
026    public class TasksProposalWrapper implements TasksProposal {
027            public TasksProposalWrapper(TasksProposal tasksProposal) {
028                    _tasksProposal = tasksProposal;
029            }
030    
031            public Class<?> getModelClass() {
032                    return TasksProposal.class;
033            }
034    
035            public String getModelClassName() {
036                    return TasksProposal.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this tasks proposal.
041            *
042            * @return the primary key of this tasks proposal
043            */
044            public long getPrimaryKey() {
045                    return _tasksProposal.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this tasks proposal
050            *
051            * @param primaryKey the primary key of this tasks proposal
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _tasksProposal.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the proposal ID of this tasks proposal.
059            *
060            * @return the proposal ID of this tasks proposal
061            */
062            public long getProposalId() {
063                    return _tasksProposal.getProposalId();
064            }
065    
066            /**
067            * Sets the proposal ID of this tasks proposal.
068            *
069            * @param proposalId the proposal ID of this tasks proposal
070            */
071            public void setProposalId(long proposalId) {
072                    _tasksProposal.setProposalId(proposalId);
073            }
074    
075            /**
076            * Gets the group ID of this tasks proposal.
077            *
078            * @return the group ID of this tasks proposal
079            */
080            public long getGroupId() {
081                    return _tasksProposal.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this tasks proposal.
086            *
087            * @param groupId the group ID of this tasks proposal
088            */
089            public void setGroupId(long groupId) {
090                    _tasksProposal.setGroupId(groupId);
091            }
092    
093            /**
094            * Gets the company ID of this tasks proposal.
095            *
096            * @return the company ID of this tasks proposal
097            */
098            public long getCompanyId() {
099                    return _tasksProposal.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this tasks proposal.
104            *
105            * @param companyId the company ID of this tasks proposal
106            */
107            public void setCompanyId(long companyId) {
108                    _tasksProposal.setCompanyId(companyId);
109            }
110    
111            /**
112            * Gets the user ID of this tasks proposal.
113            *
114            * @return the user ID of this tasks proposal
115            */
116            public long getUserId() {
117                    return _tasksProposal.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this tasks proposal.
122            *
123            * @param userId the user ID of this tasks proposal
124            */
125            public void setUserId(long userId) {
126                    _tasksProposal.setUserId(userId);
127            }
128    
129            /**
130            * Gets the user uuid of this tasks proposal.
131            *
132            * @return the user uuid of this tasks proposal
133            * @throws SystemException if a system exception occurred
134            */
135            public java.lang.String getUserUuid()
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _tasksProposal.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this tasks proposal.
142            *
143            * @param userUuid the user uuid of this tasks proposal
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _tasksProposal.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Gets the user name of this tasks proposal.
151            *
152            * @return the user name of this tasks proposal
153            */
154            public java.lang.String getUserName() {
155                    return _tasksProposal.getUserName();
156            }
157    
158            /**
159            * Sets the user name of this tasks proposal.
160            *
161            * @param userName the user name of this tasks proposal
162            */
163            public void setUserName(java.lang.String userName) {
164                    _tasksProposal.setUserName(userName);
165            }
166    
167            /**
168            * Gets the create date of this tasks proposal.
169            *
170            * @return the create date of this tasks proposal
171            */
172            public java.util.Date getCreateDate() {
173                    return _tasksProposal.getCreateDate();
174            }
175    
176            /**
177            * Sets the create date of this tasks proposal.
178            *
179            * @param createDate the create date of this tasks proposal
180            */
181            public void setCreateDate(java.util.Date createDate) {
182                    _tasksProposal.setCreateDate(createDate);
183            }
184    
185            /**
186            * Gets the modified date of this tasks proposal.
187            *
188            * @return the modified date of this tasks proposal
189            */
190            public java.util.Date getModifiedDate() {
191                    return _tasksProposal.getModifiedDate();
192            }
193    
194            /**
195            * Sets the modified date of this tasks proposal.
196            *
197            * @param modifiedDate the modified date of this tasks proposal
198            */
199            public void setModifiedDate(java.util.Date modifiedDate) {
200                    _tasksProposal.setModifiedDate(modifiedDate);
201            }
202    
203            /**
204            * Gets the class name of the model instance this tasks proposal is polymorphically associated with.
205            *
206            * @return the class name of the model instance this tasks proposal is polymorphically associated with
207            */
208            public java.lang.String getClassName() {
209                    return _tasksProposal.getClassName();
210            }
211    
212            /**
213            * Gets the class name ID of this tasks proposal.
214            *
215            * @return the class name ID of this tasks proposal
216            */
217            public long getClassNameId() {
218                    return _tasksProposal.getClassNameId();
219            }
220    
221            /**
222            * Sets the class name ID of this tasks proposal.
223            *
224            * @param classNameId the class name ID of this tasks proposal
225            */
226            public void setClassNameId(long classNameId) {
227                    _tasksProposal.setClassNameId(classNameId);
228            }
229    
230            /**
231            * Gets the class p k of this tasks proposal.
232            *
233            * @return the class p k of this tasks proposal
234            */
235            public java.lang.String getClassPK() {
236                    return _tasksProposal.getClassPK();
237            }
238    
239            /**
240            * Sets the class p k of this tasks proposal.
241            *
242            * @param classPK the class p k of this tasks proposal
243            */
244            public void setClassPK(java.lang.String classPK) {
245                    _tasksProposal.setClassPK(classPK);
246            }
247    
248            /**
249            * Gets the name of this tasks proposal.
250            *
251            * @return the name of this tasks proposal
252            */
253            public java.lang.String getName() {
254                    return _tasksProposal.getName();
255            }
256    
257            /**
258            * Sets the name of this tasks proposal.
259            *
260            * @param name the name of this tasks proposal
261            */
262            public void setName(java.lang.String name) {
263                    _tasksProposal.setName(name);
264            }
265    
266            /**
267            * Gets the description of this tasks proposal.
268            *
269            * @return the description of this tasks proposal
270            */
271            public java.lang.String getDescription() {
272                    return _tasksProposal.getDescription();
273            }
274    
275            /**
276            * Sets the description of this tasks proposal.
277            *
278            * @param description the description of this tasks proposal
279            */
280            public void setDescription(java.lang.String description) {
281                    _tasksProposal.setDescription(description);
282            }
283    
284            /**
285            * Gets the publish date of this tasks proposal.
286            *
287            * @return the publish date of this tasks proposal
288            */
289            public java.util.Date getPublishDate() {
290                    return _tasksProposal.getPublishDate();
291            }
292    
293            /**
294            * Sets the publish date of this tasks proposal.
295            *
296            * @param publishDate the publish date of this tasks proposal
297            */
298            public void setPublishDate(java.util.Date publishDate) {
299                    _tasksProposal.setPublishDate(publishDate);
300            }
301    
302            /**
303            * Gets the due date of this tasks proposal.
304            *
305            * @return the due date of this tasks proposal
306            */
307            public java.util.Date getDueDate() {
308                    return _tasksProposal.getDueDate();
309            }
310    
311            /**
312            * Sets the due date of this tasks proposal.
313            *
314            * @param dueDate the due date of this tasks proposal
315            */
316            public void setDueDate(java.util.Date dueDate) {
317                    _tasksProposal.setDueDate(dueDate);
318            }
319    
320            public boolean isNew() {
321                    return _tasksProposal.isNew();
322            }
323    
324            public void setNew(boolean n) {
325                    _tasksProposal.setNew(n);
326            }
327    
328            public boolean isCachedModel() {
329                    return _tasksProposal.isCachedModel();
330            }
331    
332            public void setCachedModel(boolean cachedModel) {
333                    _tasksProposal.setCachedModel(cachedModel);
334            }
335    
336            public boolean isEscapedModel() {
337                    return _tasksProposal.isEscapedModel();
338            }
339    
340            public void setEscapedModel(boolean escapedModel) {
341                    _tasksProposal.setEscapedModel(escapedModel);
342            }
343    
344            public java.io.Serializable getPrimaryKeyObj() {
345                    return _tasksProposal.getPrimaryKeyObj();
346            }
347    
348            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
349                    _tasksProposal.setPrimaryKeyObj(primaryKeyObj);
350            }
351    
352            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
353                    return _tasksProposal.getExpandoBridge();
354            }
355    
356            public void setExpandoBridgeAttributes(
357                    com.liferay.portal.service.ServiceContext serviceContext) {
358                    _tasksProposal.setExpandoBridgeAttributes(serviceContext);
359            }
360    
361            @Override
362            public java.lang.Object clone() {
363                    return new TasksProposalWrapper((TasksProposal)_tasksProposal.clone());
364            }
365    
366            public int compareTo(
367                    com.liferay.portlet.tasks.model.TasksProposal tasksProposal) {
368                    return _tasksProposal.compareTo(tasksProposal);
369            }
370    
371            @Override
372            public int hashCode() {
373                    return _tasksProposal.hashCode();
374            }
375    
376            public com.liferay.portal.model.CacheModel<com.liferay.portlet.tasks.model.TasksProposal> toCacheModel() {
377                    return _tasksProposal.toCacheModel();
378            }
379    
380            public com.liferay.portlet.tasks.model.TasksProposal toEscapedModel() {
381                    return new TasksProposalWrapper(_tasksProposal.toEscapedModel());
382            }
383    
384            @Override
385            public java.lang.String toString() {
386                    return _tasksProposal.toString();
387            }
388    
389            public java.lang.String toXmlString() {
390                    return _tasksProposal.toXmlString();
391            }
392    
393            public void persist()
394                    throws com.liferay.portal.kernel.exception.SystemException {
395                    _tasksProposal.persist();
396            }
397    
398            public java.lang.String getStatus(java.util.Locale locale)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    return _tasksProposal.getStatus(locale);
402            }
403    
404            public TasksProposal getWrappedTasksProposal() {
405                    return _tasksProposal;
406            }
407    
408            public void resetOriginalValues() {
409                    _tasksProposal.resetOriginalValues();
410            }
411    
412            private TasksProposal _tasksProposal;
413    }