1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  import com.liferay.portal.kernel.exception.SystemException;
18  import com.liferay.portal.model.BaseModel;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  import java.util.Date;
26  
27  /**
28   * <a href="ShoppingItemModel.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * <p>
36   * This interface is a model that represents the ShoppingItem table in the
37   * database.
38   * </p>
39   *
40   * @author    Brian Wing Shun Chan
41   * @see       ShoppingItem
42   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemImpl
43   * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
44   * @generated
45   */
46  public interface ShoppingItemModel extends BaseModel<ShoppingItem> {
47      public long getPrimaryKey();
48  
49      public void setPrimaryKey(long pk);
50  
51      public long getItemId();
52  
53      public void setItemId(long itemId);
54  
55      public long getGroupId();
56  
57      public void setGroupId(long groupId);
58  
59      public long getCompanyId();
60  
61      public void setCompanyId(long companyId);
62  
63      public long getUserId();
64  
65      public void setUserId(long userId);
66  
67      public String getUserUuid() throws SystemException;
68  
69      public void setUserUuid(String userUuid);
70  
71      public String getUserName();
72  
73      public void setUserName(String userName);
74  
75      public Date getCreateDate();
76  
77      public void setCreateDate(Date createDate);
78  
79      public Date getModifiedDate();
80  
81      public void setModifiedDate(Date modifiedDate);
82  
83      public long getCategoryId();
84  
85      public void setCategoryId(long categoryId);
86  
87      public String getSku();
88  
89      public void setSku(String sku);
90  
91      public String getName();
92  
93      public void setName(String name);
94  
95      public String getDescription();
96  
97      public void setDescription(String description);
98  
99      public String getProperties();
100 
101     public void setProperties(String properties);
102 
103     public boolean getFields();
104 
105     public boolean isFields();
106 
107     public void setFields(boolean fields);
108 
109     public String getFieldsQuantities();
110 
111     public void setFieldsQuantities(String fieldsQuantities);
112 
113     public int getMinQuantity();
114 
115     public void setMinQuantity(int minQuantity);
116 
117     public int getMaxQuantity();
118 
119     public void setMaxQuantity(int maxQuantity);
120 
121     public double getPrice();
122 
123     public void setPrice(double price);
124 
125     public double getDiscount();
126 
127     public void setDiscount(double discount);
128 
129     public boolean getTaxable();
130 
131     public boolean isTaxable();
132 
133     public void setTaxable(boolean taxable);
134 
135     public double getShipping();
136 
137     public void setShipping(double shipping);
138 
139     public boolean getUseShippingFormula();
140 
141     public boolean isUseShippingFormula();
142 
143     public void setUseShippingFormula(boolean useShippingFormula);
144 
145     public boolean getRequiresShipping();
146 
147     public boolean isRequiresShipping();
148 
149     public void setRequiresShipping(boolean requiresShipping);
150 
151     public int getStockQuantity();
152 
153     public void setStockQuantity(int stockQuantity);
154 
155     public boolean getFeatured();
156 
157     public boolean isFeatured();
158 
159     public void setFeatured(boolean featured);
160 
161     public boolean getSale();
162 
163     public boolean isSale();
164 
165     public void setSale(boolean sale);
166 
167     public boolean getSmallImage();
168 
169     public boolean isSmallImage();
170 
171     public void setSmallImage(boolean smallImage);
172 
173     public long getSmallImageId();
174 
175     public void setSmallImageId(long smallImageId);
176 
177     public String getSmallImageURL();
178 
179     public void setSmallImageURL(String smallImageURL);
180 
181     public boolean getMediumImage();
182 
183     public boolean isMediumImage();
184 
185     public void setMediumImage(boolean mediumImage);
186 
187     public long getMediumImageId();
188 
189     public void setMediumImageId(long mediumImageId);
190 
191     public String getMediumImageURL();
192 
193     public void setMediumImageURL(String mediumImageURL);
194 
195     public boolean getLargeImage();
196 
197     public boolean isLargeImage();
198 
199     public void setLargeImage(boolean largeImage);
200 
201     public long getLargeImageId();
202 
203     public void setLargeImageId(long largeImageId);
204 
205     public String getLargeImageURL();
206 
207     public void setLargeImageURL(String largeImageURL);
208 
209     public ShoppingItem toEscapedModel();
210 
211     public boolean isNew();
212 
213     public boolean setNew(boolean n);
214 
215     public boolean isCachedModel();
216 
217     public void setCachedModel(boolean cachedModel);
218 
219     public boolean isEscapedModel();
220 
221     public void setEscapedModel(boolean escapedModel);
222 
223     public Serializable getPrimaryKeyObj();
224 
225     public ExpandoBridge getExpandoBridge();
226 
227     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
228 
229     public Object clone();
230 
231     public int compareTo(ShoppingItem shoppingItem);
232 
233     public int hashCode();
234 
235     public String toString();
236 
237     public String toXmlString();
238 }