001
014
015 package com.liferay.portlet.shopping.model;
016
017
026 public class ShoppingItemWrapper implements ShoppingItem {
027 public ShoppingItemWrapper(ShoppingItem shoppingItem) {
028 _shoppingItem = shoppingItem;
029 }
030
031 public Class<?> getModelClass() {
032 return ShoppingItem.class;
033 }
034
035 public String getModelClassName() {
036 return ShoppingItem.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _shoppingItem.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _shoppingItem.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getItemId() {
063 return _shoppingItem.getItemId();
064 }
065
066
071 public void setItemId(long itemId) {
072 _shoppingItem.setItemId(itemId);
073 }
074
075
080 public long getGroupId() {
081 return _shoppingItem.getGroupId();
082 }
083
084
089 public void setGroupId(long groupId) {
090 _shoppingItem.setGroupId(groupId);
091 }
092
093
098 public long getCompanyId() {
099 return _shoppingItem.getCompanyId();
100 }
101
102
107 public void setCompanyId(long companyId) {
108 _shoppingItem.setCompanyId(companyId);
109 }
110
111
116 public long getUserId() {
117 return _shoppingItem.getUserId();
118 }
119
120
125 public void setUserId(long userId) {
126 _shoppingItem.setUserId(userId);
127 }
128
129
135 public java.lang.String getUserUuid()
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _shoppingItem.getUserUuid();
138 }
139
140
145 public void setUserUuid(java.lang.String userUuid) {
146 _shoppingItem.setUserUuid(userUuid);
147 }
148
149
154 public java.lang.String getUserName() {
155 return _shoppingItem.getUserName();
156 }
157
158
163 public void setUserName(java.lang.String userName) {
164 _shoppingItem.setUserName(userName);
165 }
166
167
172 public java.util.Date getCreateDate() {
173 return _shoppingItem.getCreateDate();
174 }
175
176
181 public void setCreateDate(java.util.Date createDate) {
182 _shoppingItem.setCreateDate(createDate);
183 }
184
185
190 public java.util.Date getModifiedDate() {
191 return _shoppingItem.getModifiedDate();
192 }
193
194
199 public void setModifiedDate(java.util.Date modifiedDate) {
200 _shoppingItem.setModifiedDate(modifiedDate);
201 }
202
203
208 public long getCategoryId() {
209 return _shoppingItem.getCategoryId();
210 }
211
212
217 public void setCategoryId(long categoryId) {
218 _shoppingItem.setCategoryId(categoryId);
219 }
220
221
226 public java.lang.String getSku() {
227 return _shoppingItem.getSku();
228 }
229
230
235 public void setSku(java.lang.String sku) {
236 _shoppingItem.setSku(sku);
237 }
238
239
244 public java.lang.String getName() {
245 return _shoppingItem.getName();
246 }
247
248
253 public void setName(java.lang.String name) {
254 _shoppingItem.setName(name);
255 }
256
257
262 public java.lang.String getDescription() {
263 return _shoppingItem.getDescription();
264 }
265
266
271 public void setDescription(java.lang.String description) {
272 _shoppingItem.setDescription(description);
273 }
274
275
280 public java.lang.String getProperties() {
281 return _shoppingItem.getProperties();
282 }
283
284
289 public void setProperties(java.lang.String properties) {
290 _shoppingItem.setProperties(properties);
291 }
292
293
298 public boolean getFields() {
299 return _shoppingItem.getFields();
300 }
301
302
307 public boolean isFields() {
308 return _shoppingItem.isFields();
309 }
310
311
316 public void setFields(boolean fields) {
317 _shoppingItem.setFields(fields);
318 }
319
320
325 public java.lang.String getFieldsQuantities() {
326 return _shoppingItem.getFieldsQuantities();
327 }
328
329
334 public void setFieldsQuantities(java.lang.String fieldsQuantities) {
335 _shoppingItem.setFieldsQuantities(fieldsQuantities);
336 }
337
338
343 public int getMinQuantity() {
344 return _shoppingItem.getMinQuantity();
345 }
346
347
352 public void setMinQuantity(int minQuantity) {
353 _shoppingItem.setMinQuantity(minQuantity);
354 }
355
356
361 public int getMaxQuantity() {
362 return _shoppingItem.getMaxQuantity();
363 }
364
365
370 public void setMaxQuantity(int maxQuantity) {
371 _shoppingItem.setMaxQuantity(maxQuantity);
372 }
373
374
379 public double getPrice() {
380 return _shoppingItem.getPrice();
381 }
382
383
388 public void setPrice(double price) {
389 _shoppingItem.setPrice(price);
390 }
391
392
397 public double getDiscount() {
398 return _shoppingItem.getDiscount();
399 }
400
401
406 public void setDiscount(double discount) {
407 _shoppingItem.setDiscount(discount);
408 }
409
410
415 public boolean getTaxable() {
416 return _shoppingItem.getTaxable();
417 }
418
419
424 public boolean isTaxable() {
425 return _shoppingItem.isTaxable();
426 }
427
428
433 public void setTaxable(boolean taxable) {
434 _shoppingItem.setTaxable(taxable);
435 }
436
437
442 public double getShipping() {
443 return _shoppingItem.getShipping();
444 }
445
446
451 public void setShipping(double shipping) {
452 _shoppingItem.setShipping(shipping);
453 }
454
455
460 public boolean getUseShippingFormula() {
461 return _shoppingItem.getUseShippingFormula();
462 }
463
464
469 public boolean isUseShippingFormula() {
470 return _shoppingItem.isUseShippingFormula();
471 }
472
473
478 public void setUseShippingFormula(boolean useShippingFormula) {
479 _shoppingItem.setUseShippingFormula(useShippingFormula);
480 }
481
482
487 public boolean getRequiresShipping() {
488 return _shoppingItem.getRequiresShipping();
489 }
490
491
496 public boolean isRequiresShipping() {
497 return _shoppingItem.isRequiresShipping();
498 }
499
500
505 public void setRequiresShipping(boolean requiresShipping) {
506 _shoppingItem.setRequiresShipping(requiresShipping);
507 }
508
509
514 public int getStockQuantity() {
515 return _shoppingItem.getStockQuantity();
516 }
517
518
523 public void setStockQuantity(int stockQuantity) {
524 _shoppingItem.setStockQuantity(stockQuantity);
525 }
526
527
532 public boolean getFeatured() {
533 return _shoppingItem.getFeatured();
534 }
535
536
541 public boolean isFeatured() {
542 return _shoppingItem.isFeatured();
543 }
544
545
550 public void setFeatured(boolean featured) {
551 _shoppingItem.setFeatured(featured);
552 }
553
554
559 public boolean getSale() {
560 return _shoppingItem.getSale();
561 }
562
563
568 public boolean isSale() {
569 return _shoppingItem.isSale();
570 }
571
572
577 public void setSale(boolean sale) {
578 _shoppingItem.setSale(sale);
579 }
580
581
586 public boolean getSmallImage() {
587 return _shoppingItem.getSmallImage();
588 }
589
590
595 public boolean isSmallImage() {
596 return _shoppingItem.isSmallImage();
597 }
598
599
604 public void setSmallImage(boolean smallImage) {
605 _shoppingItem.setSmallImage(smallImage);
606 }
607
608
613 public long getSmallImageId() {
614 return _shoppingItem.getSmallImageId();
615 }
616
617
622 public void setSmallImageId(long smallImageId) {
623 _shoppingItem.setSmallImageId(smallImageId);
624 }
625
626
631 public java.lang.String getSmallImageURL() {
632 return _shoppingItem.getSmallImageURL();
633 }
634
635
640 public void setSmallImageURL(java.lang.String smallImageURL) {
641 _shoppingItem.setSmallImageURL(smallImageURL);
642 }
643
644
649 public boolean getMediumImage() {
650 return _shoppingItem.getMediumImage();
651 }
652
653
658 public boolean isMediumImage() {
659 return _shoppingItem.isMediumImage();
660 }
661
662
667 public void setMediumImage(boolean mediumImage) {
668 _shoppingItem.setMediumImage(mediumImage);
669 }
670
671
676 public long getMediumImageId() {
677 return _shoppingItem.getMediumImageId();
678 }
679
680
685 public void setMediumImageId(long mediumImageId) {
686 _shoppingItem.setMediumImageId(mediumImageId);
687 }
688
689
694 public java.lang.String getMediumImageURL() {
695 return _shoppingItem.getMediumImageURL();
696 }
697
698
703 public void setMediumImageURL(java.lang.String mediumImageURL) {
704 _shoppingItem.setMediumImageURL(mediumImageURL);
705 }
706
707
712 public boolean getLargeImage() {
713 return _shoppingItem.getLargeImage();
714 }
715
716
721 public boolean isLargeImage() {
722 return _shoppingItem.isLargeImage();
723 }
724
725
730 public void setLargeImage(boolean largeImage) {
731 _shoppingItem.setLargeImage(largeImage);
732 }
733
734
739 public long getLargeImageId() {
740 return _shoppingItem.getLargeImageId();
741 }
742
743
748 public void setLargeImageId(long largeImageId) {
749 _shoppingItem.setLargeImageId(largeImageId);
750 }
751
752
757 public java.lang.String getLargeImageURL() {
758 return _shoppingItem.getLargeImageURL();
759 }
760
761
766 public void setLargeImageURL(java.lang.String largeImageURL) {
767 _shoppingItem.setLargeImageURL(largeImageURL);
768 }
769
770 public boolean isNew() {
771 return _shoppingItem.isNew();
772 }
773
774 public void setNew(boolean n) {
775 _shoppingItem.setNew(n);
776 }
777
778 public boolean isCachedModel() {
779 return _shoppingItem.isCachedModel();
780 }
781
782 public void setCachedModel(boolean cachedModel) {
783 _shoppingItem.setCachedModel(cachedModel);
784 }
785
786 public boolean isEscapedModel() {
787 return _shoppingItem.isEscapedModel();
788 }
789
790 public java.io.Serializable getPrimaryKeyObj() {
791 return _shoppingItem.getPrimaryKeyObj();
792 }
793
794 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
795 _shoppingItem.setPrimaryKeyObj(primaryKeyObj);
796 }
797
798 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
799 return _shoppingItem.getExpandoBridge();
800 }
801
802 public void setExpandoBridgeAttributes(
803 com.liferay.portal.service.ServiceContext serviceContext) {
804 _shoppingItem.setExpandoBridgeAttributes(serviceContext);
805 }
806
807 @Override
808 public java.lang.Object clone() {
809 return new ShoppingItemWrapper((ShoppingItem)_shoppingItem.clone());
810 }
811
812 public int compareTo(
813 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
814 return _shoppingItem.compareTo(shoppingItem);
815 }
816
817 @Override
818 public int hashCode() {
819 return _shoppingItem.hashCode();
820 }
821
822 public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItem> toCacheModel() {
823 return _shoppingItem.toCacheModel();
824 }
825
826 public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
827 return new ShoppingItemWrapper(_shoppingItem.toEscapedModel());
828 }
829
830 @Override
831 public java.lang.String toString() {
832 return _shoppingItem.toString();
833 }
834
835 public java.lang.String toXmlString() {
836 return _shoppingItem.toXmlString();
837 }
838
839 public void persist()
840 throws com.liferay.portal.kernel.exception.SystemException {
841 _shoppingItem.persist();
842 }
843
844 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
845 return _shoppingItem.getCategory();
846 }
847
848 public java.lang.String[] getFieldsQuantitiesArray() {
849 return _shoppingItem.getFieldsQuantitiesArray();
850 }
851
852 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
853 throws com.liferay.portal.kernel.exception.PortalException,
854 com.liferay.portal.kernel.exception.SystemException {
855 return _shoppingItem.getItemPrices();
856 }
857
858 public void setFieldsQuantitiesArray(
859 java.lang.String[] fieldsQuantitiesArray) {
860 _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
861 }
862
863 public ShoppingItem getWrappedShoppingItem() {
864 return _shoppingItem;
865 }
866
867 public void resetOriginalValues() {
868 _shoppingItem.resetOriginalValues();
869 }
870
871 private ShoppingItem _shoppingItem;
872 }