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