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