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