001    /**
002     * Copyright (c) 2000-2010 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            /**
032            * Gets the primary key of this tasks proposal.
033            *
034            * @return the primary key of this tasks proposal
035            */
036            public long getPrimaryKey() {
037                    return _tasksProposal.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this tasks proposal
042            *
043            * @param pk the primary key of this tasks proposal
044            */
045            public void setPrimaryKey(long pk) {
046                    _tasksProposal.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the proposal id of this tasks proposal.
051            *
052            * @return the proposal id of this tasks proposal
053            */
054            public long getProposalId() {
055                    return _tasksProposal.getProposalId();
056            }
057    
058            /**
059            * Sets the proposal id of this tasks proposal.
060            *
061            * @param proposalId the proposal id of this tasks proposal
062            */
063            public void setProposalId(long proposalId) {
064                    _tasksProposal.setProposalId(proposalId);
065            }
066    
067            /**
068            * Gets the group id of this tasks proposal.
069            *
070            * @return the group id of this tasks proposal
071            */
072            public long getGroupId() {
073                    return _tasksProposal.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this tasks proposal.
078            *
079            * @param groupId the group id of this tasks proposal
080            */
081            public void setGroupId(long groupId) {
082                    _tasksProposal.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this tasks proposal.
087            *
088            * @return the company id of this tasks proposal
089            */
090            public long getCompanyId() {
091                    return _tasksProposal.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this tasks proposal.
096            *
097            * @param companyId the company id of this tasks proposal
098            */
099            public void setCompanyId(long companyId) {
100                    _tasksProposal.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this tasks proposal.
105            *
106            * @return the user id of this tasks proposal
107            */
108            public long getUserId() {
109                    return _tasksProposal.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this tasks proposal.
114            *
115            * @param userId the user id of this tasks proposal
116            */
117            public void setUserId(long userId) {
118                    _tasksProposal.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this tasks proposal.
123            *
124            * @return the user uuid of this tasks proposal
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _tasksProposal.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this tasks proposal.
134            *
135            * @param userUuid the user uuid of this tasks proposal
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _tasksProposal.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this tasks proposal.
143            *
144            * @return the user name of this tasks proposal
145            */
146            public java.lang.String getUserName() {
147                    return _tasksProposal.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this tasks proposal.
152            *
153            * @param userName the user name of this tasks proposal
154            */
155            public void setUserName(java.lang.String userName) {
156                    _tasksProposal.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this tasks proposal.
161            *
162            * @return the create date of this tasks proposal
163            */
164            public java.util.Date getCreateDate() {
165                    return _tasksProposal.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this tasks proposal.
170            *
171            * @param createDate the create date of this tasks proposal
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _tasksProposal.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this tasks proposal.
179            *
180            * @return the modified date of this tasks proposal
181            */
182            public java.util.Date getModifiedDate() {
183                    return _tasksProposal.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this tasks proposal.
188            *
189            * @param modifiedDate the modified date of this tasks proposal
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _tasksProposal.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the class name of the model instance this tasks proposal is polymorphically associated with.
197            *
198            * @return the class name of the model instance this tasks proposal is polymorphically associated with
199            */
200            public java.lang.String getClassName() {
201                    return _tasksProposal.getClassName();
202            }
203    
204            /**
205            * Gets the class name id of this tasks proposal.
206            *
207            * @return the class name id of this tasks proposal
208            */
209            public long getClassNameId() {
210                    return _tasksProposal.getClassNameId();
211            }
212    
213            /**
214            * Sets the class name id of this tasks proposal.
215            *
216            * @param classNameId the class name id of this tasks proposal
217            */
218            public void setClassNameId(long classNameId) {
219                    _tasksProposal.setClassNameId(classNameId);
220            }
221    
222            /**
223            * Gets the class p k of this tasks proposal.
224            *
225            * @return the class p k of this tasks proposal
226            */
227            public java.lang.String getClassPK() {
228                    return _tasksProposal.getClassPK();
229            }
230    
231            /**
232            * Sets the class p k of this tasks proposal.
233            *
234            * @param classPK the class p k of this tasks proposal
235            */
236            public void setClassPK(java.lang.String classPK) {
237                    _tasksProposal.setClassPK(classPK);
238            }
239    
240            /**
241            * Gets the name of this tasks proposal.
242            *
243            * @return the name of this tasks proposal
244            */
245            public java.lang.String getName() {
246                    return _tasksProposal.getName();
247            }
248    
249            /**
250            * Sets the name of this tasks proposal.
251            *
252            * @param name the name of this tasks proposal
253            */
254            public void setName(java.lang.String name) {
255                    _tasksProposal.setName(name);
256            }
257    
258            /**
259            * Gets the description of this tasks proposal.
260            *
261            * @return the description of this tasks proposal
262            */
263            public java.lang.String getDescription() {
264                    return _tasksProposal.getDescription();
265            }
266    
267            /**
268            * Sets the description of this tasks proposal.
269            *
270            * @param description the description of this tasks proposal
271            */
272            public void setDescription(java.lang.String description) {
273                    _tasksProposal.setDescription(description);
274            }
275    
276            /**
277            * Gets the publish date of this tasks proposal.
278            *
279            * @return the publish date of this tasks proposal
280            */
281            public java.util.Date getPublishDate() {
282                    return _tasksProposal.getPublishDate();
283            }
284    
285            /**
286            * Sets the publish date of this tasks proposal.
287            *
288            * @param publishDate the publish date of this tasks proposal
289            */
290            public void setPublishDate(java.util.Date publishDate) {
291                    _tasksProposal.setPublishDate(publishDate);
292            }
293    
294            /**
295            * Gets the due date of this tasks proposal.
296            *
297            * @return the due date of this tasks proposal
298            */
299            public java.util.Date getDueDate() {
300                    return _tasksProposal.getDueDate();
301            }
302    
303            /**
304            * Sets the due date of this tasks proposal.
305            *
306            * @param dueDate the due date of this tasks proposal
307            */
308            public void setDueDate(java.util.Date dueDate) {
309                    _tasksProposal.setDueDate(dueDate);
310            }
311    
312            public boolean isNew() {
313                    return _tasksProposal.isNew();
314            }
315    
316            public void setNew(boolean n) {
317                    _tasksProposal.setNew(n);
318            }
319    
320            public boolean isCachedModel() {
321                    return _tasksProposal.isCachedModel();
322            }
323    
324            public void setCachedModel(boolean cachedModel) {
325                    _tasksProposal.setCachedModel(cachedModel);
326            }
327    
328            public boolean isEscapedModel() {
329                    return _tasksProposal.isEscapedModel();
330            }
331    
332            public void setEscapedModel(boolean escapedModel) {
333                    _tasksProposal.setEscapedModel(escapedModel);
334            }
335    
336            public java.io.Serializable getPrimaryKeyObj() {
337                    return _tasksProposal.getPrimaryKeyObj();
338            }
339    
340            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
341                    return _tasksProposal.getExpandoBridge();
342            }
343    
344            public void setExpandoBridgeAttributes(
345                    com.liferay.portal.service.ServiceContext serviceContext) {
346                    _tasksProposal.setExpandoBridgeAttributes(serviceContext);
347            }
348    
349            public java.lang.Object clone() {
350                    return _tasksProposal.clone();
351            }
352    
353            public int compareTo(
354                    com.liferay.portlet.tasks.model.TasksProposal tasksProposal) {
355                    return _tasksProposal.compareTo(tasksProposal);
356            }
357    
358            public int hashCode() {
359                    return _tasksProposal.hashCode();
360            }
361    
362            public com.liferay.portlet.tasks.model.TasksProposal toEscapedModel() {
363                    return _tasksProposal.toEscapedModel();
364            }
365    
366            public java.lang.String toString() {
367                    return _tasksProposal.toString();
368            }
369    
370            public java.lang.String toXmlString() {
371                    return _tasksProposal.toXmlString();
372            }
373    
374            public java.lang.String getStatus(java.util.Locale locale)
375                    throws com.liferay.portal.kernel.exception.PortalException,
376                            com.liferay.portal.kernel.exception.SystemException {
377                    return _tasksProposal.getStatus(locale);
378            }
379    
380            public TasksProposal getWrappedTasksProposal() {
381                    return _tasksProposal;
382            }
383    
384            private TasksProposal _tasksProposal;
385    }