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