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