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 ShoppingItem}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItem
024     * @generated
025     */
026    public class ShoppingItemWrapper implements ShoppingItem {
027            public ShoppingItemWrapper(ShoppingItem shoppingItem) {
028                    _shoppingItem = shoppingItem;
029            }
030    
031            /**
032            * Gets the primary key of this shopping item.
033            *
034            * @return the primary key of this shopping item
035            */
036            public long getPrimaryKey() {
037                    return _shoppingItem.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this shopping item
042            *
043            * @param pk the primary key of this shopping item
044            */
045            public void setPrimaryKey(long pk) {
046                    _shoppingItem.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the item id of this shopping item.
051            *
052            * @return the item id of this shopping item
053            */
054            public long getItemId() {
055                    return _shoppingItem.getItemId();
056            }
057    
058            /**
059            * Sets the item id of this shopping item.
060            *
061            * @param itemId the item id of this shopping item
062            */
063            public void setItemId(long itemId) {
064                    _shoppingItem.setItemId(itemId);
065            }
066    
067            /**
068            * Gets the group id of this shopping item.
069            *
070            * @return the group id of this shopping item
071            */
072            public long getGroupId() {
073                    return _shoppingItem.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this shopping item.
078            *
079            * @param groupId the group id of this shopping item
080            */
081            public void setGroupId(long groupId) {
082                    _shoppingItem.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this shopping item.
087            *
088            * @return the company id of this shopping item
089            */
090            public long getCompanyId() {
091                    return _shoppingItem.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this shopping item.
096            *
097            * @param companyId the company id of this shopping item
098            */
099            public void setCompanyId(long companyId) {
100                    _shoppingItem.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this shopping item.
105            *
106            * @return the user id of this shopping item
107            */
108            public long getUserId() {
109                    return _shoppingItem.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this shopping item.
114            *
115            * @param userId the user id of this shopping item
116            */
117            public void setUserId(long userId) {
118                    _shoppingItem.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this shopping item.
123            *
124            * @return the user uuid of this shopping item
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 _shoppingItem.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this shopping item.
134            *
135            * @param userUuid the user uuid of this shopping item
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _shoppingItem.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this shopping item.
143            *
144            * @return the user name of this shopping item
145            */
146            public java.lang.String getUserName() {
147                    return _shoppingItem.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this shopping item.
152            *
153            * @param userName the user name of this shopping item
154            */
155            public void setUserName(java.lang.String userName) {
156                    _shoppingItem.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this shopping item.
161            *
162            * @return the create date of this shopping item
163            */
164            public java.util.Date getCreateDate() {
165                    return _shoppingItem.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this shopping item.
170            *
171            * @param createDate the create date of this shopping item
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _shoppingItem.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this shopping item.
179            *
180            * @return the modified date of this shopping item
181            */
182            public java.util.Date getModifiedDate() {
183                    return _shoppingItem.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this shopping item.
188            *
189            * @param modifiedDate the modified date of this shopping item
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _shoppingItem.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the category id of this shopping item.
197            *
198            * @return the category id of this shopping item
199            */
200            public long getCategoryId() {
201                    return _shoppingItem.getCategoryId();
202            }
203    
204            /**
205            * Sets the category id of this shopping item.
206            *
207            * @param categoryId the category id of this shopping item
208            */
209            public void setCategoryId(long categoryId) {
210                    _shoppingItem.setCategoryId(categoryId);
211            }
212    
213            /**
214            * Gets the sku of this shopping item.
215            *
216            * @return the sku of this shopping item
217            */
218            public java.lang.String getSku() {
219                    return _shoppingItem.getSku();
220            }
221    
222            /**
223            * Sets the sku of this shopping item.
224            *
225            * @param sku the sku of this shopping item
226            */
227            public void setSku(java.lang.String sku) {
228                    _shoppingItem.setSku(sku);
229            }
230    
231            /**
232            * Gets the name of this shopping item.
233            *
234            * @return the name of this shopping item
235            */
236            public java.lang.String getName() {
237                    return _shoppingItem.getName();
238            }
239    
240            /**
241            * Sets the name of this shopping item.
242            *
243            * @param name the name of this shopping item
244            */
245            public void setName(java.lang.String name) {
246                    _shoppingItem.setName(name);
247            }
248    
249            /**
250            * Gets the description of this shopping item.
251            *
252            * @return the description of this shopping item
253            */
254            public java.lang.String getDescription() {
255                    return _shoppingItem.getDescription();
256            }
257    
258            /**
259            * Sets the description of this shopping item.
260            *
261            * @param description the description of this shopping item
262            */
263            public void setDescription(java.lang.String description) {
264                    _shoppingItem.setDescription(description);
265            }
266    
267            /**
268            * Gets the properties of this shopping item.
269            *
270            * @return the properties of this shopping item
271            */
272            public java.lang.String getProperties() {
273                    return _shoppingItem.getProperties();
274            }
275    
276            /**
277            * Sets the properties of this shopping item.
278            *
279            * @param properties the properties of this shopping item
280            */
281            public void setProperties(java.lang.String properties) {
282                    _shoppingItem.setProperties(properties);
283            }
284    
285            /**
286            * Gets the fields of this shopping item.
287            *
288            * @return the fields of this shopping item
289            */
290            public boolean getFields() {
291                    return _shoppingItem.getFields();
292            }
293    
294            /**
295            * Determines whether this shopping item is fields.
296            *
297            * @return whether this shopping item is fields
298            */
299            public boolean isFields() {
300                    return _shoppingItem.isFields();
301            }
302    
303            /**
304            * Sets whether this {$entity.humanName} is fields.
305            *
306            * @param fields the fields of this shopping item
307            */
308            public void setFields(boolean fields) {
309                    _shoppingItem.setFields(fields);
310            }
311    
312            /**
313            * Gets the fields quantities of this shopping item.
314            *
315            * @return the fields quantities of this shopping item
316            */
317            public java.lang.String getFieldsQuantities() {
318                    return _shoppingItem.getFieldsQuantities();
319            }
320    
321            /**
322            * Sets the fields quantities of this shopping item.
323            *
324            * @param fieldsQuantities the fields quantities of this shopping item
325            */
326            public void setFieldsQuantities(java.lang.String fieldsQuantities) {
327                    _shoppingItem.setFieldsQuantities(fieldsQuantities);
328            }
329    
330            /**
331            * Gets the min quantity of this shopping item.
332            *
333            * @return the min quantity of this shopping item
334            */
335            public int getMinQuantity() {
336                    return _shoppingItem.getMinQuantity();
337            }
338    
339            /**
340            * Sets the min quantity of this shopping item.
341            *
342            * @param minQuantity the min quantity of this shopping item
343            */
344            public void setMinQuantity(int minQuantity) {
345                    _shoppingItem.setMinQuantity(minQuantity);
346            }
347    
348            /**
349            * Gets the max quantity of this shopping item.
350            *
351            * @return the max quantity of this shopping item
352            */
353            public int getMaxQuantity() {
354                    return _shoppingItem.getMaxQuantity();
355            }
356    
357            /**
358            * Sets the max quantity of this shopping item.
359            *
360            * @param maxQuantity the max quantity of this shopping item
361            */
362            public void setMaxQuantity(int maxQuantity) {
363                    _shoppingItem.setMaxQuantity(maxQuantity);
364            }
365    
366            /**
367            * Gets the price of this shopping item.
368            *
369            * @return the price of this shopping item
370            */
371            public double getPrice() {
372                    return _shoppingItem.getPrice();
373            }
374    
375            /**
376            * Sets the price of this shopping item.
377            *
378            * @param price the price of this shopping item
379            */
380            public void setPrice(double price) {
381                    _shoppingItem.setPrice(price);
382            }
383    
384            /**
385            * Gets the discount of this shopping item.
386            *
387            * @return the discount of this shopping item
388            */
389            public double getDiscount() {
390                    return _shoppingItem.getDiscount();
391            }
392    
393            /**
394            * Sets the discount of this shopping item.
395            *
396            * @param discount the discount of this shopping item
397            */
398            public void setDiscount(double discount) {
399                    _shoppingItem.setDiscount(discount);
400            }
401    
402            /**
403            * Gets the taxable of this shopping item.
404            *
405            * @return the taxable of this shopping item
406            */
407            public boolean getTaxable() {
408                    return _shoppingItem.getTaxable();
409            }
410    
411            /**
412            * Determines whether this shopping item is taxable.
413            *
414            * @return whether this shopping item is taxable
415            */
416            public boolean isTaxable() {
417                    return _shoppingItem.isTaxable();
418            }
419    
420            /**
421            * Sets whether this {$entity.humanName} is taxable.
422            *
423            * @param taxable the taxable of this shopping item
424            */
425            public void setTaxable(boolean taxable) {
426                    _shoppingItem.setTaxable(taxable);
427            }
428    
429            /**
430            * Gets the shipping of this shopping item.
431            *
432            * @return the shipping of this shopping item
433            */
434            public double getShipping() {
435                    return _shoppingItem.getShipping();
436            }
437    
438            /**
439            * Sets the shipping of this shopping item.
440            *
441            * @param shipping the shipping of this shopping item
442            */
443            public void setShipping(double shipping) {
444                    _shoppingItem.setShipping(shipping);
445            }
446    
447            /**
448            * Gets the use shipping formula of this shopping item.
449            *
450            * @return the use shipping formula of this shopping item
451            */
452            public boolean getUseShippingFormula() {
453                    return _shoppingItem.getUseShippingFormula();
454            }
455    
456            /**
457            * Determines whether this shopping item is use shipping formula.
458            *
459            * @return whether this shopping item is use shipping formula
460            */
461            public boolean isUseShippingFormula() {
462                    return _shoppingItem.isUseShippingFormula();
463            }
464    
465            /**
466            * Sets whether this {$entity.humanName} is use shipping formula.
467            *
468            * @param useShippingFormula the use shipping formula of this shopping item
469            */
470            public void setUseShippingFormula(boolean useShippingFormula) {
471                    _shoppingItem.setUseShippingFormula(useShippingFormula);
472            }
473    
474            /**
475            * Gets the requires shipping of this shopping item.
476            *
477            * @return the requires shipping of this shopping item
478            */
479            public boolean getRequiresShipping() {
480                    return _shoppingItem.getRequiresShipping();
481            }
482    
483            /**
484            * Determines whether this shopping item is requires shipping.
485            *
486            * @return whether this shopping item is requires shipping
487            */
488            public boolean isRequiresShipping() {
489                    return _shoppingItem.isRequiresShipping();
490            }
491    
492            /**
493            * Sets whether this {$entity.humanName} is requires shipping.
494            *
495            * @param requiresShipping the requires shipping of this shopping item
496            */
497            public void setRequiresShipping(boolean requiresShipping) {
498                    _shoppingItem.setRequiresShipping(requiresShipping);
499            }
500    
501            /**
502            * Gets the stock quantity of this shopping item.
503            *
504            * @return the stock quantity of this shopping item
505            */
506            public int getStockQuantity() {
507                    return _shoppingItem.getStockQuantity();
508            }
509    
510            /**
511            * Sets the stock quantity of this shopping item.
512            *
513            * @param stockQuantity the stock quantity of this shopping item
514            */
515            public void setStockQuantity(int stockQuantity) {
516                    _shoppingItem.setStockQuantity(stockQuantity);
517            }
518    
519            /**
520            * Gets the featured of this shopping item.
521            *
522            * @return the featured of this shopping item
523            */
524            public boolean getFeatured() {
525                    return _shoppingItem.getFeatured();
526            }
527    
528            /**
529            * Determines whether this shopping item is featured.
530            *
531            * @return whether this shopping item is featured
532            */
533            public boolean isFeatured() {
534                    return _shoppingItem.isFeatured();
535            }
536    
537            /**
538            * Sets whether this {$entity.humanName} is featured.
539            *
540            * @param featured the featured of this shopping item
541            */
542            public void setFeatured(boolean featured) {
543                    _shoppingItem.setFeatured(featured);
544            }
545    
546            /**
547            * Gets the sale of this shopping item.
548            *
549            * @return the sale of this shopping item
550            */
551            public boolean getSale() {
552                    return _shoppingItem.getSale();
553            }
554    
555            /**
556            * Determines whether this shopping item is sale.
557            *
558            * @return whether this shopping item is sale
559            */
560            public boolean isSale() {
561                    return _shoppingItem.isSale();
562            }
563    
564            /**
565            * Sets whether this {$entity.humanName} is sale.
566            *
567            * @param sale the sale of this shopping item
568            */
569            public void setSale(boolean sale) {
570                    _shoppingItem.setSale(sale);
571            }
572    
573            /**
574            * Gets the small image of this shopping item.
575            *
576            * @return the small image of this shopping item
577            */
578            public boolean getSmallImage() {
579                    return _shoppingItem.getSmallImage();
580            }
581    
582            /**
583            * Determines whether this shopping item is small image.
584            *
585            * @return whether this shopping item is small image
586            */
587            public boolean isSmallImage() {
588                    return _shoppingItem.isSmallImage();
589            }
590    
591            /**
592            * Sets whether this {$entity.humanName} is small image.
593            *
594            * @param smallImage the small image of this shopping item
595            */
596            public void setSmallImage(boolean smallImage) {
597                    _shoppingItem.setSmallImage(smallImage);
598            }
599    
600            /**
601            * Gets the small image id of this shopping item.
602            *
603            * @return the small image id of this shopping item
604            */
605            public long getSmallImageId() {
606                    return _shoppingItem.getSmallImageId();
607            }
608    
609            /**
610            * Sets the small image id of this shopping item.
611            *
612            * @param smallImageId the small image id of this shopping item
613            */
614            public void setSmallImageId(long smallImageId) {
615                    _shoppingItem.setSmallImageId(smallImageId);
616            }
617    
618            /**
619            * Gets the small image u r l of this shopping item.
620            *
621            * @return the small image u r l of this shopping item
622            */
623            public java.lang.String getSmallImageURL() {
624                    return _shoppingItem.getSmallImageURL();
625            }
626    
627            /**
628            * Sets the small image u r l of this shopping item.
629            *
630            * @param smallImageURL the small image u r l of this shopping item
631            */
632            public void setSmallImageURL(java.lang.String smallImageURL) {
633                    _shoppingItem.setSmallImageURL(smallImageURL);
634            }
635    
636            /**
637            * Gets the medium image of this shopping item.
638            *
639            * @return the medium image of this shopping item
640            */
641            public boolean getMediumImage() {
642                    return _shoppingItem.getMediumImage();
643            }
644    
645            /**
646            * Determines whether this shopping item is medium image.
647            *
648            * @return whether this shopping item is medium image
649            */
650            public boolean isMediumImage() {
651                    return _shoppingItem.isMediumImage();
652            }
653    
654            /**
655            * Sets whether this {$entity.humanName} is medium image.
656            *
657            * @param mediumImage the medium image of this shopping item
658            */
659            public void setMediumImage(boolean mediumImage) {
660                    _shoppingItem.setMediumImage(mediumImage);
661            }
662    
663            /**
664            * Gets the medium image id of this shopping item.
665            *
666            * @return the medium image id of this shopping item
667            */
668            public long getMediumImageId() {
669                    return _shoppingItem.getMediumImageId();
670            }
671    
672            /**
673            * Sets the medium image id of this shopping item.
674            *
675            * @param mediumImageId the medium image id of this shopping item
676            */
677            public void setMediumImageId(long mediumImageId) {
678                    _shoppingItem.setMediumImageId(mediumImageId);
679            }
680    
681            /**
682            * Gets the medium image u r l of this shopping item.
683            *
684            * @return the medium image u r l of this shopping item
685            */
686            public java.lang.String getMediumImageURL() {
687                    return _shoppingItem.getMediumImageURL();
688            }
689    
690            /**
691            * Sets the medium image u r l of this shopping item.
692            *
693            * @param mediumImageURL the medium image u r l of this shopping item
694            */
695            public void setMediumImageURL(java.lang.String mediumImageURL) {
696                    _shoppingItem.setMediumImageURL(mediumImageURL);
697            }
698    
699            /**
700            * Gets the large image of this shopping item.
701            *
702            * @return the large image of this shopping item
703            */
704            public boolean getLargeImage() {
705                    return _shoppingItem.getLargeImage();
706            }
707    
708            /**
709            * Determines whether this shopping item is large image.
710            *
711            * @return whether this shopping item is large image
712            */
713            public boolean isLargeImage() {
714                    return _shoppingItem.isLargeImage();
715            }
716    
717            /**
718            * Sets whether this {$entity.humanName} is large image.
719            *
720            * @param largeImage the large image of this shopping item
721            */
722            public void setLargeImage(boolean largeImage) {
723                    _shoppingItem.setLargeImage(largeImage);
724            }
725    
726            /**
727            * Gets the large image id of this shopping item.
728            *
729            * @return the large image id of this shopping item
730            */
731            public long getLargeImageId() {
732                    return _shoppingItem.getLargeImageId();
733            }
734    
735            /**
736            * Sets the large image id of this shopping item.
737            *
738            * @param largeImageId the large image id of this shopping item
739            */
740            public void setLargeImageId(long largeImageId) {
741                    _shoppingItem.setLargeImageId(largeImageId);
742            }
743    
744            /**
745            * Gets the large image u r l of this shopping item.
746            *
747            * @return the large image u r l of this shopping item
748            */
749            public java.lang.String getLargeImageURL() {
750                    return _shoppingItem.getLargeImageURL();
751            }
752    
753            /**
754            * Sets the large image u r l of this shopping item.
755            *
756            * @param largeImageURL the large image u r l of this shopping item
757            */
758            public void setLargeImageURL(java.lang.String largeImageURL) {
759                    _shoppingItem.setLargeImageURL(largeImageURL);
760            }
761    
762            public boolean isNew() {
763                    return _shoppingItem.isNew();
764            }
765    
766            public void setNew(boolean n) {
767                    _shoppingItem.setNew(n);
768            }
769    
770            public boolean isCachedModel() {
771                    return _shoppingItem.isCachedModel();
772            }
773    
774            public void setCachedModel(boolean cachedModel) {
775                    _shoppingItem.setCachedModel(cachedModel);
776            }
777    
778            public boolean isEscapedModel() {
779                    return _shoppingItem.isEscapedModel();
780            }
781    
782            public void setEscapedModel(boolean escapedModel) {
783                    _shoppingItem.setEscapedModel(escapedModel);
784            }
785    
786            public java.io.Serializable getPrimaryKeyObj() {
787                    return _shoppingItem.getPrimaryKeyObj();
788            }
789    
790            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
791                    return _shoppingItem.getExpandoBridge();
792            }
793    
794            public void setExpandoBridgeAttributes(
795                    com.liferay.portal.service.ServiceContext serviceContext) {
796                    _shoppingItem.setExpandoBridgeAttributes(serviceContext);
797            }
798    
799            public java.lang.Object clone() {
800                    return _shoppingItem.clone();
801            }
802    
803            public int compareTo(
804                    com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
805                    return _shoppingItem.compareTo(shoppingItem);
806            }
807    
808            public int hashCode() {
809                    return _shoppingItem.hashCode();
810            }
811    
812            public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
813                    return _shoppingItem.toEscapedModel();
814            }
815    
816            public java.lang.String toString() {
817                    return _shoppingItem.toString();
818            }
819    
820            public java.lang.String toXmlString() {
821                    return _shoppingItem.toXmlString();
822            }
823    
824            public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
825                    return _shoppingItem.getCategory();
826            }
827    
828            public java.lang.String[] getFieldsQuantitiesArray() {
829                    return _shoppingItem.getFieldsQuantitiesArray();
830            }
831    
832            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
833                    throws com.liferay.portal.kernel.exception.PortalException,
834                            com.liferay.portal.kernel.exception.SystemException {
835                    return _shoppingItem.getItemPrices();
836            }
837    
838            public void setFieldsQuantitiesArray(
839                    java.lang.String[] fieldsQuantitiesArray) {
840                    _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
841            }
842    
843            public ShoppingItem getWrappedShoppingItem() {
844                    return _shoppingItem;
845            }
846    
847            private ShoppingItem _shoppingItem;
848    }