Liferay 6.0.5

com.liferay.portlet.shopping.model.impl
Class ShoppingItemModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ShoppingItem>
      extended by com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
All Implemented Interfaces:
BaseModel<ShoppingItem>, ShoppingItemModel, Serializable, Cloneable, Comparable<ShoppingItem>
Direct Known Subclasses:
ShoppingItemImpl

public class ShoppingItemModelImpl
extends BaseModelImpl<ShoppingItem>
implements ShoppingItemModel

The base model implementation for the ShoppingItem service. Represents a row in the "ShoppingItem" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ShoppingItemModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingItemImpl.

Never modify or reference this class directly. All methods that expect a shopping item model instance should use the ShoppingItem interface instead.

See Also:
ShoppingItemImpl, ShoppingItem, ShoppingItemModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
ShoppingItemModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ShoppingItem shoppingItem)
           
 boolean equals(Object obj)
           
 long getCategoryId()
          Gets the category id of this shopping item.
 long getCompanyId()
          Gets the company id of this shopping item.
 Date getCreateDate()
          Gets the create date of this shopping item.
 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.
 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.
 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.
 String getMediumImageURL()
          Gets the medium image u r l of this shopping item.
 int getMinQuantity()
          Gets the min quantity of this shopping item.
 Date getModifiedDate()
          Gets the modified date of this shopping item.
 String getName()
          Gets the name of this shopping item.
 long getOriginalCompanyId()
           
 long getOriginalLargeImageId()
           
 long getOriginalMediumImageId()
           
 String getOriginalSku()
           
 long getOriginalSmallImageId()
           
 double getPrice()
          Gets the price of this shopping item.
 long getPrimaryKey()
          Gets the primary key of this shopping item.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 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.
 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.
 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.
 String getUserName()
          Gets the user name of this shopping item.
 String getUserUuid()
          Gets the user uuid of this shopping item.
 boolean getUseShippingFormula()
          Gets the use shipping formula of this shopping item.
 int hashCode()
           
 boolean isFeatured()
          Determines whether this shopping item is featured.
 boolean isFields()
          Determines whether this shopping item is fields.
 boolean isLargeImage()
          Determines whether this shopping item is large image.
 boolean isMediumImage()
          Determines whether this shopping item is medium image.
 boolean isRequiresShipping()
          Determines whether this shopping item is requires shipping.
 boolean isSale()
          Determines whether this shopping item is sale.
 boolean isSmallImage()
          Determines whether this shopping item is small image.
 boolean isTaxable()
          Determines whether this shopping item is taxable.
 boolean isUseShippingFormula()
          Determines whether this shopping item is use shipping formula.
 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(Date createDate)
          Sets the create date of this shopping item.
 void setDescription(String description)
          Sets the description of this shopping item.
 void setDiscount(double discount)
          Sets the discount of this shopping item.
 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(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(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(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(Date modifiedDate)
          Sets the modified date of this shopping item.
 void setName(String name)
          Sets the name of this shopping item.
 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(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(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(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(String userName)
          Sets the user name of this shopping item.
 void setUserUuid(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.
static ShoppingItem toModel(ShoppingItemSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<ShoppingItem> toModels(ShoppingItemSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ShoppingItemModelImpl

public ShoppingItemModelImpl()
Method Detail

toModel

public static ShoppingItem toModel(ShoppingItemSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<ShoppingItem> toModels(ShoppingItemSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ShoppingItemModel
Gets the primary key of this shopping item.

Specified by:
getPrimaryKey in interface ShoppingItemModel
Returns:
the primary key of this shopping item

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: ShoppingItemModel
Sets the primary key of this shopping item

Specified by:
setPrimaryKey in interface ShoppingItemModel
Parameters:
pk - the primary key of this shopping item

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingItem>
Specified by:
getPrimaryKeyObj in interface ShoppingItemModel
Returns:
the primary key of this model instance

getItemId

public long getItemId()
Description copied from interface: ShoppingItemModel
Gets the item id of this shopping item.

Specified by:
getItemId in interface ShoppingItemModel
Returns:
the item id of this shopping item

setItemId

public void setItemId(long itemId)
Description copied from interface: ShoppingItemModel
Sets the item id of this shopping item.

Specified by:
setItemId in interface ShoppingItemModel
Parameters:
itemId - the item id of this shopping item

getGroupId

public long getGroupId()
Description copied from interface: ShoppingItemModel
Gets the group id of this shopping item.

Specified by:
getGroupId in interface ShoppingItemModel
Returns:
the group id of this shopping item

setGroupId

public void setGroupId(long groupId)
Description copied from interface: ShoppingItemModel
Sets the group id of this shopping item.

Specified by:
setGroupId in interface ShoppingItemModel
Parameters:
groupId - the group id of this shopping item

getCompanyId

public long getCompanyId()
Description copied from interface: ShoppingItemModel
Gets the company id of this shopping item.

Specified by:
getCompanyId in interface ShoppingItemModel
Returns:
the company id of this shopping item

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ShoppingItemModel
Sets the company id of this shopping item.

Specified by:
setCompanyId in interface ShoppingItemModel
Parameters:
companyId - the company id of this shopping item

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: ShoppingItemModel
Gets the user id of this shopping item.

Specified by:
getUserId in interface ShoppingItemModel
Returns:
the user id of this shopping item

setUserId

public void setUserId(long userId)
Description copied from interface: ShoppingItemModel
Sets the user id of this shopping item.

Specified by:
setUserId in interface ShoppingItemModel
Parameters:
userId - the user id of this shopping item

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: ShoppingItemModel
Gets the user uuid of this shopping item.

Specified by:
getUserUuid in interface ShoppingItemModel
Returns:
the user uuid of this shopping item
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: ShoppingItemModel
Sets the user uuid of this shopping item.

Specified by:
setUserUuid in interface ShoppingItemModel
Parameters:
userUuid - the user uuid of this shopping item

getUserName

public String getUserName()
Description copied from interface: ShoppingItemModel
Gets the user name of this shopping item.

Specified by:
getUserName in interface ShoppingItemModel
Returns:
the user name of this shopping item

setUserName

public void setUserName(String userName)
Description copied from interface: ShoppingItemModel
Sets the user name of this shopping item.

Specified by:
setUserName in interface ShoppingItemModel
Parameters:
userName - the user name of this shopping item

getCreateDate

public Date getCreateDate()
Description copied from interface: ShoppingItemModel
Gets the create date of this shopping item.

Specified by:
getCreateDate in interface ShoppingItemModel
Returns:
the create date of this shopping item

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: ShoppingItemModel
Sets the create date of this shopping item.

Specified by:
setCreateDate in interface ShoppingItemModel
Parameters:
createDate - the create date of this shopping item

getModifiedDate

public Date getModifiedDate()
Description copied from interface: ShoppingItemModel
Gets the modified date of this shopping item.

Specified by:
getModifiedDate in interface ShoppingItemModel
Returns:
the modified date of this shopping item

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: ShoppingItemModel
Sets the modified date of this shopping item.

Specified by:
setModifiedDate in interface ShoppingItemModel
Parameters:
modifiedDate - the modified date of this shopping item

getCategoryId

public long getCategoryId()
Description copied from interface: ShoppingItemModel
Gets the category id of this shopping item.

Specified by:
getCategoryId in interface ShoppingItemModel
Returns:
the category id of this shopping item

setCategoryId

public void setCategoryId(long categoryId)
Description copied from interface: ShoppingItemModel
Sets the category id of this shopping item.

Specified by:
setCategoryId in interface ShoppingItemModel
Parameters:
categoryId - the category id of this shopping item

getSku

public String getSku()
Description copied from interface: ShoppingItemModel
Gets the sku of this shopping item.

Specified by:
getSku in interface ShoppingItemModel
Returns:
the sku of this shopping item

setSku

public void setSku(String sku)
Description copied from interface: ShoppingItemModel
Sets the sku of this shopping item.

Specified by:
setSku in interface ShoppingItemModel
Parameters:
sku - the sku of this shopping item

getOriginalSku

public String getOriginalSku()

getName

public String getName()
Description copied from interface: ShoppingItemModel
Gets the name of this shopping item.

Specified by:
getName in interface ShoppingItemModel
Returns:
the name of this shopping item

setName

public void setName(String name)
Description copied from interface: ShoppingItemModel
Sets the name of this shopping item.

Specified by:
setName in interface ShoppingItemModel
Parameters:
name - the name of this shopping item

getDescription

public String getDescription()
Description copied from interface: ShoppingItemModel
Gets the description of this shopping item.

Specified by:
getDescription in interface ShoppingItemModel
Returns:
the description of this shopping item

setDescription

public void setDescription(String description)
Description copied from interface: ShoppingItemModel
Sets the description of this shopping item.

Specified by:
setDescription in interface ShoppingItemModel
Parameters:
description - the description of this shopping item

getProperties

public String getProperties()
Description copied from interface: ShoppingItemModel
Gets the properties of this shopping item.

Specified by:
getProperties in interface ShoppingItemModel
Returns:
the properties of this shopping item

setProperties

public void setProperties(String properties)
Description copied from interface: ShoppingItemModel
Sets the properties of this shopping item.

Specified by:
setProperties in interface ShoppingItemModel
Parameters:
properties - the properties of this shopping item

getFields

public boolean getFields()
Description copied from interface: ShoppingItemModel
Gets the fields of this shopping item.

Specified by:
getFields in interface ShoppingItemModel
Returns:
the fields of this shopping item

isFields

public boolean isFields()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is fields.

Specified by:
isFields in interface ShoppingItemModel
Returns:
whether this shopping item is fields

setFields

public void setFields(boolean fields)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is fields.

Specified by:
setFields in interface ShoppingItemModel
Parameters:
fields - the fields of this shopping item

getFieldsQuantities

public String getFieldsQuantities()
Description copied from interface: ShoppingItemModel
Gets the fields quantities of this shopping item.

Specified by:
getFieldsQuantities in interface ShoppingItemModel
Returns:
the fields quantities of this shopping item

setFieldsQuantities

public void setFieldsQuantities(String fieldsQuantities)
Description copied from interface: ShoppingItemModel
Sets the fields quantities of this shopping item.

Specified by:
setFieldsQuantities in interface ShoppingItemModel
Parameters:
fieldsQuantities - the fields quantities of this shopping item

getMinQuantity

public int getMinQuantity()
Description copied from interface: ShoppingItemModel
Gets the min quantity of this shopping item.

Specified by:
getMinQuantity in interface ShoppingItemModel
Returns:
the min quantity of this shopping item

setMinQuantity

public void setMinQuantity(int minQuantity)
Description copied from interface: ShoppingItemModel
Sets the min quantity of this shopping item.

Specified by:
setMinQuantity in interface ShoppingItemModel
Parameters:
minQuantity - the min quantity of this shopping item

getMaxQuantity

public int getMaxQuantity()
Description copied from interface: ShoppingItemModel
Gets the max quantity of this shopping item.

Specified by:
getMaxQuantity in interface ShoppingItemModel
Returns:
the max quantity of this shopping item

setMaxQuantity

public void setMaxQuantity(int maxQuantity)
Description copied from interface: ShoppingItemModel
Sets the max quantity of this shopping item.

Specified by:
setMaxQuantity in interface ShoppingItemModel
Parameters:
maxQuantity - the max quantity of this shopping item

getPrice

public double getPrice()
Description copied from interface: ShoppingItemModel
Gets the price of this shopping item.

Specified by:
getPrice in interface ShoppingItemModel
Returns:
the price of this shopping item

setPrice

public void setPrice(double price)
Description copied from interface: ShoppingItemModel
Sets the price of this shopping item.

Specified by:
setPrice in interface ShoppingItemModel
Parameters:
price - the price of this shopping item

getDiscount

public double getDiscount()
Description copied from interface: ShoppingItemModel
Gets the discount of this shopping item.

Specified by:
getDiscount in interface ShoppingItemModel
Returns:
the discount of this shopping item

setDiscount

public void setDiscount(double discount)
Description copied from interface: ShoppingItemModel
Sets the discount of this shopping item.

Specified by:
setDiscount in interface ShoppingItemModel
Parameters:
discount - the discount of this shopping item

getTaxable

public boolean getTaxable()
Description copied from interface: ShoppingItemModel
Gets the taxable of this shopping item.

Specified by:
getTaxable in interface ShoppingItemModel
Returns:
the taxable of this shopping item

isTaxable

public boolean isTaxable()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is taxable.

Specified by:
isTaxable in interface ShoppingItemModel
Returns:
whether this shopping item is taxable

setTaxable

public void setTaxable(boolean taxable)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is taxable.

Specified by:
setTaxable in interface ShoppingItemModel
Parameters:
taxable - the taxable of this shopping item

getShipping

public double getShipping()
Description copied from interface: ShoppingItemModel
Gets the shipping of this shopping item.

Specified by:
getShipping in interface ShoppingItemModel
Returns:
the shipping of this shopping item

setShipping

public void setShipping(double shipping)
Description copied from interface: ShoppingItemModel
Sets the shipping of this shopping item.

Specified by:
setShipping in interface ShoppingItemModel
Parameters:
shipping - the shipping of this shopping item

getUseShippingFormula

public boolean getUseShippingFormula()
Description copied from interface: ShoppingItemModel
Gets the use shipping formula of this shopping item.

Specified by:
getUseShippingFormula in interface ShoppingItemModel
Returns:
the use shipping formula of this shopping item

isUseShippingFormula

public boolean isUseShippingFormula()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is use shipping formula.

Specified by:
isUseShippingFormula in interface ShoppingItemModel
Returns:
whether this shopping item is use shipping formula

setUseShippingFormula

public void setUseShippingFormula(boolean useShippingFormula)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is use shipping formula.

Specified by:
setUseShippingFormula in interface ShoppingItemModel
Parameters:
useShippingFormula - the use shipping formula of this shopping item

getRequiresShipping

public boolean getRequiresShipping()
Description copied from interface: ShoppingItemModel
Gets the requires shipping of this shopping item.

Specified by:
getRequiresShipping in interface ShoppingItemModel
Returns:
the requires shipping of this shopping item

isRequiresShipping

public boolean isRequiresShipping()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is requires shipping.

Specified by:
isRequiresShipping in interface ShoppingItemModel
Returns:
whether this shopping item is requires shipping

setRequiresShipping

public void setRequiresShipping(boolean requiresShipping)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is requires shipping.

Specified by:
setRequiresShipping in interface ShoppingItemModel
Parameters:
requiresShipping - the requires shipping of this shopping item

getStockQuantity

public int getStockQuantity()
Description copied from interface: ShoppingItemModel
Gets the stock quantity of this shopping item.

Specified by:
getStockQuantity in interface ShoppingItemModel
Returns:
the stock quantity of this shopping item

setStockQuantity

public void setStockQuantity(int stockQuantity)
Description copied from interface: ShoppingItemModel
Sets the stock quantity of this shopping item.

Specified by:
setStockQuantity in interface ShoppingItemModel
Parameters:
stockQuantity - the stock quantity of this shopping item

getFeatured

public boolean getFeatured()
Description copied from interface: ShoppingItemModel
Gets the featured of this shopping item.

Specified by:
getFeatured in interface ShoppingItemModel
Returns:
the featured of this shopping item

isFeatured

public boolean isFeatured()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is featured.

Specified by:
isFeatured in interface ShoppingItemModel
Returns:
whether this shopping item is featured

setFeatured

public void setFeatured(boolean featured)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is featured.

Specified by:
setFeatured in interface ShoppingItemModel
Parameters:
featured - the featured of this shopping item

getSale

public boolean getSale()
Description copied from interface: ShoppingItemModel
Gets the sale of this shopping item.

Specified by:
getSale in interface ShoppingItemModel
Returns:
the sale of this shopping item

isSale

public boolean isSale()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is sale.

Specified by:
isSale in interface ShoppingItemModel
Returns:
whether this shopping item is sale

setSale

public void setSale(boolean sale)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is sale.

Specified by:
setSale in interface ShoppingItemModel
Parameters:
sale - the sale of this shopping item

getSmallImage

public boolean getSmallImage()
Description copied from interface: ShoppingItemModel
Gets the small image of this shopping item.

Specified by:
getSmallImage in interface ShoppingItemModel
Returns:
the small image of this shopping item

isSmallImage

public boolean isSmallImage()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is small image.

Specified by:
isSmallImage in interface ShoppingItemModel
Returns:
whether this shopping item is small image

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is small image.

Specified by:
setSmallImage in interface ShoppingItemModel
Parameters:
smallImage - the small image of this shopping item

getSmallImageId

public long getSmallImageId()
Description copied from interface: ShoppingItemModel
Gets the small image id of this shopping item.

Specified by:
getSmallImageId in interface ShoppingItemModel
Returns:
the small image id of this shopping item

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: ShoppingItemModel
Sets the small image id of this shopping item.

Specified by:
setSmallImageId in interface ShoppingItemModel
Parameters:
smallImageId - the small image id of this shopping item

getOriginalSmallImageId

public long getOriginalSmallImageId()

getSmallImageURL

public String getSmallImageURL()
Description copied from interface: ShoppingItemModel
Gets the small image u r l of this shopping item.

Specified by:
getSmallImageURL in interface ShoppingItemModel
Returns:
the small image u r l of this shopping item

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Description copied from interface: ShoppingItemModel
Sets the small image u r l of this shopping item.

Specified by:
setSmallImageURL in interface ShoppingItemModel
Parameters:
smallImageURL - the small image u r l of this shopping item

getMediumImage

public boolean getMediumImage()
Description copied from interface: ShoppingItemModel
Gets the medium image of this shopping item.

Specified by:
getMediumImage in interface ShoppingItemModel
Returns:
the medium image of this shopping item

isMediumImage

public boolean isMediumImage()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is medium image.

Specified by:
isMediumImage in interface ShoppingItemModel
Returns:
whether this shopping item is medium image

setMediumImage

public void setMediumImage(boolean mediumImage)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is medium image.

Specified by:
setMediumImage in interface ShoppingItemModel
Parameters:
mediumImage - the medium image of this shopping item

getMediumImageId

public long getMediumImageId()
Description copied from interface: ShoppingItemModel
Gets the medium image id of this shopping item.

Specified by:
getMediumImageId in interface ShoppingItemModel
Returns:
the medium image id of this shopping item

setMediumImageId

public void setMediumImageId(long mediumImageId)
Description copied from interface: ShoppingItemModel
Sets the medium image id of this shopping item.

Specified by:
setMediumImageId in interface ShoppingItemModel
Parameters:
mediumImageId - the medium image id of this shopping item

getOriginalMediumImageId

public long getOriginalMediumImageId()

getMediumImageURL

public String getMediumImageURL()
Description copied from interface: ShoppingItemModel
Gets the medium image u r l of this shopping item.

Specified by:
getMediumImageURL in interface ShoppingItemModel
Returns:
the medium image u r l of this shopping item

setMediumImageURL

public void setMediumImageURL(String mediumImageURL)
Description copied from interface: ShoppingItemModel
Sets the medium image u r l of this shopping item.

Specified by:
setMediumImageURL in interface ShoppingItemModel
Parameters:
mediumImageURL - the medium image u r l of this shopping item

getLargeImage

public boolean getLargeImage()
Description copied from interface: ShoppingItemModel
Gets the large image of this shopping item.

Specified by:
getLargeImage in interface ShoppingItemModel
Returns:
the large image of this shopping item

isLargeImage

public boolean isLargeImage()
Description copied from interface: ShoppingItemModel
Determines whether this shopping item is large image.

Specified by:
isLargeImage in interface ShoppingItemModel
Returns:
whether this shopping item is large image

setLargeImage

public void setLargeImage(boolean largeImage)
Description copied from interface: ShoppingItemModel
Sets whether this {$entity.humanName} is large image.

Specified by:
setLargeImage in interface ShoppingItemModel
Parameters:
largeImage - the large image of this shopping item

getLargeImageId

public long getLargeImageId()
Description copied from interface: ShoppingItemModel
Gets the large image id of this shopping item.

Specified by:
getLargeImageId in interface ShoppingItemModel
Returns:
the large image id of this shopping item

setLargeImageId

public void setLargeImageId(long largeImageId)
Description copied from interface: ShoppingItemModel
Sets the large image id of this shopping item.

Specified by:
setLargeImageId in interface ShoppingItemModel
Parameters:
largeImageId - the large image id of this shopping item

getOriginalLargeImageId

public long getOriginalLargeImageId()

getLargeImageURL

public String getLargeImageURL()
Description copied from interface: ShoppingItemModel
Gets the large image u r l of this shopping item.

Specified by:
getLargeImageURL in interface ShoppingItemModel
Returns:
the large image u r l of this shopping item

setLargeImageURL

public void setLargeImageURL(String largeImageURL)
Description copied from interface: ShoppingItemModel
Sets the large image u r l of this shopping item.

Specified by:
setLargeImageURL in interface ShoppingItemModel
Parameters:
largeImageURL - the large image u r l of this shopping item

toEscapedModel

public ShoppingItem toEscapedModel()
Description copied from interface: ShoppingItemModel
Gets a copy of this shopping item as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface ShoppingItemModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<ShoppingItem>
Specified by:
getExpandoBridge in interface ShoppingItemModel
Overrides:
getExpandoBridge in class BaseModelImpl<ShoppingItem>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>
Specified by:
setExpandoBridgeAttributes in interface ShoppingItemModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<ShoppingItem>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<ShoppingItem>
Specified by:
clone in interface ShoppingItemModel
Specified by:
clone in class BaseModelImpl<ShoppingItem>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(ShoppingItem shoppingItem)
Specified by:
compareTo in interface ShoppingItemModel
Specified by:
compareTo in interface Comparable<ShoppingItem>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface ShoppingItemModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface ShoppingItemModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<ShoppingItem>
Specified by:
toXmlString in interface ShoppingItemModel
Returns:
the XML representation of this model instance

Liferay 6.0.5