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