com.liferay.portlet.shopping.model
Interface ShoppingItemModel
- All Superinterfaces:
- BaseModel<ShoppingItem>, java.lang.Cloneable, java.lang.Comparable<ShoppingItem>, java.io.Serializable
- All Known Subinterfaces:
- ShoppingItem
- All Known Implementing Classes:
- ShoppingItemWrapper
public interface ShoppingItemModel
- extends BaseModel<ShoppingItem>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface is a model that represents the ShoppingItem table in the
database.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingItem
,
com.liferay.portlet.shopping.model.impl.ShoppingItemImpl
,
com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
- Generated:
getPrimaryKey
long getPrimaryKey()
setPrimaryKey
void setPrimaryKey(long pk)
getItemId
long getItemId()
setItemId
void setItemId(long itemId)
getCompanyId
long getCompanyId()
setCompanyId
void setCompanyId(long companyId)
getUserId
long getUserId()
setUserId
void setUserId(long userId)
getUserUuid
java.lang.String getUserUuid()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUserUuid
void setUserUuid(java.lang.String userUuid)
getUserName
@AutoEscape
java.lang.String getUserName()
setUserName
void setUserName(java.lang.String userName)
getCreateDate
java.util.Date getCreateDate()
setCreateDate
void setCreateDate(java.util.Date createDate)
getModifiedDate
java.util.Date getModifiedDate()
setModifiedDate
void setModifiedDate(java.util.Date modifiedDate)
getCategoryId
long getCategoryId()
setCategoryId
void setCategoryId(long categoryId)
getSku
@AutoEscape
java.lang.String getSku()
setSku
void setSku(java.lang.String sku)
getName
@AutoEscape
java.lang.String getName()
setName
void setName(java.lang.String name)
getDescription
@AutoEscape
java.lang.String getDescription()
setDescription
void setDescription(java.lang.String description)
getProperties
@AutoEscape
java.lang.String getProperties()
setProperties
void setProperties(java.lang.String properties)
getFields
boolean getFields()
isFields
boolean isFields()
setFields
void setFields(boolean fields)
getFieldsQuantities
@AutoEscape
java.lang.String getFieldsQuantities()
setFieldsQuantities
void setFieldsQuantities(java.lang.String fieldsQuantities)
getMinQuantity
int getMinQuantity()
setMinQuantity
void setMinQuantity(int minQuantity)
getMaxQuantity
int getMaxQuantity()
setMaxQuantity
void setMaxQuantity(int maxQuantity)
getPrice
double getPrice()
setPrice
void setPrice(double price)
getDiscount
double getDiscount()
setDiscount
void setDiscount(double discount)
getTaxable
boolean getTaxable()
isTaxable
boolean isTaxable()
setTaxable
void setTaxable(boolean taxable)
getShipping
double getShipping()
setShipping
void setShipping(double shipping)
getUseShippingFormula
boolean getUseShippingFormula()
isUseShippingFormula
boolean isUseShippingFormula()
setUseShippingFormula
void setUseShippingFormula(boolean useShippingFormula)
getRequiresShipping
boolean getRequiresShipping()
isRequiresShipping
boolean isRequiresShipping()
setRequiresShipping
void setRequiresShipping(boolean requiresShipping)
getStockQuantity
int getStockQuantity()
setStockQuantity
void setStockQuantity(int stockQuantity)
getFeatured
boolean getFeatured()
isFeatured
boolean isFeatured()
setFeatured
void setFeatured(boolean featured)
getSale
boolean getSale()
isSale
boolean isSale()
setSale
void setSale(boolean sale)
getSmallImage
boolean getSmallImage()
isSmallImage
boolean isSmallImage()
setSmallImage
void setSmallImage(boolean smallImage)
getSmallImageId
long getSmallImageId()
setSmallImageId
void setSmallImageId(long smallImageId)
getSmallImageURL
@AutoEscape
java.lang.String getSmallImageURL()
setSmallImageURL
void setSmallImageURL(java.lang.String smallImageURL)
getMediumImage
boolean getMediumImage()
isMediumImage
boolean isMediumImage()
setMediumImage
void setMediumImage(boolean mediumImage)
getMediumImageId
long getMediumImageId()
setMediumImageId
void setMediumImageId(long mediumImageId)
getMediumImageURL
@AutoEscape
java.lang.String getMediumImageURL()
setMediumImageURL
void setMediumImageURL(java.lang.String mediumImageURL)
getLargeImage
boolean getLargeImage()
isLargeImage
boolean isLargeImage()
setLargeImage
void setLargeImage(boolean largeImage)
getLargeImageId
long getLargeImageId()
setLargeImageId
void setLargeImageId(long largeImageId)
getLargeImageURL
@AutoEscape
java.lang.String getLargeImageURL()
setLargeImageURL
void setLargeImageURL(java.lang.String largeImageURL)
isNew
boolean isNew()
- Specified by:
isNew
in interface BaseModel<ShoppingItem>
setNew
boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<ShoppingItem>
isCachedModel
boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<ShoppingItem>
setCachedModel
void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<ShoppingItem>
isEscapedModel
boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<ShoppingItem>
setEscapedModel
void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<ShoppingItem>
getPrimaryKeyObj
java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<ShoppingItem>
getExpandoBridge
ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<ShoppingItem>
setExpandoBridgeAttributes
void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<ShoppingItem>
clone
java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<ShoppingItem>
compareTo
int compareTo(ShoppingItem shoppingItem)
- Specified by:
compareTo
in interface java.lang.Comparable<ShoppingItem>
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
ShoppingItem toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<ShoppingItem>
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<ShoppingItem>