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