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 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            /**
032            * Gets the primary key of this bookmarks folder.
033            *
034            * @return the primary key of this bookmarks folder
035            */
036            public long getPrimaryKey() {
037                    return _bookmarksFolder.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this bookmarks folder
042            *
043            * @param pk the primary key of this bookmarks folder
044            */
045            public void setPrimaryKey(long pk) {
046                    _bookmarksFolder.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this bookmarks folder.
051            *
052            * @return the uuid of this bookmarks folder
053            */
054            public java.lang.String getUuid() {
055                    return _bookmarksFolder.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this bookmarks folder.
060            *
061            * @param uuid the uuid of this bookmarks folder
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _bookmarksFolder.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the folder id of this bookmarks folder.
069            *
070            * @return the folder id of this bookmarks folder
071            */
072            public long getFolderId() {
073                    return _bookmarksFolder.getFolderId();
074            }
075    
076            /**
077            * Sets the folder id of this bookmarks folder.
078            *
079            * @param folderId the folder id of this bookmarks folder
080            */
081            public void setFolderId(long folderId) {
082                    _bookmarksFolder.setFolderId(folderId);
083            }
084    
085            /**
086            * Gets the group id of this bookmarks folder.
087            *
088            * @return the group id of this bookmarks folder
089            */
090            public long getGroupId() {
091                    return _bookmarksFolder.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this bookmarks folder.
096            *
097            * @param groupId the group id of this bookmarks folder
098            */
099            public void setGroupId(long groupId) {
100                    _bookmarksFolder.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this bookmarks folder.
105            *
106            * @return the company id of this bookmarks folder
107            */
108            public long getCompanyId() {
109                    return _bookmarksFolder.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this bookmarks folder.
114            *
115            * @param companyId the company id of this bookmarks folder
116            */
117            public void setCompanyId(long companyId) {
118                    _bookmarksFolder.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this bookmarks folder.
123            *
124            * @return the user id of this bookmarks folder
125            */
126            public long getUserId() {
127                    return _bookmarksFolder.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this bookmarks folder.
132            *
133            * @param userId the user id of this bookmarks folder
134            */
135            public void setUserId(long userId) {
136                    _bookmarksFolder.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this bookmarks folder.
141            *
142            * @return the user uuid of this bookmarks folder
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 _bookmarksFolder.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this bookmarks folder.
152            *
153            * @param userUuid the user uuid of this bookmarks folder
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _bookmarksFolder.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the create date of this bookmarks folder.
161            *
162            * @return the create date of this bookmarks folder
163            */
164            public java.util.Date getCreateDate() {
165                    return _bookmarksFolder.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this bookmarks folder.
170            *
171            * @param createDate the create date of this bookmarks folder
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _bookmarksFolder.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this bookmarks folder.
179            *
180            * @return the modified date of this bookmarks folder
181            */
182            public java.util.Date getModifiedDate() {
183                    return _bookmarksFolder.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this bookmarks folder.
188            *
189            * @param modifiedDate the modified date of this bookmarks folder
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _bookmarksFolder.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the parent folder id of this bookmarks folder.
197            *
198            * @return the parent folder id of this bookmarks folder
199            */
200            public long getParentFolderId() {
201                    return _bookmarksFolder.getParentFolderId();
202            }
203    
204            /**
205            * Sets the parent folder id of this bookmarks folder.
206            *
207            * @param parentFolderId the parent folder id of this bookmarks folder
208            */
209            public void setParentFolderId(long parentFolderId) {
210                    _bookmarksFolder.setParentFolderId(parentFolderId);
211            }
212    
213            /**
214            * Gets the name of this bookmarks folder.
215            *
216            * @return the name of this bookmarks folder
217            */
218            public java.lang.String getName() {
219                    return _bookmarksFolder.getName();
220            }
221    
222            /**
223            * Sets the name of this bookmarks folder.
224            *
225            * @param name the name of this bookmarks folder
226            */
227            public void setName(java.lang.String name) {
228                    _bookmarksFolder.setName(name);
229            }
230    
231            /**
232            * Gets the description of this bookmarks folder.
233            *
234            * @return the description of this bookmarks folder
235            */
236            public java.lang.String getDescription() {
237                    return _bookmarksFolder.getDescription();
238            }
239    
240            /**
241            * Sets the description of this bookmarks folder.
242            *
243            * @param description the description of this bookmarks folder
244            */
245            public void setDescription(java.lang.String description) {
246                    _bookmarksFolder.setDescription(description);
247            }
248    
249            public boolean isNew() {
250                    return _bookmarksFolder.isNew();
251            }
252    
253            public void setNew(boolean n) {
254                    _bookmarksFolder.setNew(n);
255            }
256    
257            public boolean isCachedModel() {
258                    return _bookmarksFolder.isCachedModel();
259            }
260    
261            public void setCachedModel(boolean cachedModel) {
262                    _bookmarksFolder.setCachedModel(cachedModel);
263            }
264    
265            public boolean isEscapedModel() {
266                    return _bookmarksFolder.isEscapedModel();
267            }
268    
269            public void setEscapedModel(boolean escapedModel) {
270                    _bookmarksFolder.setEscapedModel(escapedModel);
271            }
272    
273            public java.io.Serializable getPrimaryKeyObj() {
274                    return _bookmarksFolder.getPrimaryKeyObj();
275            }
276    
277            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
278                    return _bookmarksFolder.getExpandoBridge();
279            }
280    
281            public void setExpandoBridgeAttributes(
282                    com.liferay.portal.service.ServiceContext serviceContext) {
283                    _bookmarksFolder.setExpandoBridgeAttributes(serviceContext);
284            }
285    
286            public java.lang.Object clone() {
287                    return _bookmarksFolder.clone();
288            }
289    
290            public int compareTo(
291                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder) {
292                    return _bookmarksFolder.compareTo(bookmarksFolder);
293            }
294    
295            public int hashCode() {
296                    return _bookmarksFolder.hashCode();
297            }
298    
299            public com.liferay.portlet.bookmarks.model.BookmarksFolder toEscapedModel() {
300                    return _bookmarksFolder.toEscapedModel();
301            }
302    
303            public java.lang.String toString() {
304                    return _bookmarksFolder.toString();
305            }
306    
307            public java.lang.String toXmlString() {
308                    return _bookmarksFolder.toXmlString();
309            }
310    
311            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getAncestors()
312                    throws com.liferay.portal.kernel.exception.PortalException,
313                            com.liferay.portal.kernel.exception.SystemException {
314                    return _bookmarksFolder.getAncestors();
315            }
316    
317            public com.liferay.portlet.bookmarks.model.BookmarksFolder getParentFolder()
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException {
320                    return _bookmarksFolder.getParentFolder();
321            }
322    
323            public boolean isRoot() {
324                    return _bookmarksFolder.isRoot();
325            }
326    
327            public BookmarksFolder getWrappedBookmarksFolder() {
328                    return _bookmarksFolder;
329            }
330    
331            private BookmarksFolder _bookmarksFolder;
332    }