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