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