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