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