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