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