001    /**
002     * Copyright (c) 2000-2011 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            public Class<?> getModelClass() {
032                    return BookmarksEntry.class;
033            }
034    
035            public String getModelClassName() {
036                    return BookmarksEntry.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this bookmarks entry.
041            *
042            * @return the primary key of this bookmarks entry
043            */
044            public long getPrimaryKey() {
045                    return _bookmarksEntry.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this bookmarks entry
050            *
051            * @param primaryKey the primary key of this bookmarks entry
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _bookmarksEntry.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the uuid of this bookmarks entry.
059            *
060            * @return the uuid of this bookmarks entry
061            */
062            public java.lang.String getUuid() {
063                    return _bookmarksEntry.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this bookmarks entry.
068            *
069            * @param uuid the uuid of this bookmarks entry
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _bookmarksEntry.setUuid(uuid);
073            }
074    
075            /**
076            * Gets the entry ID of this bookmarks entry.
077            *
078            * @return the entry ID of this bookmarks entry
079            */
080            public long getEntryId() {
081                    return _bookmarksEntry.getEntryId();
082            }
083    
084            /**
085            * Sets the entry ID of this bookmarks entry.
086            *
087            * @param entryId the entry ID of this bookmarks entry
088            */
089            public void setEntryId(long entryId) {
090                    _bookmarksEntry.setEntryId(entryId);
091            }
092    
093            /**
094            * Gets the group ID of this bookmarks entry.
095            *
096            * @return the group ID of this bookmarks entry
097            */
098            public long getGroupId() {
099                    return _bookmarksEntry.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this bookmarks entry.
104            *
105            * @param groupId the group ID of this bookmarks entry
106            */
107            public void setGroupId(long groupId) {
108                    _bookmarksEntry.setGroupId(groupId);
109            }
110    
111            /**
112            * Gets the company ID of this bookmarks entry.
113            *
114            * @return the company ID of this bookmarks entry
115            */
116            public long getCompanyId() {
117                    return _bookmarksEntry.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this bookmarks entry.
122            *
123            * @param companyId the company ID of this bookmarks entry
124            */
125            public void setCompanyId(long companyId) {
126                    _bookmarksEntry.setCompanyId(companyId);
127            }
128    
129            /**
130            * Gets the user ID of this bookmarks entry.
131            *
132            * @return the user ID of this bookmarks entry
133            */
134            public long getUserId() {
135                    return _bookmarksEntry.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this bookmarks entry.
140            *
141            * @param userId the user ID of this bookmarks entry
142            */
143            public void setUserId(long userId) {
144                    _bookmarksEntry.setUserId(userId);
145            }
146    
147            /**
148            * Gets the user uuid of this bookmarks entry.
149            *
150            * @return the user uuid of this bookmarks entry
151            * @throws SystemException if a system exception occurred
152            */
153            public java.lang.String getUserUuid()
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _bookmarksEntry.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this bookmarks entry.
160            *
161            * @param userUuid the user uuid of this bookmarks entry
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _bookmarksEntry.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Gets the user name of this bookmarks entry.
169            *
170            * @return the user name of this bookmarks entry
171            */
172            public java.lang.String getUserName() {
173                    return _bookmarksEntry.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this bookmarks entry.
178            *
179            * @param userName the user name of this bookmarks entry
180            */
181            public void setUserName(java.lang.String userName) {
182                    _bookmarksEntry.setUserName(userName);
183            }
184    
185            /**
186            * Gets the create date of this bookmarks entry.
187            *
188            * @return the create date of this bookmarks entry
189            */
190            public java.util.Date getCreateDate() {
191                    return _bookmarksEntry.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this bookmarks entry.
196            *
197            * @param createDate the create date of this bookmarks entry
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _bookmarksEntry.setCreateDate(createDate);
201            }
202    
203            /**
204            * Gets the modified date of this bookmarks entry.
205            *
206            * @return the modified date of this bookmarks entry
207            */
208            public java.util.Date getModifiedDate() {
209                    return _bookmarksEntry.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this bookmarks entry.
214            *
215            * @param modifiedDate the modified date of this bookmarks entry
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _bookmarksEntry.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Gets the folder ID of this bookmarks entry.
223            *
224            * @return the folder ID of this bookmarks entry
225            */
226            public long getFolderId() {
227                    return _bookmarksEntry.getFolderId();
228            }
229    
230            /**
231            * Sets the folder ID of this bookmarks entry.
232            *
233            * @param folderId the folder ID of this bookmarks entry
234            */
235            public void setFolderId(long folderId) {
236                    _bookmarksEntry.setFolderId(folderId);
237            }
238    
239            /**
240            * Gets the name of this bookmarks entry.
241            *
242            * @return the name of this bookmarks entry
243            */
244            public java.lang.String getName() {
245                    return _bookmarksEntry.getName();
246            }
247    
248            /**
249            * Sets the name of this bookmarks entry.
250            *
251            * @param name the name of this bookmarks entry
252            */
253            public void setName(java.lang.String name) {
254                    _bookmarksEntry.setName(name);
255            }
256    
257            /**
258            * Gets the url of this bookmarks entry.
259            *
260            * @return the url of this bookmarks entry
261            */
262            public java.lang.String getUrl() {
263                    return _bookmarksEntry.getUrl();
264            }
265    
266            /**
267            * Sets the url of this bookmarks entry.
268            *
269            * @param url the url of this bookmarks entry
270            */
271            public void setUrl(java.lang.String url) {
272                    _bookmarksEntry.setUrl(url);
273            }
274    
275            /**
276            * Gets the comments of this bookmarks entry.
277            *
278            * @return the comments of this bookmarks entry
279            */
280            public java.lang.String getComments() {
281                    return _bookmarksEntry.getComments();
282            }
283    
284            /**
285            * Sets the comments of this bookmarks entry.
286            *
287            * @param comments the comments of this bookmarks entry
288            */
289            public void setComments(java.lang.String comments) {
290                    _bookmarksEntry.setComments(comments);
291            }
292    
293            /**
294            * Gets the visits of this bookmarks entry.
295            *
296            * @return the visits of this bookmarks entry
297            */
298            public int getVisits() {
299                    return _bookmarksEntry.getVisits();
300            }
301    
302            /**
303            * Sets the visits of this bookmarks entry.
304            *
305            * @param visits the visits of this bookmarks entry
306            */
307            public void setVisits(int visits) {
308                    _bookmarksEntry.setVisits(visits);
309            }
310    
311            /**
312            * Gets the priority of this bookmarks entry.
313            *
314            * @return the priority of this bookmarks entry
315            */
316            public int getPriority() {
317                    return _bookmarksEntry.getPriority();
318            }
319    
320            /**
321            * Sets the priority of this bookmarks entry.
322            *
323            * @param priority the priority of this bookmarks entry
324            */
325            public void setPriority(int priority) {
326                    _bookmarksEntry.setPriority(priority);
327            }
328    
329            public boolean isNew() {
330                    return _bookmarksEntry.isNew();
331            }
332    
333            public void setNew(boolean n) {
334                    _bookmarksEntry.setNew(n);
335            }
336    
337            public boolean isCachedModel() {
338                    return _bookmarksEntry.isCachedModel();
339            }
340    
341            public void setCachedModel(boolean cachedModel) {
342                    _bookmarksEntry.setCachedModel(cachedModel);
343            }
344    
345            public boolean isEscapedModel() {
346                    return _bookmarksEntry.isEscapedModel();
347            }
348    
349            public void setEscapedModel(boolean escapedModel) {
350                    _bookmarksEntry.setEscapedModel(escapedModel);
351            }
352    
353            public java.io.Serializable getPrimaryKeyObj() {
354                    return _bookmarksEntry.getPrimaryKeyObj();
355            }
356    
357            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
358                    _bookmarksEntry.setPrimaryKeyObj(primaryKeyObj);
359            }
360    
361            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
362                    return _bookmarksEntry.getExpandoBridge();
363            }
364    
365            public void setExpandoBridgeAttributes(
366                    com.liferay.portal.service.ServiceContext serviceContext) {
367                    _bookmarksEntry.setExpandoBridgeAttributes(serviceContext);
368            }
369    
370            @Override
371            public java.lang.Object clone() {
372                    return new BookmarksEntryWrapper((BookmarksEntry)_bookmarksEntry.clone());
373            }
374    
375            public int compareTo(
376                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) {
377                    return _bookmarksEntry.compareTo(bookmarksEntry);
378            }
379    
380            @Override
381            public int hashCode() {
382                    return _bookmarksEntry.hashCode();
383            }
384    
385            public com.liferay.portal.model.CacheModel<com.liferay.portlet.bookmarks.model.BookmarksEntry> toCacheModel() {
386                    return _bookmarksEntry.toCacheModel();
387            }
388    
389            public com.liferay.portlet.bookmarks.model.BookmarksEntry toEscapedModel() {
390                    return new BookmarksEntryWrapper(_bookmarksEntry.toEscapedModel());
391            }
392    
393            @Override
394            public java.lang.String toString() {
395                    return _bookmarksEntry.toString();
396            }
397    
398            public java.lang.String toXmlString() {
399                    return _bookmarksEntry.toXmlString();
400            }
401    
402            public void persist()
403                    throws com.liferay.portal.kernel.exception.SystemException {
404                    _bookmarksEntry.persist();
405            }
406    
407            public java.lang.String getDescription() {
408                    return _bookmarksEntry.getDescription();
409            }
410    
411            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder() {
412                    return _bookmarksEntry.getFolder();
413            }
414    
415            public void setDescription(java.lang.String description) {
416                    _bookmarksEntry.setDescription(description);
417            }
418    
419            public BookmarksEntry getWrappedBookmarksEntry() {
420                    return _bookmarksEntry;
421            }
422    
423            public void resetOriginalValues() {
424                    _bookmarksEntry.resetOriginalValues();
425            }
426    
427            private BookmarksEntry _bookmarksEntry;
428    }