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.documentlibrary.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileVersion}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileVersion
024     * @generated
025     */
026    public class DLFileVersionWrapper implements DLFileVersion {
027            public DLFileVersionWrapper(DLFileVersion dlFileVersion) {
028                    _dlFileVersion = dlFileVersion;
029            }
030    
031            /**
032            * Gets the primary key of this d l file version.
033            *
034            * @return the primary key of this d l file version
035            */
036            public long getPrimaryKey() {
037                    return _dlFileVersion.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this d l file version
042            *
043            * @param pk the primary key of this d l file version
044            */
045            public void setPrimaryKey(long pk) {
046                    _dlFileVersion.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the file version id of this d l file version.
051            *
052            * @return the file version id of this d l file version
053            */
054            public long getFileVersionId() {
055                    return _dlFileVersion.getFileVersionId();
056            }
057    
058            /**
059            * Sets the file version id of this d l file version.
060            *
061            * @param fileVersionId the file version id of this d l file version
062            */
063            public void setFileVersionId(long fileVersionId) {
064                    _dlFileVersion.setFileVersionId(fileVersionId);
065            }
066    
067            /**
068            * Gets the group id of this d l file version.
069            *
070            * @return the group id of this d l file version
071            */
072            public long getGroupId() {
073                    return _dlFileVersion.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this d l file version.
078            *
079            * @param groupId the group id of this d l file version
080            */
081            public void setGroupId(long groupId) {
082                    _dlFileVersion.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this d l file version.
087            *
088            * @return the company id of this d l file version
089            */
090            public long getCompanyId() {
091                    return _dlFileVersion.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this d l file version.
096            *
097            * @param companyId the company id of this d l file version
098            */
099            public void setCompanyId(long companyId) {
100                    _dlFileVersion.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this d l file version.
105            *
106            * @return the user id of this d l file version
107            */
108            public long getUserId() {
109                    return _dlFileVersion.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this d l file version.
114            *
115            * @param userId the user id of this d l file version
116            */
117            public void setUserId(long userId) {
118                    _dlFileVersion.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this d l file version.
123            *
124            * @return the user uuid of this d l file version
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 _dlFileVersion.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this d l file version.
134            *
135            * @param userUuid the user uuid of this d l file version
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _dlFileVersion.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this d l file version.
143            *
144            * @return the user name of this d l file version
145            */
146            public java.lang.String getUserName() {
147                    return _dlFileVersion.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this d l file version.
152            *
153            * @param userName the user name of this d l file version
154            */
155            public void setUserName(java.lang.String userName) {
156                    _dlFileVersion.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this d l file version.
161            *
162            * @return the create date of this d l file version
163            */
164            public java.util.Date getCreateDate() {
165                    return _dlFileVersion.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this d l file version.
170            *
171            * @param createDate the create date of this d l file version
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _dlFileVersion.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the folder id of this d l file version.
179            *
180            * @return the folder id of this d l file version
181            */
182            public long getFolderId() {
183                    return _dlFileVersion.getFolderId();
184            }
185    
186            /**
187            * Sets the folder id of this d l file version.
188            *
189            * @param folderId the folder id of this d l file version
190            */
191            public void setFolderId(long folderId) {
192                    _dlFileVersion.setFolderId(folderId);
193            }
194    
195            /**
196            * Gets the name of this d l file version.
197            *
198            * @return the name of this d l file version
199            */
200            public java.lang.String getName() {
201                    return _dlFileVersion.getName();
202            }
203    
204            /**
205            * Sets the name of this d l file version.
206            *
207            * @param name the name of this d l file version
208            */
209            public void setName(java.lang.String name) {
210                    _dlFileVersion.setName(name);
211            }
212    
213            /**
214            * Gets the extension of this d l file version.
215            *
216            * @return the extension of this d l file version
217            */
218            public java.lang.String getExtension() {
219                    return _dlFileVersion.getExtension();
220            }
221    
222            /**
223            * Sets the extension of this d l file version.
224            *
225            * @param extension the extension of this d l file version
226            */
227            public void setExtension(java.lang.String extension) {
228                    _dlFileVersion.setExtension(extension);
229            }
230    
231            /**
232            * Gets the title of this d l file version.
233            *
234            * @return the title of this d l file version
235            */
236            public java.lang.String getTitle() {
237                    return _dlFileVersion.getTitle();
238            }
239    
240            /**
241            * Sets the title of this d l file version.
242            *
243            * @param title the title of this d l file version
244            */
245            public void setTitle(java.lang.String title) {
246                    _dlFileVersion.setTitle(title);
247            }
248    
249            /**
250            * Gets the description of this d l file version.
251            *
252            * @return the description of this d l file version
253            */
254            public java.lang.String getDescription() {
255                    return _dlFileVersion.getDescription();
256            }
257    
258            /**
259            * Sets the description of this d l file version.
260            *
261            * @param description the description of this d l file version
262            */
263            public void setDescription(java.lang.String description) {
264                    _dlFileVersion.setDescription(description);
265            }
266    
267            /**
268            * Gets the change log of this d l file version.
269            *
270            * @return the change log of this d l file version
271            */
272            public java.lang.String getChangeLog() {
273                    return _dlFileVersion.getChangeLog();
274            }
275    
276            /**
277            * Sets the change log of this d l file version.
278            *
279            * @param changeLog the change log of this d l file version
280            */
281            public void setChangeLog(java.lang.String changeLog) {
282                    _dlFileVersion.setChangeLog(changeLog);
283            }
284    
285            /**
286            * Gets the extra settings of this d l file version.
287            *
288            * @return the extra settings of this d l file version
289            */
290            public java.lang.String getExtraSettings() {
291                    return _dlFileVersion.getExtraSettings();
292            }
293    
294            /**
295            * Sets the extra settings of this d l file version.
296            *
297            * @param extraSettings the extra settings of this d l file version
298            */
299            public void setExtraSettings(java.lang.String extraSettings) {
300                    _dlFileVersion.setExtraSettings(extraSettings);
301            }
302    
303            /**
304            * Gets the version of this d l file version.
305            *
306            * @return the version of this d l file version
307            */
308            public java.lang.String getVersion() {
309                    return _dlFileVersion.getVersion();
310            }
311    
312            /**
313            * Sets the version of this d l file version.
314            *
315            * @param version the version of this d l file version
316            */
317            public void setVersion(java.lang.String version) {
318                    _dlFileVersion.setVersion(version);
319            }
320    
321            /**
322            * Gets the size of this d l file version.
323            *
324            * @return the size of this d l file version
325            */
326            public long getSize() {
327                    return _dlFileVersion.getSize();
328            }
329    
330            /**
331            * Sets the size of this d l file version.
332            *
333            * @param size the size of this d l file version
334            */
335            public void setSize(long size) {
336                    _dlFileVersion.setSize(size);
337            }
338    
339            /**
340            * Gets the status of this d l file version.
341            *
342            * @return the status of this d l file version
343            */
344            public int getStatus() {
345                    return _dlFileVersion.getStatus();
346            }
347    
348            /**
349            * Sets the status of this d l file version.
350            *
351            * @param status the status of this d l file version
352            */
353            public void setStatus(int status) {
354                    _dlFileVersion.setStatus(status);
355            }
356    
357            /**
358            * Gets the status by user id of this d l file version.
359            *
360            * @return the status by user id of this d l file version
361            */
362            public long getStatusByUserId() {
363                    return _dlFileVersion.getStatusByUserId();
364            }
365    
366            /**
367            * Sets the status by user id of this d l file version.
368            *
369            * @param statusByUserId the status by user id of this d l file version
370            */
371            public void setStatusByUserId(long statusByUserId) {
372                    _dlFileVersion.setStatusByUserId(statusByUserId);
373            }
374    
375            /**
376            * Gets the status by user uuid of this d l file version.
377            *
378            * @return the status by user uuid of this d l file version
379            * @throws SystemException if a system exception occurred
380            */
381            public java.lang.String getStatusByUserUuid()
382                    throws com.liferay.portal.kernel.exception.SystemException {
383                    return _dlFileVersion.getStatusByUserUuid();
384            }
385    
386            /**
387            * Sets the status by user uuid of this d l file version.
388            *
389            * @param statusByUserUuid the status by user uuid of this d l file version
390            */
391            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
392                    _dlFileVersion.setStatusByUserUuid(statusByUserUuid);
393            }
394    
395            /**
396            * Gets the status by user name of this d l file version.
397            *
398            * @return the status by user name of this d l file version
399            */
400            public java.lang.String getStatusByUserName() {
401                    return _dlFileVersion.getStatusByUserName();
402            }
403    
404            /**
405            * Sets the status by user name of this d l file version.
406            *
407            * @param statusByUserName the status by user name of this d l file version
408            */
409            public void setStatusByUserName(java.lang.String statusByUserName) {
410                    _dlFileVersion.setStatusByUserName(statusByUserName);
411            }
412    
413            /**
414            * Gets the status date of this d l file version.
415            *
416            * @return the status date of this d l file version
417            */
418            public java.util.Date getStatusDate() {
419                    return _dlFileVersion.getStatusDate();
420            }
421    
422            /**
423            * Sets the status date of this d l file version.
424            *
425            * @param statusDate the status date of this d l file version
426            */
427            public void setStatusDate(java.util.Date statusDate) {
428                    _dlFileVersion.setStatusDate(statusDate);
429            }
430    
431            /**
432            * @deprecated {@link #isApproved}
433            */
434            public boolean getApproved() {
435                    return _dlFileVersion.getApproved();
436            }
437    
438            /**
439            * Determines whether this d l file version is approved.
440            *
441            * @return true if this d l file version is approved; false otherwise
442            */
443            public boolean isApproved() {
444                    return _dlFileVersion.isApproved();
445            }
446    
447            /**
448            * Determines whether this d l file version is a draft.
449            *
450            * @return true if this d l file version is a draft; false otherwise
451            */
452            public boolean isDraft() {
453                    return _dlFileVersion.isDraft();
454            }
455    
456            /**
457            * Determines whether this d l file version is expired.
458            *
459            * @return true if this d l file version is expired; false otherwise
460            */
461            public boolean isExpired() {
462                    return _dlFileVersion.isExpired();
463            }
464    
465            /**
466            * Determines whether this d l file version is pending.
467            *
468            * @return true if this d l file version is pending; false otherwise
469            */
470            public boolean isPending() {
471                    return _dlFileVersion.isPending();
472            }
473    
474            public boolean isNew() {
475                    return _dlFileVersion.isNew();
476            }
477    
478            public void setNew(boolean n) {
479                    _dlFileVersion.setNew(n);
480            }
481    
482            public boolean isCachedModel() {
483                    return _dlFileVersion.isCachedModel();
484            }
485    
486            public void setCachedModel(boolean cachedModel) {
487                    _dlFileVersion.setCachedModel(cachedModel);
488            }
489    
490            public boolean isEscapedModel() {
491                    return _dlFileVersion.isEscapedModel();
492            }
493    
494            public void setEscapedModel(boolean escapedModel) {
495                    _dlFileVersion.setEscapedModel(escapedModel);
496            }
497    
498            public java.io.Serializable getPrimaryKeyObj() {
499                    return _dlFileVersion.getPrimaryKeyObj();
500            }
501    
502            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
503                    return _dlFileVersion.getExpandoBridge();
504            }
505    
506            public void setExpandoBridgeAttributes(
507                    com.liferay.portal.service.ServiceContext serviceContext) {
508                    _dlFileVersion.setExpandoBridgeAttributes(serviceContext);
509            }
510    
511            public java.lang.Object clone() {
512                    return _dlFileVersion.clone();
513            }
514    
515            public int compareTo(
516                    com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion) {
517                    return _dlFileVersion.compareTo(dlFileVersion);
518            }
519    
520            public int hashCode() {
521                    return _dlFileVersion.hashCode();
522            }
523    
524            public com.liferay.portlet.documentlibrary.model.DLFileVersion toEscapedModel() {
525                    return _dlFileVersion.toEscapedModel();
526            }
527    
528            public java.lang.String toString() {
529                    return _dlFileVersion.toString();
530            }
531    
532            public java.lang.String toXmlString() {
533                    return _dlFileVersion.toXmlString();
534            }
535    
536            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry()
537                    throws com.liferay.portal.kernel.exception.PortalException,
538                            com.liferay.portal.kernel.exception.SystemException {
539                    return _dlFileVersion.getFileEntry();
540            }
541    
542            public java.lang.String getIcon() {
543                    return _dlFileVersion.getIcon();
544            }
545    
546            public DLFileVersion getWrappedDLFileVersion() {
547                    return _dlFileVersion;
548            }
549    
550            private DLFileVersion _dlFileVersion;
551    }