001
014
015 package com.liferay.portlet.shopping.model;
016
017
026 public class ShoppingCartWrapper implements ShoppingCart {
027 public ShoppingCartWrapper(ShoppingCart shoppingCart) {
028 _shoppingCart = shoppingCart;
029 }
030
031 public long getPrimaryKey() {
032 return _shoppingCart.getPrimaryKey();
033 }
034
035 public void setPrimaryKey(long pk) {
036 _shoppingCart.setPrimaryKey(pk);
037 }
038
039 public long getCartId() {
040 return _shoppingCart.getCartId();
041 }
042
043 public void setCartId(long cartId) {
044 _shoppingCart.setCartId(cartId);
045 }
046
047 public long getGroupId() {
048 return _shoppingCart.getGroupId();
049 }
050
051 public void setGroupId(long groupId) {
052 _shoppingCart.setGroupId(groupId);
053 }
054
055 public long getCompanyId() {
056 return _shoppingCart.getCompanyId();
057 }
058
059 public void setCompanyId(long companyId) {
060 _shoppingCart.setCompanyId(companyId);
061 }
062
063 public long getUserId() {
064 return _shoppingCart.getUserId();
065 }
066
067 public void setUserId(long userId) {
068 _shoppingCart.setUserId(userId);
069 }
070
071 public java.lang.String getUserUuid()
072 throws com.liferay.portal.kernel.exception.SystemException {
073 return _shoppingCart.getUserUuid();
074 }
075
076 public void setUserUuid(java.lang.String userUuid) {
077 _shoppingCart.setUserUuid(userUuid);
078 }
079
080 public java.lang.String getUserName() {
081 return _shoppingCart.getUserName();
082 }
083
084 public void setUserName(java.lang.String userName) {
085 _shoppingCart.setUserName(userName);
086 }
087
088 public java.util.Date getCreateDate() {
089 return _shoppingCart.getCreateDate();
090 }
091
092 public void setCreateDate(java.util.Date createDate) {
093 _shoppingCart.setCreateDate(createDate);
094 }
095
096 public java.util.Date getModifiedDate() {
097 return _shoppingCart.getModifiedDate();
098 }
099
100 public void setModifiedDate(java.util.Date modifiedDate) {
101 _shoppingCart.setModifiedDate(modifiedDate);
102 }
103
104 public java.lang.String getItemIds() {
105 return _shoppingCart.getItemIds();
106 }
107
108 public void setItemIds(java.lang.String itemIds) {
109 _shoppingCart.setItemIds(itemIds);
110 }
111
112 public java.lang.String getCouponCodes() {
113 return _shoppingCart.getCouponCodes();
114 }
115
116 public void setCouponCodes(java.lang.String couponCodes) {
117 _shoppingCart.setCouponCodes(couponCodes);
118 }
119
120 public int getAltShipping() {
121 return _shoppingCart.getAltShipping();
122 }
123
124 public void setAltShipping(int altShipping) {
125 _shoppingCart.setAltShipping(altShipping);
126 }
127
128 public boolean getInsure() {
129 return _shoppingCart.getInsure();
130 }
131
132 public boolean isInsure() {
133 return _shoppingCart.isInsure();
134 }
135
136 public void setInsure(boolean insure) {
137 _shoppingCart.setInsure(insure);
138 }
139
140 public com.liferay.portlet.shopping.model.ShoppingCart toEscapedModel() {
141 return _shoppingCart.toEscapedModel();
142 }
143
144 public boolean isNew() {
145 return _shoppingCart.isNew();
146 }
147
148 public void setNew(boolean n) {
149 _shoppingCart.setNew(n);
150 }
151
152 public boolean isCachedModel() {
153 return _shoppingCart.isCachedModel();
154 }
155
156 public void setCachedModel(boolean cachedModel) {
157 _shoppingCart.setCachedModel(cachedModel);
158 }
159
160 public boolean isEscapedModel() {
161 return _shoppingCart.isEscapedModel();
162 }
163
164 public void setEscapedModel(boolean escapedModel) {
165 _shoppingCart.setEscapedModel(escapedModel);
166 }
167
168 public java.io.Serializable getPrimaryKeyObj() {
169 return _shoppingCart.getPrimaryKeyObj();
170 }
171
172 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
173 return _shoppingCart.getExpandoBridge();
174 }
175
176 public void setExpandoBridgeAttributes(
177 com.liferay.portal.service.ServiceContext serviceContext) {
178 _shoppingCart.setExpandoBridgeAttributes(serviceContext);
179 }
180
181 public java.lang.Object clone() {
182 return _shoppingCart.clone();
183 }
184
185 public int compareTo(
186 com.liferay.portlet.shopping.model.ShoppingCart shoppingCart) {
187 return _shoppingCart.compareTo(shoppingCart);
188 }
189
190 public int hashCode() {
191 return _shoppingCart.hashCode();
192 }
193
194 public java.lang.String toString() {
195 return _shoppingCart.toString();
196 }
197
198 public java.lang.String toXmlString() {
199 return _shoppingCart.toXmlString();
200 }
201
202 public void addItemId(long itemId, java.lang.String fields) {
203 _shoppingCart.addItemId(itemId, fields);
204 }
205
206 public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon()
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _shoppingCart.getCoupon();
210 }
211
212 public java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem, java.lang.Integer> getItems()
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _shoppingCart.getItems();
215 }
216
217 public int getItemsSize() {
218 return _shoppingCart.getItemsSize();
219 }
220
221 public ShoppingCart getWrappedShoppingCart() {
222 return _shoppingCart;
223 }
224
225 private ShoppingCart _shoppingCart;
226 }