001
014
015 package com.liferay.portlet.shopping.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class ShoppingItemWrapper implements ShoppingItem,
029 ModelWrapper<ShoppingItem> {
030 public ShoppingItemWrapper(ShoppingItem shoppingItem) {
031 _shoppingItem = shoppingItem;
032 }
033
034 public Class<?> getModelClass() {
035 return ShoppingItem.class;
036 }
037
038 public String getModelClassName() {
039 return ShoppingItem.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _shoppingItem.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _shoppingItem.setPrimaryKey(primaryKey);
058 }
059
060
065 public long getItemId() {
066 return _shoppingItem.getItemId();
067 }
068
069
074 public void setItemId(long itemId) {
075 _shoppingItem.setItemId(itemId);
076 }
077
078
083 public long getGroupId() {
084 return _shoppingItem.getGroupId();
085 }
086
087
092 public void setGroupId(long groupId) {
093 _shoppingItem.setGroupId(groupId);
094 }
095
096
101 public long getCompanyId() {
102 return _shoppingItem.getCompanyId();
103 }
104
105
110 public void setCompanyId(long companyId) {
111 _shoppingItem.setCompanyId(companyId);
112 }
113
114
119 public long getUserId() {
120 return _shoppingItem.getUserId();
121 }
122
123
128 public void setUserId(long userId) {
129 _shoppingItem.setUserId(userId);
130 }
131
132
138 public java.lang.String getUserUuid()
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _shoppingItem.getUserUuid();
141 }
142
143
148 public void setUserUuid(java.lang.String userUuid) {
149 _shoppingItem.setUserUuid(userUuid);
150 }
151
152
157 public java.lang.String getUserName() {
158 return _shoppingItem.getUserName();
159 }
160
161
166 public void setUserName(java.lang.String userName) {
167 _shoppingItem.setUserName(userName);
168 }
169
170
175 public java.util.Date getCreateDate() {
176 return _shoppingItem.getCreateDate();
177 }
178
179
184 public void setCreateDate(java.util.Date createDate) {
185 _shoppingItem.setCreateDate(createDate);
186 }
187
188
193 public java.util.Date getModifiedDate() {
194 return _shoppingItem.getModifiedDate();
195 }
196
197
202 public void setModifiedDate(java.util.Date modifiedDate) {
203 _shoppingItem.setModifiedDate(modifiedDate);
204 }
205
206
211 public long getCategoryId() {
212 return _shoppingItem.getCategoryId();
213 }
214
215
220 public void setCategoryId(long categoryId) {
221 _shoppingItem.setCategoryId(categoryId);
222 }
223
224
229 public java.lang.String getSku() {
230 return _shoppingItem.getSku();
231 }
232
233
238 public void setSku(java.lang.String sku) {
239 _shoppingItem.setSku(sku);
240 }
241
242
247 public java.lang.String getName() {
248 return _shoppingItem.getName();
249 }
250
251
256 public void setName(java.lang.String name) {
257 _shoppingItem.setName(name);
258 }
259
260
265 public java.lang.String getDescription() {
266 return _shoppingItem.getDescription();
267 }
268
269
274 public void setDescription(java.lang.String description) {
275 _shoppingItem.setDescription(description);
276 }
277
278
283 public java.lang.String getProperties() {
284 return _shoppingItem.getProperties();
285 }
286
287
292 public void setProperties(java.lang.String properties) {
293 _shoppingItem.setProperties(properties);
294 }
295
296
301 public boolean getFields() {
302 return _shoppingItem.getFields();
303 }
304
305
310 public boolean isFields() {
311 return _shoppingItem.isFields();
312 }
313
314
319 public void setFields(boolean fields) {
320 _shoppingItem.setFields(fields);
321 }
322
323
328 public java.lang.String getFieldsQuantities() {
329 return _shoppingItem.getFieldsQuantities();
330 }
331
332
337 public void setFieldsQuantities(java.lang.String fieldsQuantities) {
338 _shoppingItem.setFieldsQuantities(fieldsQuantities);
339 }
340
341
346 public int getMinQuantity() {
347 return _shoppingItem.getMinQuantity();
348 }
349
350
355 public void setMinQuantity(int minQuantity) {
356 _shoppingItem.setMinQuantity(minQuantity);
357 }
358
359
364 public int getMaxQuantity() {
365 return _shoppingItem.getMaxQuantity();
366 }
367
368
373 public void setMaxQuantity(int maxQuantity) {
374 _shoppingItem.setMaxQuantity(maxQuantity);
375 }
376
377
382 public double getPrice() {
383 return _shoppingItem.getPrice();
384 }
385
386
391 public void setPrice(double price) {
392 _shoppingItem.setPrice(price);
393 }
394
395
400 public double getDiscount() {
401 return _shoppingItem.getDiscount();
402 }
403
404
409 public void setDiscount(double discount) {
410 _shoppingItem.setDiscount(discount);
411 }
412
413
418 public boolean getTaxable() {
419 return _shoppingItem.getTaxable();
420 }
421
422
427 public boolean isTaxable() {
428 return _shoppingItem.isTaxable();
429 }
430
431
436 public void setTaxable(boolean taxable) {
437 _shoppingItem.setTaxable(taxable);
438 }
439
440
445 public double getShipping() {
446 return _shoppingItem.getShipping();
447 }
448
449
454 public void setShipping(double shipping) {
455 _shoppingItem.setShipping(shipping);
456 }
457
458
463 public boolean getUseShippingFormula() {
464 return _shoppingItem.getUseShippingFormula();
465 }
466
467
472 public boolean isUseShippingFormula() {
473 return _shoppingItem.isUseShippingFormula();
474 }
475
476
481 public void setUseShippingFormula(boolean useShippingFormula) {
482 _shoppingItem.setUseShippingFormula(useShippingFormula);
483 }
484
485
490 public boolean getRequiresShipping() {
491 return _shoppingItem.getRequiresShipping();
492 }
493
494
499 public boolean isRequiresShipping() {
500 return _shoppingItem.isRequiresShipping();
501 }
502
503
508 public void setRequiresShipping(boolean requiresShipping) {
509 _shoppingItem.setRequiresShipping(requiresShipping);
510 }
511
512
517 public int getStockQuantity() {
518 return _shoppingItem.getStockQuantity();
519 }
520
521
526 public void setStockQuantity(int stockQuantity) {
527 _shoppingItem.setStockQuantity(stockQuantity);
528 }
529
530
535 public boolean getFeatured() {
536 return _shoppingItem.getFeatured();
537 }
538
539
544 public boolean isFeatured() {
545 return _shoppingItem.isFeatured();
546 }
547
548
553 public void setFeatured(boolean featured) {
554 _shoppingItem.setFeatured(featured);
555 }
556
557
562 public boolean getSale() {
563 return _shoppingItem.getSale();
564 }
565
566
571 public boolean isSale() {
572 return _shoppingItem.isSale();
573 }
574
575
580 public void setSale(boolean sale) {
581 _shoppingItem.setSale(sale);
582 }
583
584
589 public boolean getSmallImage() {
590 return _shoppingItem.getSmallImage();
591 }
592
593
598 public boolean isSmallImage() {
599 return _shoppingItem.isSmallImage();
600 }
601
602
607 public void setSmallImage(boolean smallImage) {
608 _shoppingItem.setSmallImage(smallImage);
609 }
610
611
616 public long getSmallImageId() {
617 return _shoppingItem.getSmallImageId();
618 }
619
620
625 public void setSmallImageId(long smallImageId) {
626 _shoppingItem.setSmallImageId(smallImageId);
627 }
628
629
634 public java.lang.String getSmallImageURL() {
635 return _shoppingItem.getSmallImageURL();
636 }
637
638
643 public void setSmallImageURL(java.lang.String smallImageURL) {
644 _shoppingItem.setSmallImageURL(smallImageURL);
645 }
646
647
652 public boolean getMediumImage() {
653 return _shoppingItem.getMediumImage();
654 }
655
656
661 public boolean isMediumImage() {
662 return _shoppingItem.isMediumImage();
663 }
664
665
670 public void setMediumImage(boolean mediumImage) {
671 _shoppingItem.setMediumImage(mediumImage);
672 }
673
674
679 public long getMediumImageId() {
680 return _shoppingItem.getMediumImageId();
681 }
682
683
688 public void setMediumImageId(long mediumImageId) {
689 _shoppingItem.setMediumImageId(mediumImageId);
690 }
691
692
697 public java.lang.String getMediumImageURL() {
698 return _shoppingItem.getMediumImageURL();
699 }
700
701
706 public void setMediumImageURL(java.lang.String mediumImageURL) {
707 _shoppingItem.setMediumImageURL(mediumImageURL);
708 }
709
710
715 public boolean getLargeImage() {
716 return _shoppingItem.getLargeImage();
717 }
718
719
724 public boolean isLargeImage() {
725 return _shoppingItem.isLargeImage();
726 }
727
728
733 public void setLargeImage(boolean largeImage) {
734 _shoppingItem.setLargeImage(largeImage);
735 }
736
737
742 public long getLargeImageId() {
743 return _shoppingItem.getLargeImageId();
744 }
745
746
751 public void setLargeImageId(long largeImageId) {
752 _shoppingItem.setLargeImageId(largeImageId);
753 }
754
755
760 public java.lang.String getLargeImageURL() {
761 return _shoppingItem.getLargeImageURL();
762 }
763
764
769 public void setLargeImageURL(java.lang.String largeImageURL) {
770 _shoppingItem.setLargeImageURL(largeImageURL);
771 }
772
773 public boolean isNew() {
774 return _shoppingItem.isNew();
775 }
776
777 public void setNew(boolean n) {
778 _shoppingItem.setNew(n);
779 }
780
781 public boolean isCachedModel() {
782 return _shoppingItem.isCachedModel();
783 }
784
785 public void setCachedModel(boolean cachedModel) {
786 _shoppingItem.setCachedModel(cachedModel);
787 }
788
789 public boolean isEscapedModel() {
790 return _shoppingItem.isEscapedModel();
791 }
792
793 public java.io.Serializable getPrimaryKeyObj() {
794 return _shoppingItem.getPrimaryKeyObj();
795 }
796
797 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
798 _shoppingItem.setPrimaryKeyObj(primaryKeyObj);
799 }
800
801 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
802 return _shoppingItem.getExpandoBridge();
803 }
804
805 public void setExpandoBridgeAttributes(
806 com.liferay.portal.service.ServiceContext serviceContext) {
807 _shoppingItem.setExpandoBridgeAttributes(serviceContext);
808 }
809
810 @Override
811 public java.lang.Object clone() {
812 return new ShoppingItemWrapper((ShoppingItem)_shoppingItem.clone());
813 }
814
815 public int compareTo(
816 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
817 return _shoppingItem.compareTo(shoppingItem);
818 }
819
820 @Override
821 public int hashCode() {
822 return _shoppingItem.hashCode();
823 }
824
825 public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItem> toCacheModel() {
826 return _shoppingItem.toCacheModel();
827 }
828
829 public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
830 return new ShoppingItemWrapper(_shoppingItem.toEscapedModel());
831 }
832
833 @Override
834 public java.lang.String toString() {
835 return _shoppingItem.toString();
836 }
837
838 public java.lang.String toXmlString() {
839 return _shoppingItem.toXmlString();
840 }
841
842 public void persist()
843 throws com.liferay.portal.kernel.exception.SystemException {
844 _shoppingItem.persist();
845 }
846
847 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
848 return _shoppingItem.getCategory();
849 }
850
851 public java.lang.String[] getFieldsQuantitiesArray() {
852 return _shoppingItem.getFieldsQuantitiesArray();
853 }
854
855 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
856 throws com.liferay.portal.kernel.exception.PortalException,
857 com.liferay.portal.kernel.exception.SystemException {
858 return _shoppingItem.getItemPrices();
859 }
860
861 public void setFieldsQuantitiesArray(
862 java.lang.String[] fieldsQuantitiesArray) {
863 _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
864 }
865
866
869 public ShoppingItem getWrappedShoppingItem() {
870 return _shoppingItem;
871 }
872
873 public ShoppingItem getWrappedModel() {
874 return _shoppingItem;
875 }
876
877 public void resetOriginalValues() {
878 _shoppingItem.resetOriginalValues();
879 }
880
881 private ShoppingItem _shoppingItem;
882 }