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