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