001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.bookmarks.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BookmarksEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BookmarksEntry
024     * @generated
025     */
026    public class BookmarksEntryWrapper implements BookmarksEntry {
027            public BookmarksEntryWrapper(BookmarksEntry bookmarksEntry) {
028                    _bookmarksEntry = bookmarksEntry;
029            }
030    
031            /**
032            * Gets the primary key of this bookmarks entry.
033            *
034            * @return the primary key of this bookmarks entry
035            */
036            public long getPrimaryKey() {
037                    return _bookmarksEntry.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this bookmarks entry
042            *
043            * @param pk the primary key of this bookmarks entry
044            */
045            public void setPrimaryKey(long pk) {
046                    _bookmarksEntry.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this bookmarks entry.
051            *
052            * @return the uuid of this bookmarks entry
053            */
054            public java.lang.String getUuid() {
055                    return _bookmarksEntry.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this bookmarks entry.
060            *
061            * @param uuid the uuid of this bookmarks entry
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _bookmarksEntry.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the entry id of this bookmarks entry.
069            *
070            * @return the entry id of this bookmarks entry
071            */
072            public long getEntryId() {
073                    return _bookmarksEntry.getEntryId();
074            }
075    
076            /**
077            * Sets the entry id of this bookmarks entry.
078            *
079            * @param entryId the entry id of this bookmarks entry
080            */
081            public void setEntryId(long entryId) {
082                    _bookmarksEntry.setEntryId(entryId);
083            }
084    
085            /**
086            * Gets the group id of this bookmarks entry.
087            *
088            * @return the group id of this bookmarks entry
089            */
090            public long getGroupId() {
091                    return _bookmarksEntry.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this bookmarks entry.
096            *
097            * @param groupId the group id of this bookmarks entry
098            */
099            public void setGroupId(long groupId) {
100                    _bookmarksEntry.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this bookmarks entry.
105            *
106            * @return the company id of this bookmarks entry
107            */
108            public long getCompanyId() {
109                    return _bookmarksEntry.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this bookmarks entry.
114            *
115            * @param companyId the company id of this bookmarks entry
116            */
117            public void setCompanyId(long companyId) {
118                    _bookmarksEntry.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this bookmarks entry.
123            *
124            * @return the user id of this bookmarks entry
125            */
126            public long getUserId() {
127                    return _bookmarksEntry.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this bookmarks entry.
132            *
133            * @param userId the user id of this bookmarks entry
134            */
135            public void setUserId(long userId) {
136                    _bookmarksEntry.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this bookmarks entry.
141            *
142            * @return the user uuid of this bookmarks entry
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _bookmarksEntry.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this bookmarks entry.
152            *
153            * @param userUuid the user uuid of this bookmarks entry
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _bookmarksEntry.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the create date of this bookmarks entry.
161            *
162            * @return the create date of this bookmarks entry
163            */
164            public java.util.Date getCreateDate() {
165                    return _bookmarksEntry.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this bookmarks entry.
170            *
171            * @param createDate the create date of this bookmarks entry
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _bookmarksEntry.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this bookmarks entry.
179            *
180            * @return the modified date of this bookmarks entry
181            */
182            public java.util.Date getModifiedDate() {
183                    return _bookmarksEntry.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this bookmarks entry.
188            *
189            * @param modifiedDate the modified date of this bookmarks entry
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _bookmarksEntry.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the folder id of this bookmarks entry.
197            *
198            * @return the folder id of this bookmarks entry
199            */
200            public long getFolderId() {
201                    return _bookmarksEntry.getFolderId();
202            }
203    
204            /**
205            * Sets the folder id of this bookmarks entry.
206            *
207            * @param folderId the folder id of this bookmarks entry
208            */
209            public void setFolderId(long folderId) {
210                    _bookmarksEntry.setFolderId(folderId);
211            }
212    
213            /**
214            * Gets the name of this bookmarks entry.
215            *
216            * @return the name of this bookmarks entry
217            */
218            public java.lang.String getName() {
219                    return _bookmarksEntry.getName();
220            }
221    
222            /**
223            * Sets the name of this bookmarks entry.
224            *
225            * @param name the name of this bookmarks entry
226            */
227            public void setName(java.lang.String name) {
228                    _bookmarksEntry.setName(name);
229            }
230    
231            /**
232            * Gets the url of this bookmarks entry.
233            *
234            * @return the url of this bookmarks entry
235            */
236            public java.lang.String getUrl() {
237                    return _bookmarksEntry.getUrl();
238            }
239    
240            /**
241            * Sets the url of this bookmarks entry.
242            *
243            * @param url the url of this bookmarks entry
244            */
245            public void setUrl(java.lang.String url) {
246                    _bookmarksEntry.setUrl(url);
247            }
248    
249            /**
250            * Gets the comments of this bookmarks entry.
251            *
252            * @return the comments of this bookmarks entry
253            */
254            public java.lang.String getComments() {
255                    return _bookmarksEntry.getComments();
256            }
257    
258            /**
259            * Sets the comments of this bookmarks entry.
260            *
261            * @param comments the comments of this bookmarks entry
262            */
263            public void setComments(java.lang.String comments) {
264                    _bookmarksEntry.setComments(comments);
265            }
266    
267            /**
268            * Gets the visits of this bookmarks entry.
269            *
270            * @return the visits of this bookmarks entry
271            */
272            public int getVisits() {
273                    return _bookmarksEntry.getVisits();
274            }
275    
276            /**
277            * Sets the visits of this bookmarks entry.
278            *
279            * @param visits the visits of this bookmarks entry
280            */
281            public void setVisits(int visits) {
282                    _bookmarksEntry.setVisits(visits);
283            }
284    
285            /**
286            * Gets the priority of this bookmarks entry.
287            *
288            * @return the priority of this bookmarks entry
289            */
290            public int getPriority() {
291                    return _bookmarksEntry.getPriority();
292            }
293    
294            /**
295            * Sets the priority of this bookmarks entry.
296            *
297            * @param priority the priority of this bookmarks entry
298            */
299            public void setPriority(int priority) {
300                    _bookmarksEntry.setPriority(priority);
301            }
302    
303            public boolean isNew() {
304                    return _bookmarksEntry.isNew();
305            }
306    
307            public void setNew(boolean n) {
308                    _bookmarksEntry.setNew(n);
309            }
310    
311            public boolean isCachedModel() {
312                    return _bookmarksEntry.isCachedModel();
313            }
314    
315            public void setCachedModel(boolean cachedModel) {
316                    _bookmarksEntry.setCachedModel(cachedModel);
317            }
318    
319            public boolean isEscapedModel() {
320                    return _bookmarksEntry.isEscapedModel();
321            }
322    
323            public void setEscapedModel(boolean escapedModel) {
324                    _bookmarksEntry.setEscapedModel(escapedModel);
325            }
326    
327            public java.io.Serializable getPrimaryKeyObj() {
328                    return _bookmarksEntry.getPrimaryKeyObj();
329            }
330    
331            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
332                    return _bookmarksEntry.getExpandoBridge();
333            }
334    
335            public void setExpandoBridgeAttributes(
336                    com.liferay.portal.service.ServiceContext serviceContext) {
337                    _bookmarksEntry.setExpandoBridgeAttributes(serviceContext);
338            }
339    
340            public java.lang.Object clone() {
341                    return _bookmarksEntry.clone();
342            }
343    
344            public int compareTo(
345                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) {
346                    return _bookmarksEntry.compareTo(bookmarksEntry);
347            }
348    
349            public int hashCode() {
350                    return _bookmarksEntry.hashCode();
351            }
352    
353            public com.liferay.portlet.bookmarks.model.BookmarksEntry toEscapedModel() {
354                    return _bookmarksEntry.toEscapedModel();
355            }
356    
357            public java.lang.String toString() {
358                    return _bookmarksEntry.toString();
359            }
360    
361            public java.lang.String toXmlString() {
362                    return _bookmarksEntry.toXmlString();
363            }
364    
365            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder() {
366                    return _bookmarksEntry.getFolder();
367            }
368    
369            public BookmarksEntry getWrappedBookmarksEntry() {
370                    return _bookmarksEntry;
371            }
372    
373            private BookmarksEntry _bookmarksEntry;
374    }