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