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            * Returns the company ID of this document library file shortcut.
220            *
221            * @return the company ID of this document library file shortcut
222            */
223            @Override
224            public long getCompanyId() {
225                    return _dlFileShortcut.getCompanyId();
226            }
227    
228            /**
229            * Returns the create date of this document library file shortcut.
230            *
231            * @return the create date of this document library file shortcut
232            */
233            @Override
234            public Date getCreateDate() {
235                    return _dlFileShortcut.getCreateDate();
236            }
237    
238            @Override
239            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder()
240                    throws com.liferay.portal.kernel.exception.PortalException {
241                    return _dlFileShortcut.getDLFolder();
242            }
243    
244            @Override
245            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
246                    return _dlFileShortcut.getExpandoBridge();
247            }
248    
249            /**
250            * Returns the file shortcut ID of this document library file shortcut.
251            *
252            * @return the file shortcut ID of this document library file shortcut
253            */
254            @Override
255            public long getFileShortcutId() {
256                    return _dlFileShortcut.getFileShortcutId();
257            }
258    
259            @Override
260            public com.liferay.portal.kernel.repository.model.FileVersion getFileVersion()
261                    throws com.liferay.portal.kernel.exception.PortalException {
262                    return _dlFileShortcut.getFileVersion();
263            }
264    
265            @Override
266            public com.liferay.portal.kernel.repository.model.Folder getFolder()
267                    throws com.liferay.portal.kernel.exception.PortalException {
268                    return _dlFileShortcut.getFolder();
269            }
270    
271            /**
272            * Returns the folder ID of this document library file shortcut.
273            *
274            * @return the folder ID of this document library file shortcut
275            */
276            @Override
277            public long getFolderId() {
278                    return _dlFileShortcut.getFolderId();
279            }
280    
281            /**
282            * Returns the group ID of this document library file shortcut.
283            *
284            * @return the group ID of this document library file shortcut
285            */
286            @Override
287            public long getGroupId() {
288                    return _dlFileShortcut.getGroupId();
289            }
290    
291            /**
292            * Returns the last publish date of this document library file shortcut.
293            *
294            * @return the last publish date of this document library file shortcut
295            */
296            @Override
297            public Date getLastPublishDate() {
298                    return _dlFileShortcut.getLastPublishDate();
299            }
300    
301            /**
302            * Returns the modified date of this document library file shortcut.
303            *
304            * @return the modified date of this document library file shortcut
305            */
306            @Override
307            public Date getModifiedDate() {
308                    return _dlFileShortcut.getModifiedDate();
309            }
310    
311            /**
312            * Returns the primary key of this document library file shortcut.
313            *
314            * @return the primary key of this document library file shortcut
315            */
316            @Override
317            public long getPrimaryKey() {
318                    return _dlFileShortcut.getPrimaryKey();
319            }
320    
321            @Override
322            public java.io.Serializable getPrimaryKeyObj() {
323                    return _dlFileShortcut.getPrimaryKeyObj();
324            }
325    
326            /**
327            * Returns the repository ID of this document library file shortcut.
328            *
329            * @return the repository ID of this document library file shortcut
330            */
331            @Override
332            public long getRepositoryId() {
333                    return _dlFileShortcut.getRepositoryId();
334            }
335    
336            /**
337            * Returns the status of this document library file shortcut.
338            *
339            * @return the status of this document library file shortcut
340            */
341            @Override
342            public int getStatus() {
343                    return _dlFileShortcut.getStatus();
344            }
345    
346            /**
347            * Returns the status by user ID of this document library file shortcut.
348            *
349            * @return the status by user ID of this document library file shortcut
350            */
351            @Override
352            public long getStatusByUserId() {
353                    return _dlFileShortcut.getStatusByUserId();
354            }
355    
356            /**
357            * Returns the status by user name of this document library file shortcut.
358            *
359            * @return the status by user name of this document library file shortcut
360            */
361            @Override
362            public java.lang.String getStatusByUserName() {
363                    return _dlFileShortcut.getStatusByUserName();
364            }
365    
366            /**
367            * Returns the status by user uuid of this document library file shortcut.
368            *
369            * @return the status by user uuid of this document library file shortcut
370            */
371            @Override
372            public java.lang.String getStatusByUserUuid() {
373                    return _dlFileShortcut.getStatusByUserUuid();
374            }
375    
376            /**
377            * Returns the status date of this document library file shortcut.
378            *
379            * @return the status date of this document library file shortcut
380            */
381            @Override
382            public Date getStatusDate() {
383                    return _dlFileShortcut.getStatusDate();
384            }
385    
386            /**
387            * Returns the to file entry ID of this document library file shortcut.
388            *
389            * @return the to file entry ID of this document library file shortcut
390            */
391            @Override
392            public long getToFileEntryId() {
393                    return _dlFileShortcut.getToFileEntryId();
394            }
395    
396            @Override
397            public java.lang.String getToTitle() {
398                    return _dlFileShortcut.getToTitle();
399            }
400    
401            /**
402            * 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.
403            *
404            * @return the trash entry created when this document library file shortcut was moved to the Recycle Bin
405            */
406            @Override
407            public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
408                    throws com.liferay.portal.kernel.exception.PortalException {
409                    return _dlFileShortcut.getTrashEntry();
410            }
411    
412            /**
413            * Returns the class primary key of the trash entry for this document library file shortcut.
414            *
415            * @return the class primary key of the trash entry for this document library file shortcut
416            */
417            @Override
418            public long getTrashEntryClassPK() {
419                    return _dlFileShortcut.getTrashEntryClassPK();
420            }
421    
422            /**
423            * Returns the trash handler for this document library file shortcut.
424            *
425            * @return the trash handler for this document library file shortcut
426            */
427            @Override
428            public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
429                    return _dlFileShortcut.getTrashHandler();
430            }
431    
432            /**
433            * Returns the tree path of this document library file shortcut.
434            *
435            * @return the tree path of this document library file shortcut
436            */
437            @Override
438            public java.lang.String getTreePath() {
439                    return _dlFileShortcut.getTreePath();
440            }
441    
442            /**
443            * Returns the user ID of this document library file shortcut.
444            *
445            * @return the user ID of this document library file shortcut
446            */
447            @Override
448            public long getUserId() {
449                    return _dlFileShortcut.getUserId();
450            }
451    
452            /**
453            * Returns the user name of this document library file shortcut.
454            *
455            * @return the user name of this document library file shortcut
456            */
457            @Override
458            public java.lang.String getUserName() {
459                    return _dlFileShortcut.getUserName();
460            }
461    
462            /**
463            * Returns the user uuid of this document library file shortcut.
464            *
465            * @return the user uuid of this document library file shortcut
466            */
467            @Override
468            public java.lang.String getUserUuid() {
469                    return _dlFileShortcut.getUserUuid();
470            }
471    
472            /**
473            * Returns the uuid of this document library file shortcut.
474            *
475            * @return the uuid of this document library file shortcut
476            */
477            @Override
478            public java.lang.String getUuid() {
479                    return _dlFileShortcut.getUuid();
480            }
481    
482            @Override
483            public int hashCode() {
484                    return _dlFileShortcut.hashCode();
485            }
486    
487            /**
488            * Returns <code>true</code> if this document library file shortcut is active.
489            *
490            * @return <code>true</code> if this document library file shortcut is active; <code>false</code> otherwise
491            */
492            @Override
493            public boolean isActive() {
494                    return _dlFileShortcut.isActive();
495            }
496    
497            /**
498            * Returns <code>true</code> if this document library file shortcut is approved.
499            *
500            * @return <code>true</code> if this document library file shortcut is approved; <code>false</code> otherwise
501            */
502            @Override
503            public boolean isApproved() {
504                    return _dlFileShortcut.isApproved();
505            }
506    
507            @Override
508            public boolean isCachedModel() {
509                    return _dlFileShortcut.isCachedModel();
510            }
511    
512            /**
513            * Returns <code>true</code> if this document library file shortcut is denied.
514            *
515            * @return <code>true</code> if this document library file shortcut is denied; <code>false</code> otherwise
516            */
517            @Override
518            public boolean isDenied() {
519                    return _dlFileShortcut.isDenied();
520            }
521    
522            /**
523            * Returns <code>true</code> if this document library file shortcut is a draft.
524            *
525            * @return <code>true</code> if this document library file shortcut is a draft; <code>false</code> otherwise
526            */
527            @Override
528            public boolean isDraft() {
529                    return _dlFileShortcut.isDraft();
530            }
531    
532            @Override
533            public boolean isEscapedModel() {
534                    return _dlFileShortcut.isEscapedModel();
535            }
536    
537            /**
538            * Returns <code>true</code> if this document library file shortcut is expired.
539            *
540            * @return <code>true</code> if this document library file shortcut is expired; <code>false</code> otherwise
541            */
542            @Override
543            public boolean isExpired() {
544                    return _dlFileShortcut.isExpired();
545            }
546    
547            @Override
548            public boolean isInHiddenFolder() {
549                    return _dlFileShortcut.isInHiddenFolder();
550            }
551    
552            /**
553            * Returns <code>true</code> if this document library file shortcut is in the Recycle Bin.
554            *
555            * @return <code>true</code> if this document library file shortcut is in the Recycle Bin; <code>false</code> otherwise
556            */
557            @Override
558            public boolean isInTrash() {
559                    return _dlFileShortcut.isInTrash();
560            }
561    
562            /**
563            * Returns <code>true</code> if the parent of this document library file shortcut is in the Recycle Bin.
564            *
565            * @return <code>true</code> if the parent of this document library file shortcut is in the Recycle Bin; <code>false</code> otherwise
566            */
567            @Override
568            public boolean isInTrashContainer() {
569                    return _dlFileShortcut.isInTrashContainer();
570            }
571    
572            @Override
573            public boolean isInTrashExplicitly() {
574                    return _dlFileShortcut.isInTrashExplicitly();
575            }
576    
577            @Override
578            public boolean isInTrashImplicitly() {
579                    return _dlFileShortcut.isInTrashImplicitly();
580            }
581    
582            /**
583            * Returns <code>true</code> if this document library file shortcut is inactive.
584            *
585            * @return <code>true</code> if this document library file shortcut is inactive; <code>false</code> otherwise
586            */
587            @Override
588            public boolean isInactive() {
589                    return _dlFileShortcut.isInactive();
590            }
591    
592            /**
593            * Returns <code>true</code> if this document library file shortcut is incomplete.
594            *
595            * @return <code>true</code> if this document library file shortcut is incomplete; <code>false</code> otherwise
596            */
597            @Override
598            public boolean isIncomplete() {
599                    return _dlFileShortcut.isIncomplete();
600            }
601    
602            @Override
603            public boolean isNew() {
604                    return _dlFileShortcut.isNew();
605            }
606    
607            /**
608            * Returns <code>true</code> if this document library file shortcut is pending.
609            *
610            * @return <code>true</code> if this document library file shortcut is pending; <code>false</code> otherwise
611            */
612            @Override
613            public boolean isPending() {
614                    return _dlFileShortcut.isPending();
615            }
616    
617            /**
618            * Returns <code>true</code> if this document library file shortcut is scheduled.
619            *
620            * @return <code>true</code> if this document library file shortcut is scheduled; <code>false</code> otherwise
621            */
622            @Override
623            public boolean isScheduled() {
624                    return _dlFileShortcut.isScheduled();
625            }
626    
627            @Override
628            public void persist() {
629                    _dlFileShortcut.persist();
630            }
631    
632            /**
633            * Sets whether this document library file shortcut is active.
634            *
635            * @param active the active of this document library file shortcut
636            */
637            @Override
638            public void setActive(boolean active) {
639                    _dlFileShortcut.setActive(active);
640            }
641    
642            @Override
643            public void setCachedModel(boolean cachedModel) {
644                    _dlFileShortcut.setCachedModel(cachedModel);
645            }
646    
647            /**
648            * Sets the company ID of this document library file shortcut.
649            *
650            * @param companyId the company ID of this document library file shortcut
651            */
652            @Override
653            public void setCompanyId(long companyId) {
654                    _dlFileShortcut.setCompanyId(companyId);
655            }
656    
657            /**
658            * Sets the create date of this document library file shortcut.
659            *
660            * @param createDate the create date of this document library file shortcut
661            */
662            @Override
663            public void setCreateDate(Date createDate) {
664                    _dlFileShortcut.setCreateDate(createDate);
665            }
666    
667            @Override
668            public void setExpandoBridgeAttributes(
669                    com.liferay.portal.model.BaseModel<?> baseModel) {
670                    _dlFileShortcut.setExpandoBridgeAttributes(baseModel);
671            }
672    
673            @Override
674            public void setExpandoBridgeAttributes(
675                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
676                    _dlFileShortcut.setExpandoBridgeAttributes(expandoBridge);
677            }
678    
679            @Override
680            public void setExpandoBridgeAttributes(
681                    com.liferay.portal.service.ServiceContext serviceContext) {
682                    _dlFileShortcut.setExpandoBridgeAttributes(serviceContext);
683            }
684    
685            /**
686            * Sets the file shortcut ID of this document library file shortcut.
687            *
688            * @param fileShortcutId the file shortcut ID of this document library file shortcut
689            */
690            @Override
691            public void setFileShortcutId(long fileShortcutId) {
692                    _dlFileShortcut.setFileShortcutId(fileShortcutId);
693            }
694    
695            /**
696            * Sets the folder ID of this document library file shortcut.
697            *
698            * @param folderId the folder ID of this document library file shortcut
699            */
700            @Override
701            public void setFolderId(long folderId) {
702                    _dlFileShortcut.setFolderId(folderId);
703            }
704    
705            /**
706            * Sets the group ID of this document library file shortcut.
707            *
708            * @param groupId the group ID of this document library file shortcut
709            */
710            @Override
711            public void setGroupId(long groupId) {
712                    _dlFileShortcut.setGroupId(groupId);
713            }
714    
715            /**
716            * Sets the last publish date of this document library file shortcut.
717            *
718            * @param lastPublishDate the last publish date of this document library file shortcut
719            */
720            @Override
721            public void setLastPublishDate(Date lastPublishDate) {
722                    _dlFileShortcut.setLastPublishDate(lastPublishDate);
723            }
724    
725            /**
726            * Sets the modified date of this document library file shortcut.
727            *
728            * @param modifiedDate the modified date of this document library file shortcut
729            */
730            @Override
731            public void setModifiedDate(Date modifiedDate) {
732                    _dlFileShortcut.setModifiedDate(modifiedDate);
733            }
734    
735            @Override
736            public void setNew(boolean n) {
737                    _dlFileShortcut.setNew(n);
738            }
739    
740            /**
741            * Sets the primary key of this document library file shortcut.
742            *
743            * @param primaryKey the primary key of this document library file shortcut
744            */
745            @Override
746            public void setPrimaryKey(long primaryKey) {
747                    _dlFileShortcut.setPrimaryKey(primaryKey);
748            }
749    
750            @Override
751            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
752                    _dlFileShortcut.setPrimaryKeyObj(primaryKeyObj);
753            }
754    
755            /**
756            * Sets the repository ID of this document library file shortcut.
757            *
758            * @param repositoryId the repository ID of this document library file shortcut
759            */
760            @Override
761            public void setRepositoryId(long repositoryId) {
762                    _dlFileShortcut.setRepositoryId(repositoryId);
763            }
764    
765            /**
766            * Sets the status of this document library file shortcut.
767            *
768            * @param status the status of this document library file shortcut
769            */
770            @Override
771            public void setStatus(int status) {
772                    _dlFileShortcut.setStatus(status);
773            }
774    
775            /**
776            * Sets the status by user ID of this document library file shortcut.
777            *
778            * @param statusByUserId the status by user ID of this document library file shortcut
779            */
780            @Override
781            public void setStatusByUserId(long statusByUserId) {
782                    _dlFileShortcut.setStatusByUserId(statusByUserId);
783            }
784    
785            /**
786            * Sets the status by user name of this document library file shortcut.
787            *
788            * @param statusByUserName the status by user name of this document library file shortcut
789            */
790            @Override
791            public void setStatusByUserName(java.lang.String statusByUserName) {
792                    _dlFileShortcut.setStatusByUserName(statusByUserName);
793            }
794    
795            /**
796            * Sets the status by user uuid of this document library file shortcut.
797            *
798            * @param statusByUserUuid the status by user uuid of this document library file shortcut
799            */
800            @Override
801            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
802                    _dlFileShortcut.setStatusByUserUuid(statusByUserUuid);
803            }
804    
805            /**
806            * Sets the status date of this document library file shortcut.
807            *
808            * @param statusDate the status date of this document library file shortcut
809            */
810            @Override
811            public void setStatusDate(Date statusDate) {
812                    _dlFileShortcut.setStatusDate(statusDate);
813            }
814    
815            /**
816            * Sets the to file entry ID of this document library file shortcut.
817            *
818            * @param toFileEntryId the to file entry ID of this document library file shortcut
819            */
820            @Override
821            public void setToFileEntryId(long toFileEntryId) {
822                    _dlFileShortcut.setToFileEntryId(toFileEntryId);
823            }
824    
825            /**
826            * Sets the tree path of this document library file shortcut.
827            *
828            * @param treePath the tree path of this document library file shortcut
829            */
830            @Override
831            public void setTreePath(java.lang.String treePath) {
832                    _dlFileShortcut.setTreePath(treePath);
833            }
834    
835            /**
836            * Sets the user ID of this document library file shortcut.
837            *
838            * @param userId the user ID of this document library file shortcut
839            */
840            @Override
841            public void setUserId(long userId) {
842                    _dlFileShortcut.setUserId(userId);
843            }
844    
845            /**
846            * Sets the user name of this document library file shortcut.
847            *
848            * @param userName the user name of this document library file shortcut
849            */
850            @Override
851            public void setUserName(java.lang.String userName) {
852                    _dlFileShortcut.setUserName(userName);
853            }
854    
855            /**
856            * Sets the user uuid of this document library file shortcut.
857            *
858            * @param userUuid the user uuid of this document library file shortcut
859            */
860            @Override
861            public void setUserUuid(java.lang.String userUuid) {
862                    _dlFileShortcut.setUserUuid(userUuid);
863            }
864    
865            /**
866            * Sets the uuid of this document library file shortcut.
867            *
868            * @param uuid the uuid of this document library file shortcut
869            */
870            @Override
871            public void setUuid(java.lang.String uuid) {
872                    _dlFileShortcut.setUuid(uuid);
873            }
874    
875            @Override
876            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileShortcut> toCacheModel() {
877                    return _dlFileShortcut.toCacheModel();
878            }
879    
880            @Override
881            public com.liferay.portlet.documentlibrary.model.DLFileShortcut toEscapedModel() {
882                    return new DLFileShortcutWrapper(_dlFileShortcut.toEscapedModel());
883            }
884    
885            @Override
886            public java.lang.String toString() {
887                    return _dlFileShortcut.toString();
888            }
889    
890            @Override
891            public com.liferay.portlet.documentlibrary.model.DLFileShortcut toUnescapedModel() {
892                    return new DLFileShortcutWrapper(_dlFileShortcut.toUnescapedModel());
893            }
894    
895            @Override
896            public java.lang.String toXmlString() {
897                    return _dlFileShortcut.toXmlString();
898            }
899    
900            @Override
901            public void updateTreePath(java.lang.String treePath) {
902                    _dlFileShortcut.updateTreePath(treePath);
903            }
904    
905            @Override
906            public boolean equals(Object obj) {
907                    if (this == obj) {
908                            return true;
909                    }
910    
911                    if (!(obj instanceof DLFileShortcutWrapper)) {
912                            return false;
913                    }
914    
915                    DLFileShortcutWrapper dlFileShortcutWrapper = (DLFileShortcutWrapper)obj;
916    
917                    if (Validator.equals(_dlFileShortcut,
918                                            dlFileShortcutWrapper._dlFileShortcut)) {
919                            return true;
920                    }
921    
922                    return false;
923            }
924    
925            @Override
926            public StagedModelType getStagedModelType() {
927                    return _dlFileShortcut.getStagedModelType();
928            }
929    
930            @Override
931            public DLFileShortcut getWrappedModel() {
932                    return _dlFileShortcut;
933            }
934    
935            @Override
936            public boolean isEntityCacheEnabled() {
937                    return _dlFileShortcut.isEntityCacheEnabled();
938            }
939    
940            @Override
941            public boolean isFinderCacheEnabled() {
942                    return _dlFileShortcut.isFinderCacheEnabled();
943            }
944    
945            @Override
946            public void resetOriginalValues() {
947                    _dlFileShortcut.resetOriginalValues();
948            }
949    
950            private final DLFileShortcut _dlFileShortcut;
951    }