001    /**
002     * Copyright (c) 2000-present 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.document.library.kernel.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.expando.kernel.model.ExpandoBridge;
020    
021    import com.liferay.exportimport.kernel.lar.StagedModelType;
022    
023    import com.liferay.portal.kernel.model.ModelWrapper;
024    import com.liferay.portal.kernel.service.ServiceContext;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    import java.util.HashMap;
030    import java.util.Map;
031    import java.util.Objects;
032    
033    /**
034     * <p>
035     * This class is a wrapper for {@link DLFileVersion}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see DLFileVersion
040     * @generated
041     */
042    @ProviderType
043    public class DLFileVersionWrapper implements DLFileVersion,
044            ModelWrapper<DLFileVersion> {
045            public DLFileVersionWrapper(DLFileVersion dlFileVersion) {
046                    _dlFileVersion = dlFileVersion;
047            }
048    
049            @Override
050            public Class<?> getModelClass() {
051                    return DLFileVersion.class;
052            }
053    
054            @Override
055            public String getModelClassName() {
056                    return DLFileVersion.class.getName();
057            }
058    
059            @Override
060            public Map<String, Object> getModelAttributes() {
061                    Map<String, Object> attributes = new HashMap<String, Object>();
062    
063                    attributes.put("uuid", getUuid());
064                    attributes.put("fileVersionId", getFileVersionId());
065                    attributes.put("groupId", getGroupId());
066                    attributes.put("companyId", getCompanyId());
067                    attributes.put("userId", getUserId());
068                    attributes.put("userName", getUserName());
069                    attributes.put("createDate", getCreateDate());
070                    attributes.put("modifiedDate", getModifiedDate());
071                    attributes.put("repositoryId", getRepositoryId());
072                    attributes.put("folderId", getFolderId());
073                    attributes.put("fileEntryId", getFileEntryId());
074                    attributes.put("treePath", getTreePath());
075                    attributes.put("fileName", getFileName());
076                    attributes.put("extension", getExtension());
077                    attributes.put("mimeType", getMimeType());
078                    attributes.put("title", getTitle());
079                    attributes.put("description", getDescription());
080                    attributes.put("changeLog", getChangeLog());
081                    attributes.put("extraSettings", getExtraSettings());
082                    attributes.put("fileEntryTypeId", getFileEntryTypeId());
083                    attributes.put("version", getVersion());
084                    attributes.put("size", getSize());
085                    attributes.put("checksum", getChecksum());
086                    attributes.put("lastPublishDate", getLastPublishDate());
087                    attributes.put("status", getStatus());
088                    attributes.put("statusByUserId", getStatusByUserId());
089                    attributes.put("statusByUserName", getStatusByUserName());
090                    attributes.put("statusDate", getStatusDate());
091    
092                    return attributes;
093            }
094    
095            @Override
096            public void setModelAttributes(Map<String, Object> attributes) {
097                    String uuid = (String)attributes.get("uuid");
098    
099                    if (uuid != null) {
100                            setUuid(uuid);
101                    }
102    
103                    Long fileVersionId = (Long)attributes.get("fileVersionId");
104    
105                    if (fileVersionId != null) {
106                            setFileVersionId(fileVersionId);
107                    }
108    
109                    Long groupId = (Long)attributes.get("groupId");
110    
111                    if (groupId != null) {
112                            setGroupId(groupId);
113                    }
114    
115                    Long companyId = (Long)attributes.get("companyId");
116    
117                    if (companyId != null) {
118                            setCompanyId(companyId);
119                    }
120    
121                    Long userId = (Long)attributes.get("userId");
122    
123                    if (userId != null) {
124                            setUserId(userId);
125                    }
126    
127                    String userName = (String)attributes.get("userName");
128    
129                    if (userName != null) {
130                            setUserName(userName);
131                    }
132    
133                    Date createDate = (Date)attributes.get("createDate");
134    
135                    if (createDate != null) {
136                            setCreateDate(createDate);
137                    }
138    
139                    Date modifiedDate = (Date)attributes.get("modifiedDate");
140    
141                    if (modifiedDate != null) {
142                            setModifiedDate(modifiedDate);
143                    }
144    
145                    Long repositoryId = (Long)attributes.get("repositoryId");
146    
147                    if (repositoryId != null) {
148                            setRepositoryId(repositoryId);
149                    }
150    
151                    Long folderId = (Long)attributes.get("folderId");
152    
153                    if (folderId != null) {
154                            setFolderId(folderId);
155                    }
156    
157                    Long fileEntryId = (Long)attributes.get("fileEntryId");
158    
159                    if (fileEntryId != null) {
160                            setFileEntryId(fileEntryId);
161                    }
162    
163                    String treePath = (String)attributes.get("treePath");
164    
165                    if (treePath != null) {
166                            setTreePath(treePath);
167                    }
168    
169                    String fileName = (String)attributes.get("fileName");
170    
171                    if (fileName != null) {
172                            setFileName(fileName);
173                    }
174    
175                    String extension = (String)attributes.get("extension");
176    
177                    if (extension != null) {
178                            setExtension(extension);
179                    }
180    
181                    String mimeType = (String)attributes.get("mimeType");
182    
183                    if (mimeType != null) {
184                            setMimeType(mimeType);
185                    }
186    
187                    String title = (String)attributes.get("title");
188    
189                    if (title != null) {
190                            setTitle(title);
191                    }
192    
193                    String description = (String)attributes.get("description");
194    
195                    if (description != null) {
196                            setDescription(description);
197                    }
198    
199                    String changeLog = (String)attributes.get("changeLog");
200    
201                    if (changeLog != null) {
202                            setChangeLog(changeLog);
203                    }
204    
205                    String extraSettings = (String)attributes.get("extraSettings");
206    
207                    if (extraSettings != null) {
208                            setExtraSettings(extraSettings);
209                    }
210    
211                    Long fileEntryTypeId = (Long)attributes.get("fileEntryTypeId");
212    
213                    if (fileEntryTypeId != null) {
214                            setFileEntryTypeId(fileEntryTypeId);
215                    }
216    
217                    String version = (String)attributes.get("version");
218    
219                    if (version != null) {
220                            setVersion(version);
221                    }
222    
223                    Long size = (Long)attributes.get("size");
224    
225                    if (size != null) {
226                            setSize(size);
227                    }
228    
229                    String checksum = (String)attributes.get("checksum");
230    
231                    if (checksum != null) {
232                            setChecksum(checksum);
233                    }
234    
235                    Date lastPublishDate = (Date)attributes.get("lastPublishDate");
236    
237                    if (lastPublishDate != null) {
238                            setLastPublishDate(lastPublishDate);
239                    }
240    
241                    Integer status = (Integer)attributes.get("status");
242    
243                    if (status != null) {
244                            setStatus(status);
245                    }
246    
247                    Long statusByUserId = (Long)attributes.get("statusByUserId");
248    
249                    if (statusByUserId != null) {
250                            setStatusByUserId(statusByUserId);
251                    }
252    
253                    String statusByUserName = (String)attributes.get("statusByUserName");
254    
255                    if (statusByUserName != null) {
256                            setStatusByUserName(statusByUserName);
257                    }
258    
259                    Date statusDate = (Date)attributes.get("statusDate");
260    
261                    if (statusDate != null) {
262                            setStatusDate(statusDate);
263                    }
264            }
265    
266            @Override
267            public DLFileEntry getFileEntry()
268                    throws com.liferay.portal.kernel.exception.PortalException {
269                    return _dlFileVersion.getFileEntry();
270            }
271    
272            @Override
273            public DLFileEntryType getDLFileEntryType()
274                    throws com.liferay.portal.kernel.exception.PortalException {
275                    return _dlFileVersion.getDLFileEntryType();
276            }
277    
278            @Override
279            public DLFileVersion toEscapedModel() {
280                    return new DLFileVersionWrapper(_dlFileVersion.toEscapedModel());
281            }
282    
283            @Override
284            public DLFileVersion toUnescapedModel() {
285                    return new DLFileVersionWrapper(_dlFileVersion.toUnescapedModel());
286            }
287    
288            @Override
289            public DLFolder getFolder()
290                    throws com.liferay.portal.kernel.exception.PortalException {
291                    return _dlFileVersion.getFolder();
292            }
293    
294            /**
295            * Returns <code>true</code> if this document library file version is approved.
296            *
297            * @return <code>true</code> if this document library file version is approved; <code>false</code> otherwise
298            */
299            @Override
300            public boolean isApproved() {
301                    return _dlFileVersion.isApproved();
302            }
303    
304            @Override
305            public boolean isCachedModel() {
306                    return _dlFileVersion.isCachedModel();
307            }
308    
309            /**
310            * Returns <code>true</code> if this document library file version is denied.
311            *
312            * @return <code>true</code> if this document library file version is denied; <code>false</code> otherwise
313            */
314            @Override
315            public boolean isDenied() {
316                    return _dlFileVersion.isDenied();
317            }
318    
319            /**
320            * Returns <code>true</code> if this document library file version is a draft.
321            *
322            * @return <code>true</code> if this document library file version is a draft; <code>false</code> otherwise
323            */
324            @Override
325            public boolean isDraft() {
326                    return _dlFileVersion.isDraft();
327            }
328    
329            @Override
330            public boolean isEscapedModel() {
331                    return _dlFileVersion.isEscapedModel();
332            }
333    
334            /**
335            * Returns <code>true</code> if this document library file version is expired.
336            *
337            * @return <code>true</code> if this document library file version is expired; <code>false</code> otherwise
338            */
339            @Override
340            public boolean isExpired() {
341                    return _dlFileVersion.isExpired();
342            }
343    
344            /**
345            * Returns <code>true</code> if this document library file version is inactive.
346            *
347            * @return <code>true</code> if this document library file version is inactive; <code>false</code> otherwise
348            */
349            @Override
350            public boolean isInactive() {
351                    return _dlFileVersion.isInactive();
352            }
353    
354            /**
355            * Returns <code>true</code> if this document library file version is incomplete.
356            *
357            * @return <code>true</code> if this document library file version is incomplete; <code>false</code> otherwise
358            */
359            @Override
360            public boolean isIncomplete() {
361                    return _dlFileVersion.isIncomplete();
362            }
363    
364            @Override
365            public boolean isNew() {
366                    return _dlFileVersion.isNew();
367            }
368    
369            /**
370            * Returns <code>true</code> if this document library file version is pending.
371            *
372            * @return <code>true</code> if this document library file version is pending; <code>false</code> otherwise
373            */
374            @Override
375            public boolean isPending() {
376                    return _dlFileVersion.isPending();
377            }
378    
379            /**
380            * Returns <code>true</code> if this document library file version is scheduled.
381            *
382            * @return <code>true</code> if this document library file version is scheduled; <code>false</code> otherwise
383            */
384            @Override
385            public boolean isScheduled() {
386                    return _dlFileVersion.isScheduled();
387            }
388    
389            @Override
390            public ExpandoBridge getExpandoBridge() {
391                    return _dlFileVersion.getExpandoBridge();
392            }
393    
394            @Override
395            public com.liferay.portal.kernel.model.CacheModel<DLFileVersion> toCacheModel() {
396                    return _dlFileVersion.toCacheModel();
397            }
398    
399            @Override
400            public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() {
401                    return _dlFileVersion.getExtraSettingsProperties();
402            }
403    
404            @Override
405            public int compareTo(DLFileVersion dlFileVersion) {
406                    return _dlFileVersion.compareTo(dlFileVersion);
407            }
408    
409            /**
410            * Returns the status of this document library file version.
411            *
412            * @return the status of this document library file version
413            */
414            @Override
415            public int getStatus() {
416                    return _dlFileVersion.getStatus();
417            }
418    
419            @Override
420            public int hashCode() {
421                    return _dlFileVersion.hashCode();
422            }
423    
424            @Override
425            public java.io.InputStream getContentStream(boolean incrementCounter)
426                    throws com.liferay.portal.kernel.exception.PortalException {
427                    return _dlFileVersion.getContentStream(incrementCounter);
428            }
429    
430            @Override
431            public Serializable getPrimaryKeyObj() {
432                    return _dlFileVersion.getPrimaryKeyObj();
433            }
434    
435            @Override
436            public java.lang.Object clone() {
437                    return new DLFileVersionWrapper((DLFileVersion)_dlFileVersion.clone());
438            }
439    
440            @Override
441            public java.lang.String buildTreePath()
442                    throws com.liferay.portal.kernel.exception.PortalException {
443                    return _dlFileVersion.buildTreePath();
444            }
445    
446            /**
447            * Returns the change log of this document library file version.
448            *
449            * @return the change log of this document library file version
450            */
451            @Override
452            public java.lang.String getChangeLog() {
453                    return _dlFileVersion.getChangeLog();
454            }
455    
456            /**
457            * Returns the checksum of this document library file version.
458            *
459            * @return the checksum of this document library file version
460            */
461            @Override
462            public java.lang.String getChecksum() {
463                    return _dlFileVersion.getChecksum();
464            }
465    
466            /**
467            * Returns the description of this document library file version.
468            *
469            * @return the description of this document library file version
470            */
471            @Override
472            public java.lang.String getDescription() {
473                    return _dlFileVersion.getDescription();
474            }
475    
476            /**
477            * Returns the extension of this document library file version.
478            *
479            * @return the extension of this document library file version
480            */
481            @Override
482            public java.lang.String getExtension() {
483                    return _dlFileVersion.getExtension();
484            }
485    
486            /**
487            * Returns the extra settings of this document library file version.
488            *
489            * @return the extra settings of this document library file version
490            */
491            @Override
492            public java.lang.String getExtraSettings() {
493                    return _dlFileVersion.getExtraSettings();
494            }
495    
496            /**
497            * Returns the file name of this document library file version.
498            *
499            * @return the file name of this document library file version
500            */
501            @Override
502            public java.lang.String getFileName() {
503                    return _dlFileVersion.getFileName();
504            }
505    
506            @Override
507            public java.lang.String getIcon() {
508                    return _dlFileVersion.getIcon();
509            }
510    
511            /**
512            * Returns the mime type of this document library file version.
513            *
514            * @return the mime type of this document library file version
515            */
516            @Override
517            public java.lang.String getMimeType() {
518                    return _dlFileVersion.getMimeType();
519            }
520    
521            /**
522            * Returns the status by user name of this document library file version.
523            *
524            * @return the status by user name of this document library file version
525            */
526            @Override
527            public java.lang.String getStatusByUserName() {
528                    return _dlFileVersion.getStatusByUserName();
529            }
530    
531            /**
532            * Returns the status by user uuid of this document library file version.
533            *
534            * @return the status by user uuid of this document library file version
535            */
536            @Override
537            public java.lang.String getStatusByUserUuid() {
538                    return _dlFileVersion.getStatusByUserUuid();
539            }
540    
541            /**
542            * Returns the title of this document library file version.
543            *
544            * @return the title of this document library file version
545            */
546            @Override
547            public java.lang.String getTitle() {
548                    return _dlFileVersion.getTitle();
549            }
550    
551            /**
552            * Returns the tree path of this document library file version.
553            *
554            * @return the tree path of this document library file version
555            */
556            @Override
557            public java.lang.String getTreePath() {
558                    return _dlFileVersion.getTreePath();
559            }
560    
561            /**
562            * Returns the user name of this document library file version.
563            *
564            * @return the user name of this document library file version
565            */
566            @Override
567            public java.lang.String getUserName() {
568                    return _dlFileVersion.getUserName();
569            }
570    
571            /**
572            * Returns the user uuid of this document library file version.
573            *
574            * @return the user uuid of this document library file version
575            */
576            @Override
577            public java.lang.String getUserUuid() {
578                    return _dlFileVersion.getUserUuid();
579            }
580    
581            /**
582            * Returns the uuid of this document library file version.
583            *
584            * @return the uuid of this document library file version
585            */
586            @Override
587            public java.lang.String getUuid() {
588                    return _dlFileVersion.getUuid();
589            }
590    
591            /**
592            * Returns the version of this document library file version.
593            *
594            * @return the version of this document library file version
595            */
596            @Override
597            public java.lang.String getVersion() {
598                    return _dlFileVersion.getVersion();
599            }
600    
601            @Override
602            public java.lang.String toString() {
603                    return _dlFileVersion.toString();
604            }
605    
606            @Override
607            public java.lang.String toXmlString() {
608                    return _dlFileVersion.toXmlString();
609            }
610    
611            /**
612            * Returns the create date of this document library file version.
613            *
614            * @return the create date of this document library file version
615            */
616            @Override
617            public Date getCreateDate() {
618                    return _dlFileVersion.getCreateDate();
619            }
620    
621            /**
622            * Returns the last publish date of this document library file version.
623            *
624            * @return the last publish date of this document library file version
625            */
626            @Override
627            public Date getLastPublishDate() {
628                    return _dlFileVersion.getLastPublishDate();
629            }
630    
631            /**
632            * Returns the modified date of this document library file version.
633            *
634            * @return the modified date of this document library file version
635            */
636            @Override
637            public Date getModifiedDate() {
638                    return _dlFileVersion.getModifiedDate();
639            }
640    
641            /**
642            * Returns the status date of this document library file version.
643            *
644            * @return the status date of this document library file version
645            */
646            @Override
647            public Date getStatusDate() {
648                    return _dlFileVersion.getStatusDate();
649            }
650    
651            @Override
652            public java.util.List<com.liferay.dynamic.data.mapping.kernel.DDMStructure> getDDMStructures()
653                    throws com.liferay.portal.kernel.exception.PortalException {
654                    return _dlFileVersion.getDDMStructures();
655            }
656    
657            /**
658            * Returns the company ID of this document library file version.
659            *
660            * @return the company ID of this document library file version
661            */
662            @Override
663            public long getCompanyId() {
664                    return _dlFileVersion.getCompanyId();
665            }
666    
667            /**
668            * Returns the file entry ID of this document library file version.
669            *
670            * @return the file entry ID of this document library file version
671            */
672            @Override
673            public long getFileEntryId() {
674                    return _dlFileVersion.getFileEntryId();
675            }
676    
677            /**
678            * Returns the file entry type ID of this document library file version.
679            *
680            * @return the file entry type ID of this document library file version
681            */
682            @Override
683            public long getFileEntryTypeId() {
684                    return _dlFileVersion.getFileEntryTypeId();
685            }
686    
687            /**
688            * Returns the file version ID of this document library file version.
689            *
690            * @return the file version ID of this document library file version
691            */
692            @Override
693            public long getFileVersionId() {
694                    return _dlFileVersion.getFileVersionId();
695            }
696    
697            /**
698            * Returns the folder ID of this document library file version.
699            *
700            * @return the folder ID of this document library file version
701            */
702            @Override
703            public long getFolderId() {
704                    return _dlFileVersion.getFolderId();
705            }
706    
707            /**
708            * Returns the group ID of this document library file version.
709            *
710            * @return the group ID of this document library file version
711            */
712            @Override
713            public long getGroupId() {
714                    return _dlFileVersion.getGroupId();
715            }
716    
717            /**
718            * Returns the primary key of this document library file version.
719            *
720            * @return the primary key of this document library file version
721            */
722            @Override
723            public long getPrimaryKey() {
724                    return _dlFileVersion.getPrimaryKey();
725            }
726    
727            /**
728            * Returns the repository ID of this document library file version.
729            *
730            * @return the repository ID of this document library file version
731            */
732            @Override
733            public long getRepositoryId() {
734                    return _dlFileVersion.getRepositoryId();
735            }
736    
737            /**
738            * Returns the size of this document library file version.
739            *
740            * @return the size of this document library file version
741            */
742            @Override
743            public long getSize() {
744                    return _dlFileVersion.getSize();
745            }
746    
747            /**
748            * Returns the status by user ID of this document library file version.
749            *
750            * @return the status by user ID of this document library file version
751            */
752            @Override
753            public long getStatusByUserId() {
754                    return _dlFileVersion.getStatusByUserId();
755            }
756    
757            /**
758            * Returns the user ID of this document library file version.
759            *
760            * @return the user ID of this document library file version
761            */
762            @Override
763            public long getUserId() {
764                    return _dlFileVersion.getUserId();
765            }
766    
767            @Override
768            public void persist() {
769                    _dlFileVersion.persist();
770            }
771    
772            @Override
773            public void setCachedModel(boolean cachedModel) {
774                    _dlFileVersion.setCachedModel(cachedModel);
775            }
776    
777            /**
778            * Sets the change log of this document library file version.
779            *
780            * @param changeLog the change log of this document library file version
781            */
782            @Override
783            public void setChangeLog(java.lang.String changeLog) {
784                    _dlFileVersion.setChangeLog(changeLog);
785            }
786    
787            /**
788            * Sets the checksum of this document library file version.
789            *
790            * @param checksum the checksum of this document library file version
791            */
792            @Override
793            public void setChecksum(java.lang.String checksum) {
794                    _dlFileVersion.setChecksum(checksum);
795            }
796    
797            /**
798            * Sets the company ID of this document library file version.
799            *
800            * @param companyId the company ID of this document library file version
801            */
802            @Override
803            public void setCompanyId(long companyId) {
804                    _dlFileVersion.setCompanyId(companyId);
805            }
806    
807            /**
808            * Sets the create date of this document library file version.
809            *
810            * @param createDate the create date of this document library file version
811            */
812            @Override
813            public void setCreateDate(Date createDate) {
814                    _dlFileVersion.setCreateDate(createDate);
815            }
816    
817            /**
818            * Sets the description of this document library file version.
819            *
820            * @param description the description of this document library file version
821            */
822            @Override
823            public void setDescription(java.lang.String description) {
824                    _dlFileVersion.setDescription(description);
825            }
826    
827            @Override
828            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
829                    _dlFileVersion.setExpandoBridgeAttributes(expandoBridge);
830            }
831    
832            @Override
833            public void setExpandoBridgeAttributes(
834                    com.liferay.portal.kernel.model.BaseModel<?> baseModel) {
835                    _dlFileVersion.setExpandoBridgeAttributes(baseModel);
836            }
837    
838            @Override
839            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
840                    _dlFileVersion.setExpandoBridgeAttributes(serviceContext);
841            }
842    
843            /**
844            * Sets the extension of this document library file version.
845            *
846            * @param extension the extension of this document library file version
847            */
848            @Override
849            public void setExtension(java.lang.String extension) {
850                    _dlFileVersion.setExtension(extension);
851            }
852    
853            /**
854            * Sets the extra settings of this document library file version.
855            *
856            * @param extraSettings the extra settings of this document library file version
857            */
858            @Override
859            public void setExtraSettings(java.lang.String extraSettings) {
860                    _dlFileVersion.setExtraSettings(extraSettings);
861            }
862    
863            @Override
864            public void setExtraSettingsProperties(
865                    com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) {
866                    _dlFileVersion.setExtraSettingsProperties(extraSettingsProperties);
867            }
868    
869            /**
870            * Sets the file entry ID of this document library file version.
871            *
872            * @param fileEntryId the file entry ID of this document library file version
873            */
874            @Override
875            public void setFileEntryId(long fileEntryId) {
876                    _dlFileVersion.setFileEntryId(fileEntryId);
877            }
878    
879            /**
880            * Sets the file entry type ID of this document library file version.
881            *
882            * @param fileEntryTypeId the file entry type ID of this document library file version
883            */
884            @Override
885            public void setFileEntryTypeId(long fileEntryTypeId) {
886                    _dlFileVersion.setFileEntryTypeId(fileEntryTypeId);
887            }
888    
889            /**
890            * Sets the file name of this document library file version.
891            *
892            * @param fileName the file name of this document library file version
893            */
894            @Override
895            public void setFileName(java.lang.String fileName) {
896                    _dlFileVersion.setFileName(fileName);
897            }
898    
899            /**
900            * Sets the file version ID of this document library file version.
901            *
902            * @param fileVersionId the file version ID of this document library file version
903            */
904            @Override
905            public void setFileVersionId(long fileVersionId) {
906                    _dlFileVersion.setFileVersionId(fileVersionId);
907            }
908    
909            /**
910            * Sets the folder ID of this document library file version.
911            *
912            * @param folderId the folder ID of this document library file version
913            */
914            @Override
915            public void setFolderId(long folderId) {
916                    _dlFileVersion.setFolderId(folderId);
917            }
918    
919            /**
920            * Sets the group ID of this document library file version.
921            *
922            * @param groupId the group ID of this document library file version
923            */
924            @Override
925            public void setGroupId(long groupId) {
926                    _dlFileVersion.setGroupId(groupId);
927            }
928    
929            /**
930            * Sets the last publish date of this document library file version.
931            *
932            * @param lastPublishDate the last publish date of this document library file version
933            */
934            @Override
935            public void setLastPublishDate(Date lastPublishDate) {
936                    _dlFileVersion.setLastPublishDate(lastPublishDate);
937            }
938    
939            /**
940            * Sets the mime type of this document library file version.
941            *
942            * @param mimeType the mime type of this document library file version
943            */
944            @Override
945            public void setMimeType(java.lang.String mimeType) {
946                    _dlFileVersion.setMimeType(mimeType);
947            }
948    
949            /**
950            * Sets the modified date of this document library file version.
951            *
952            * @param modifiedDate the modified date of this document library file version
953            */
954            @Override
955            public void setModifiedDate(Date modifiedDate) {
956                    _dlFileVersion.setModifiedDate(modifiedDate);
957            }
958    
959            @Override
960            public void setNew(boolean n) {
961                    _dlFileVersion.setNew(n);
962            }
963    
964            /**
965            * Sets the primary key of this document library file version.
966            *
967            * @param primaryKey the primary key of this document library file version
968            */
969            @Override
970            public void setPrimaryKey(long primaryKey) {
971                    _dlFileVersion.setPrimaryKey(primaryKey);
972            }
973    
974            @Override
975            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
976                    _dlFileVersion.setPrimaryKeyObj(primaryKeyObj);
977            }
978    
979            /**
980            * Sets the repository ID of this document library file version.
981            *
982            * @param repositoryId the repository ID of this document library file version
983            */
984            @Override
985            public void setRepositoryId(long repositoryId) {
986                    _dlFileVersion.setRepositoryId(repositoryId);
987            }
988    
989            /**
990            * Sets the size of this document library file version.
991            *
992            * @param size the size of this document library file version
993            */
994            @Override
995            public void setSize(long size) {
996                    _dlFileVersion.setSize(size);
997            }
998    
999            /**
1000            * Sets the status of this document library file version.
1001            *
1002            * @param status the status of this document library file version
1003            */
1004            @Override
1005            public void setStatus(int status) {
1006                    _dlFileVersion.setStatus(status);
1007            }
1008    
1009            /**
1010            * Sets the status by user ID of this document library file version.
1011            *
1012            * @param statusByUserId the status by user ID of this document library file version
1013            */
1014            @Override
1015            public void setStatusByUserId(long statusByUserId) {
1016                    _dlFileVersion.setStatusByUserId(statusByUserId);
1017            }
1018    
1019            /**
1020            * Sets the status by user name of this document library file version.
1021            *
1022            * @param statusByUserName the status by user name of this document library file version
1023            */
1024            @Override
1025            public void setStatusByUserName(java.lang.String statusByUserName) {
1026                    _dlFileVersion.setStatusByUserName(statusByUserName);
1027            }
1028    
1029            /**
1030            * Sets the status by user uuid of this document library file version.
1031            *
1032            * @param statusByUserUuid the status by user uuid of this document library file version
1033            */
1034            @Override
1035            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1036                    _dlFileVersion.setStatusByUserUuid(statusByUserUuid);
1037            }
1038    
1039            /**
1040            * Sets the status date of this document library file version.
1041            *
1042            * @param statusDate the status date of this document library file version
1043            */
1044            @Override
1045            public void setStatusDate(Date statusDate) {
1046                    _dlFileVersion.setStatusDate(statusDate);
1047            }
1048    
1049            /**
1050            * Sets the title of this document library file version.
1051            *
1052            * @param title the title of this document library file version
1053            */
1054            @Override
1055            public void setTitle(java.lang.String title) {
1056                    _dlFileVersion.setTitle(title);
1057            }
1058    
1059            /**
1060            * Sets the tree path of this document library file version.
1061            *
1062            * @param treePath the tree path of this document library file version
1063            */
1064            @Override
1065            public void setTreePath(java.lang.String treePath) {
1066                    _dlFileVersion.setTreePath(treePath);
1067            }
1068    
1069            /**
1070            * Sets the user ID of this document library file version.
1071            *
1072            * @param userId the user ID of this document library file version
1073            */
1074            @Override
1075            public void setUserId(long userId) {
1076                    _dlFileVersion.setUserId(userId);
1077            }
1078    
1079            /**
1080            * Sets the user name of this document library file version.
1081            *
1082            * @param userName the user name of this document library file version
1083            */
1084            @Override
1085            public void setUserName(java.lang.String userName) {
1086                    _dlFileVersion.setUserName(userName);
1087            }
1088    
1089            /**
1090            * Sets the user uuid of this document library file version.
1091            *
1092            * @param userUuid the user uuid of this document library file version
1093            */
1094            @Override
1095            public void setUserUuid(java.lang.String userUuid) {
1096                    _dlFileVersion.setUserUuid(userUuid);
1097            }
1098    
1099            /**
1100            * Sets the uuid of this document library file version.
1101            *
1102            * @param uuid the uuid of this document library file version
1103            */
1104            @Override
1105            public void setUuid(java.lang.String uuid) {
1106                    _dlFileVersion.setUuid(uuid);
1107            }
1108    
1109            /**
1110            * Sets the version of this document library file version.
1111            *
1112            * @param version the version of this document library file version
1113            */
1114            @Override
1115            public void setVersion(java.lang.String version) {
1116                    _dlFileVersion.setVersion(version);
1117            }
1118    
1119            @Override
1120            public void updateTreePath(java.lang.String treePath) {
1121                    _dlFileVersion.updateTreePath(treePath);
1122            }
1123    
1124            @Override
1125            public boolean equals(Object obj) {
1126                    if (this == obj) {
1127                            return true;
1128                    }
1129    
1130                    if (!(obj instanceof DLFileVersionWrapper)) {
1131                            return false;
1132                    }
1133    
1134                    DLFileVersionWrapper dlFileVersionWrapper = (DLFileVersionWrapper)obj;
1135    
1136                    if (Objects.equals(_dlFileVersion, dlFileVersionWrapper._dlFileVersion)) {
1137                            return true;
1138                    }
1139    
1140                    return false;
1141            }
1142    
1143            @Override
1144            public StagedModelType getStagedModelType() {
1145                    return _dlFileVersion.getStagedModelType();
1146            }
1147    
1148            @Override
1149            public DLFileVersion getWrappedModel() {
1150                    return _dlFileVersion;
1151            }
1152    
1153            @Override
1154            public boolean isEntityCacheEnabled() {
1155                    return _dlFileVersion.isEntityCacheEnabled();
1156            }
1157    
1158            @Override
1159            public boolean isFinderCacheEnabled() {
1160                    return _dlFileVersion.isFinderCacheEnabled();
1161            }
1162    
1163            @Override
1164            public void resetOriginalValues() {
1165                    _dlFileVersion.resetOriginalValues();
1166            }
1167    
1168            private final DLFileVersion _dlFileVersion;
1169    }