|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShoppingItemModel
The base model interface for the ShoppingItem service. Represents a row in the "ShoppingItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.shopping.model.impl.ShoppingItemImpl.
Never modify or reference this interface directly. All methods that expect a shopping item model instance should use the ShoppingItem interface instead.
ShoppingItem,
com.liferay.portlet.shopping.model.impl.ShoppingItemImpl,
com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItem shoppingItem)
|
long |
getCategoryId()
Gets the category id of this shopping item. |
long |
getCompanyId()
Gets the company id of this shopping item. |
java.util.Date |
getCreateDate()
Gets the create date of this shopping item. |
java.lang.String |
getDescription()
Gets the description of this shopping item. |
double |
getDiscount()
Gets the discount of this shopping item. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
boolean |
getFeatured()
Gets the featured of this shopping item. |
boolean |
getFields()
Gets the fields of this shopping item. |
java.lang.String |
getFieldsQuantities()
Gets the fields quantities of this shopping item. |
long |
getGroupId()
Gets the group id of this shopping item. |
long |
getItemId()
Gets the item id of this shopping item. |
boolean |
getLargeImage()
Gets the large image of this shopping item. |
long |
getLargeImageId()
Gets the large image id of this shopping item. |
java.lang.String |
getLargeImageURL()
Gets the large image u r l of this shopping item. |
int |
getMaxQuantity()
Gets the max quantity of this shopping item. |
boolean |
getMediumImage()
Gets the medium image of this shopping item. |
long |
getMediumImageId()
Gets the medium image id of this shopping item. |
java.lang.String |
getMediumImageURL()
Gets the medium image u r l of this shopping item. |
int |
getMinQuantity()
Gets the min quantity of this shopping item. |
java.util.Date |
getModifiedDate()
Gets the modified date of this shopping item. |
java.lang.String |
getName()
Gets the name of this shopping item. |
double |
getPrice()
Gets the price of this shopping item. |
long |
getPrimaryKey()
Gets the primary key of this shopping item. |
java.io.Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
java.lang.String |
getProperties()
Gets the properties of this shopping item. |
boolean |
getRequiresShipping()
Gets the requires shipping of this shopping item. |
boolean |
getSale()
Gets the sale of this shopping item. |
double |
getShipping()
Gets the shipping of this shopping item. |
java.lang.String |
getSku()
Gets the sku of this shopping item. |
boolean |
getSmallImage()
Gets the small image of this shopping item. |
long |
getSmallImageId()
Gets the small image id of this shopping item. |
java.lang.String |
getSmallImageURL()
Gets the small image u r l of this shopping item. |
int |
getStockQuantity()
Gets the stock quantity of this shopping item. |
boolean |
getTaxable()
Gets the taxable of this shopping item. |
long |
getUserId()
Gets the user id of this shopping item. |
java.lang.String |
getUserName()
Gets the user name of this shopping item. |
java.lang.String |
getUserUuid()
Gets the user uuid of this shopping item. |
boolean |
getUseShippingFormula()
Gets the use shipping formula of this shopping item. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isFeatured()
Determines if this shopping item is featured. |
boolean |
isFields()
Determines if this shopping item is fields. |
boolean |
isLargeImage()
Determines if this shopping item is large image. |
boolean |
isMediumImage()
Determines if this shopping item is medium image. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRequiresShipping()
Determines if this shopping item is requires shipping. |
boolean |
isSale()
Determines if this shopping item is sale. |
boolean |
isSmallImage()
Determines if this shopping item is small image. |
boolean |
isTaxable()
Determines if this shopping item is taxable. |
boolean |
isUseShippingFormula()
Determines if this shopping item is use shipping formula. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
Sets the category id of this shopping item. |
void |
setCompanyId(long companyId)
Sets the company id of this shopping item. |
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this shopping item. |
void |
setDescription(java.lang.String description)
Sets the description of this shopping item. |
void |
setDiscount(double discount)
Sets the discount of this shopping item. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFeatured(boolean featured)
Sets whether this {$entity.humanName} is featured. |
void |
setFields(boolean fields)
Sets whether this {$entity.humanName} is fields. |
void |
setFieldsQuantities(java.lang.String fieldsQuantities)
Sets the fields quantities of this shopping item. |
void |
setGroupId(long groupId)
Sets the group id of this shopping item. |
void |
setItemId(long itemId)
Sets the item id of this shopping item. |
void |
setLargeImage(boolean largeImage)
Sets whether this {$entity.humanName} is large image. |
void |
setLargeImageId(long largeImageId)
Sets the large image id of this shopping item. |
void |
setLargeImageURL(java.lang.String largeImageURL)
Sets the large image u r l of this shopping item. |
void |
setMaxQuantity(int maxQuantity)
Sets the max quantity of this shopping item. |
void |
setMediumImage(boolean mediumImage)
Sets whether this {$entity.humanName} is medium image. |
void |
setMediumImageId(long mediumImageId)
Sets the medium image id of this shopping item. |
void |
setMediumImageURL(java.lang.String mediumImageURL)
Sets the medium image u r l of this shopping item. |
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this shopping item. |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this shopping item. |
void |
setName(java.lang.String name)
Sets the name of this shopping item. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrice(double price)
Sets the price of this shopping item. |
void |
setPrimaryKey(long pk)
Sets the primary key of this shopping item |
void |
setProperties(java.lang.String properties)
Sets the properties of this shopping item. |
void |
setRequiresShipping(boolean requiresShipping)
Sets whether this {$entity.humanName} is requires shipping. |
void |
setSale(boolean sale)
Sets whether this {$entity.humanName} is sale. |
void |
setShipping(double shipping)
Sets the shipping of this shopping item. |
void |
setSku(java.lang.String sku)
Sets the sku of this shopping item. |
void |
setSmallImage(boolean smallImage)
Sets whether this {$entity.humanName} is small image. |
void |
setSmallImageId(long smallImageId)
Sets the small image id of this shopping item. |
void |
setSmallImageURL(java.lang.String smallImageURL)
Sets the small image u r l of this shopping item. |
void |
setStockQuantity(int stockQuantity)
Sets the stock quantity of this shopping item. |
void |
setTaxable(boolean taxable)
Sets whether this {$entity.humanName} is taxable. |
void |
setUserId(long userId)
Sets the user id of this shopping item. |
void |
setUserName(java.lang.String userName)
Sets the user name of this shopping item. |
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this shopping item. |
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this {$entity.humanName} is use shipping formula. |
ShoppingItem |
toEscapedModel()
Gets a copy of this shopping item as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this shopping itemlong getItemId()
void setItemId(long itemId)
itemId - the item id of this shopping itemlong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this shopping itemlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this shopping itemlong getUserId()
void setUserId(long userId)
userId - the user id of this shopping item
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(java.lang.String userUuid)
userUuid - the user uuid of this shopping item@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName - the user name of this shopping itemjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate - the create date of this shopping itemjava.util.Date getModifiedDate()
void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - the modified date of this shopping itemlong getCategoryId()
void setCategoryId(long categoryId)
categoryId - the category id of this shopping item@AutoEscape java.lang.String getSku()
void setSku(java.lang.String sku)
sku - the sku of this shopping item@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping item@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping item@AutoEscape java.lang.String getProperties()
void setProperties(java.lang.String properties)
properties - the properties of this shopping itemboolean getFields()
boolean isFields()
true if this shopping item is fields; false otherwisevoid setFields(boolean fields)
fields - the fields of this shopping item@AutoEscape java.lang.String getFieldsQuantities()
void setFieldsQuantities(java.lang.String fieldsQuantities)
fieldsQuantities - the fields quantities of this shopping itemint getMinQuantity()
void setMinQuantity(int minQuantity)
minQuantity - the min quantity of this shopping itemint getMaxQuantity()
void setMaxQuantity(int maxQuantity)
maxQuantity - the max quantity of this shopping itemdouble getPrice()
void setPrice(double price)
price - the price of this shopping itemdouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping itemboolean getTaxable()
boolean isTaxable()
true if this shopping item is taxable; false otherwisevoid setTaxable(boolean taxable)
taxable - the taxable of this shopping itemdouble getShipping()
void setShipping(double shipping)
shipping - the shipping of this shopping itemboolean getUseShippingFormula()
boolean isUseShippingFormula()
true if this shopping item is use shipping formula; false otherwisevoid setUseShippingFormula(boolean useShippingFormula)
useShippingFormula - the use shipping formula of this shopping itemboolean getRequiresShipping()
boolean isRequiresShipping()
true if this shopping item is requires shipping; false otherwisevoid setRequiresShipping(boolean requiresShipping)
requiresShipping - the requires shipping of this shopping itemint getStockQuantity()
void setStockQuantity(int stockQuantity)
stockQuantity - the stock quantity of this shopping itemboolean getFeatured()
boolean isFeatured()
true if this shopping item is featured; false otherwisevoid setFeatured(boolean featured)
featured - the featured of this shopping itemboolean getSale()
boolean isSale()
true if this shopping item is sale; false otherwisevoid setSale(boolean sale)
sale - the sale of this shopping itemboolean getSmallImage()
boolean isSmallImage()
true if this shopping item is small image; false otherwisevoid setSmallImage(boolean smallImage)
smallImage - the small image of this shopping itemlong getSmallImageId()
void setSmallImageId(long smallImageId)
smallImageId - the small image id of this shopping item@AutoEscape java.lang.String getSmallImageURL()
void setSmallImageURL(java.lang.String smallImageURL)
smallImageURL - the small image u r l of this shopping itemboolean getMediumImage()
boolean isMediumImage()
true if this shopping item is medium image; false otherwisevoid setMediumImage(boolean mediumImage)
mediumImage - the medium image of this shopping itemlong getMediumImageId()
void setMediumImageId(long mediumImageId)
mediumImageId - the medium image id of this shopping item@AutoEscape java.lang.String getMediumImageURL()
void setMediumImageURL(java.lang.String mediumImageURL)
mediumImageURL - the medium image u r l of this shopping itemboolean getLargeImage()
boolean isLargeImage()
true if this shopping item is large image; false otherwisevoid setLargeImage(boolean largeImage)
largeImage - the large image of this shopping itemlong getLargeImageId()
void setLargeImageId(long largeImageId)
largeImageId - the large image id of this shopping item@AutoEscape java.lang.String getLargeImageURL()
void setLargeImageURL(java.lang.String largeImageURL)
largeImageURL - the large image u r l of this shopping itemShoppingItem toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingItem>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingItem>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingItem>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingItem>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingItem>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ShoppingItem>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerjava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItem>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItem>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<ShoppingItem>int compareTo(ShoppingItem shoppingItem)
compareTo in interface java.lang.Comparable<ShoppingItem>int hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItem>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||