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