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