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