001
014
015 package com.liferay.portlet.shopping.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class ShoppingCategoryWrapper implements ShoppingCategory,
029 ModelWrapper<ShoppingCategory> {
030 public ShoppingCategoryWrapper(ShoppingCategory shoppingCategory) {
031 _shoppingCategory = shoppingCategory;
032 }
033
034 public Class<?> getModelClass() {
035 return ShoppingCategory.class;
036 }
037
038 public String getModelClassName() {
039 return ShoppingCategory.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _shoppingCategory.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _shoppingCategory.setPrimaryKey(primaryKey);
058 }
059
060
065 public long getCategoryId() {
066 return _shoppingCategory.getCategoryId();
067 }
068
069
074 public void setCategoryId(long categoryId) {
075 _shoppingCategory.setCategoryId(categoryId);
076 }
077
078
083 public long getGroupId() {
084 return _shoppingCategory.getGroupId();
085 }
086
087
092 public void setGroupId(long groupId) {
093 _shoppingCategory.setGroupId(groupId);
094 }
095
096
101 public long getCompanyId() {
102 return _shoppingCategory.getCompanyId();
103 }
104
105
110 public void setCompanyId(long companyId) {
111 _shoppingCategory.setCompanyId(companyId);
112 }
113
114
119 public long getUserId() {
120 return _shoppingCategory.getUserId();
121 }
122
123
128 public void setUserId(long userId) {
129 _shoppingCategory.setUserId(userId);
130 }
131
132
138 public java.lang.String getUserUuid()
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _shoppingCategory.getUserUuid();
141 }
142
143
148 public void setUserUuid(java.lang.String userUuid) {
149 _shoppingCategory.setUserUuid(userUuid);
150 }
151
152
157 public java.lang.String getUserName() {
158 return _shoppingCategory.getUserName();
159 }
160
161
166 public void setUserName(java.lang.String userName) {
167 _shoppingCategory.setUserName(userName);
168 }
169
170
175 public java.util.Date getCreateDate() {
176 return _shoppingCategory.getCreateDate();
177 }
178
179
184 public void setCreateDate(java.util.Date createDate) {
185 _shoppingCategory.setCreateDate(createDate);
186 }
187
188
193 public java.util.Date getModifiedDate() {
194 return _shoppingCategory.getModifiedDate();
195 }
196
197
202 public void setModifiedDate(java.util.Date modifiedDate) {
203 _shoppingCategory.setModifiedDate(modifiedDate);
204 }
205
206
211 public long getParentCategoryId() {
212 return _shoppingCategory.getParentCategoryId();
213 }
214
215
220 public void setParentCategoryId(long parentCategoryId) {
221 _shoppingCategory.setParentCategoryId(parentCategoryId);
222 }
223
224
229 public java.lang.String getName() {
230 return _shoppingCategory.getName();
231 }
232
233
238 public void setName(java.lang.String name) {
239 _shoppingCategory.setName(name);
240 }
241
242
247 public java.lang.String getDescription() {
248 return _shoppingCategory.getDescription();
249 }
250
251
256 public void setDescription(java.lang.String description) {
257 _shoppingCategory.setDescription(description);
258 }
259
260 public boolean isNew() {
261 return _shoppingCategory.isNew();
262 }
263
264 public void setNew(boolean n) {
265 _shoppingCategory.setNew(n);
266 }
267
268 public boolean isCachedModel() {
269 return _shoppingCategory.isCachedModel();
270 }
271
272 public void setCachedModel(boolean cachedModel) {
273 _shoppingCategory.setCachedModel(cachedModel);
274 }
275
276 public boolean isEscapedModel() {
277 return _shoppingCategory.isEscapedModel();
278 }
279
280 public java.io.Serializable getPrimaryKeyObj() {
281 return _shoppingCategory.getPrimaryKeyObj();
282 }
283
284 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
285 _shoppingCategory.setPrimaryKeyObj(primaryKeyObj);
286 }
287
288 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
289 return _shoppingCategory.getExpandoBridge();
290 }
291
292 public void setExpandoBridgeAttributes(
293 com.liferay.portal.service.ServiceContext serviceContext) {
294 _shoppingCategory.setExpandoBridgeAttributes(serviceContext);
295 }
296
297 @Override
298 public java.lang.Object clone() {
299 return new ShoppingCategoryWrapper((ShoppingCategory)_shoppingCategory.clone());
300 }
301
302 public int compareTo(
303 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory) {
304 return _shoppingCategory.compareTo(shoppingCategory);
305 }
306
307 @Override
308 public int hashCode() {
309 return _shoppingCategory.hashCode();
310 }
311
312 public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingCategory> toCacheModel() {
313 return _shoppingCategory.toCacheModel();
314 }
315
316 public com.liferay.portlet.shopping.model.ShoppingCategory toEscapedModel() {
317 return new ShoppingCategoryWrapper(_shoppingCategory.toEscapedModel());
318 }
319
320 @Override
321 public java.lang.String toString() {
322 return _shoppingCategory.toString();
323 }
324
325 public java.lang.String toXmlString() {
326 return _shoppingCategory.toXmlString();
327 }
328
329 public void persist()
330 throws com.liferay.portal.kernel.exception.SystemException {
331 _shoppingCategory.persist();
332 }
333
334 public boolean isRoot() {
335 return _shoppingCategory.isRoot();
336 }
337
338
341 public ShoppingCategory getWrappedShoppingCategory() {
342 return _shoppingCategory;
343 }
344
345 public ShoppingCategory getWrappedModel() {
346 return _shoppingCategory;
347 }
348
349 public void resetOriginalValues() {
350 _shoppingCategory.resetOriginalValues();
351 }
352
353 private ShoppingCategory _shoppingCategory;
354 }