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