1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.shopping.model;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.model.BaseModel;
27  
28  import java.util.Date;
29  
30  /**
31   * <a href="ShoppingItemModel.java.html"><b><i>View Source</i></b></a>
32   *
33   * <p>
34   * ServiceBuilder generated this class. Modifications in this class will be
35   * overwritten the next time is generated.
36   * </p>
37   *
38   * <p>
39   * This interface is a model that represents the ShoppingItem table in the
40   * database.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       ShoppingItem
45   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemImpl
46   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
47   * @generated
48   */
49  public interface ShoppingItemModel extends BaseModel<ShoppingItem> {
50      public long getPrimaryKey();
51  
52      public void setPrimaryKey(long pk);
53  
54      public long getItemId();
55  
56      public void setItemId(long itemId);
57  
58      public long getCompanyId();
59  
60      public void setCompanyId(long companyId);
61  
62      public long getUserId();
63  
64      public void setUserId(long userId);
65  
66      public String getUserUuid() throws SystemException;
67  
68      public void setUserUuid(String userUuid);
69  
70      public String getUserName();
71  
72      public void setUserName(String userName);
73  
74      public Date getCreateDate();
75  
76      public void setCreateDate(Date createDate);
77  
78      public Date getModifiedDate();
79  
80      public void setModifiedDate(Date modifiedDate);
81  
82      public long getCategoryId();
83  
84      public void setCategoryId(long categoryId);
85  
86      public String getSku();
87  
88      public void setSku(String sku);
89  
90      public String getName();
91  
92      public void setName(String name);
93  
94      public String getDescription();
95  
96      public void setDescription(String description);
97  
98      public String getProperties();
99  
100     public void setProperties(String properties);
101 
102     public boolean getFields();
103 
104     public boolean isFields();
105 
106     public void setFields(boolean fields);
107 
108     public String getFieldsQuantities();
109 
110     public void setFieldsQuantities(String fieldsQuantities);
111 
112     public int getMinQuantity();
113 
114     public void setMinQuantity(int minQuantity);
115 
116     public int getMaxQuantity();
117 
118     public void setMaxQuantity(int maxQuantity);
119 
120     public double getPrice();
121 
122     public void setPrice(double price);
123 
124     public double getDiscount();
125 
126     public void setDiscount(double discount);
127 
128     public boolean getTaxable();
129 
130     public boolean isTaxable();
131 
132     public void setTaxable(boolean taxable);
133 
134     public double getShipping();
135 
136     public void setShipping(double shipping);
137 
138     public boolean getUseShippingFormula();
139 
140     public boolean isUseShippingFormula();
141 
142     public void setUseShippingFormula(boolean useShippingFormula);
143 
144     public boolean getRequiresShipping();
145 
146     public boolean isRequiresShipping();
147 
148     public void setRequiresShipping(boolean requiresShipping);
149 
150     public int getStockQuantity();
151 
152     public void setStockQuantity(int stockQuantity);
153 
154     public boolean getFeatured();
155 
156     public boolean isFeatured();
157 
158     public void setFeatured(boolean featured);
159 
160     public boolean getSale();
161 
162     public boolean isSale();
163 
164     public void setSale(boolean sale);
165 
166     public boolean getSmallImage();
167 
168     public boolean isSmallImage();
169 
170     public void setSmallImage(boolean smallImage);
171 
172     public long getSmallImageId();
173 
174     public void setSmallImageId(long smallImageId);
175 
176     public String getSmallImageURL();
177 
178     public void setSmallImageURL(String smallImageURL);
179 
180     public boolean getMediumImage();
181 
182     public boolean isMediumImage();
183 
184     public void setMediumImage(boolean mediumImage);
185 
186     public long getMediumImageId();
187 
188     public void setMediumImageId(long mediumImageId);
189 
190     public String getMediumImageURL();
191 
192     public void setMediumImageURL(String mediumImageURL);
193 
194     public boolean getLargeImage();
195 
196     public boolean isLargeImage();
197 
198     public void setLargeImage(boolean largeImage);
199 
200     public long getLargeImageId();
201 
202     public void setLargeImageId(long largeImageId);
203 
204     public String getLargeImageURL();
205 
206     public void setLargeImageURL(String largeImageURL);
207 
208     public ShoppingItem toEscapedModel();
209 }