Liferay 6.1.2-ce-ga3

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:
AuditedModel, BaseModel<ShoppingItem>, ClassedModel, GroupedModel, ShoppingItemModel, Serializable, Cloneable, Comparable<ShoppingItem>
Direct Known Subclasses:
ShoppingItemBaseImpl

@JSON(strict=true)
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.

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

Field Summary
static long CATEGORYID_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LARGEIMAGEID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long MEDIUMIMAGEID_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static long SKU_COLUMN_BITMASK
           
static long SMALLIMAGEID_COLUMN_BITMASK
           
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()
          Returns the category ID of this shopping item.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this shopping item.
 Date getCreateDate()
          Returns the create date of this shopping item.
 String getDescription()
          Returns the description of this shopping item.
 double getDiscount()
          Returns the discount of this shopping item.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 boolean getFeatured()
          Returns the featured of this shopping item.
 boolean getFields()
          Returns the fields of this shopping item.
 String getFieldsQuantities()
          Returns the fields quantities of this shopping item.
 long getGroupId()
          Returns the group ID of this shopping item.
 long getItemId()
          Returns the item ID of this shopping item.
 boolean getLargeImage()
          Returns the large image of this shopping item.
 long getLargeImageId()
          Returns the large image ID of this shopping item.
 String getLargeImageURL()
          Returns the large image u r l of this shopping item.
 int getMaxQuantity()
          Returns the max quantity of this shopping item.
 boolean getMediumImage()
          Returns the medium image of this shopping item.
 long getMediumImageId()
          Returns the medium image ID of this shopping item.
 String getMediumImageURL()
          Returns the medium image u r l of this shopping item.
 int getMinQuantity()
          Returns the min quantity of this shopping item.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this shopping item.
 String getName()
          Returns the name of this shopping item.
 long getOriginalCategoryId()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getOriginalLargeImageId()
           
 long getOriginalMediumImageId()
           
 String getOriginalSku()
           
 long getOriginalSmallImageId()
           
 double getPrice()
          Returns the price of this shopping item.
 long getPrimaryKey()
          Returns the primary key of this shopping item.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getProperties()
          Returns the properties of this shopping item.
 boolean getRequiresShipping()
          Returns the requires shipping of this shopping item.
 boolean getSale()
          Returns the sale of this shopping item.
 double getShipping()
          Returns the shipping of this shopping item.
 String getSku()
          Returns the sku of this shopping item.
 boolean getSmallImage()
          Returns the small image of this shopping item.
 long getSmallImageId()
          Returns the small image ID of this shopping item.
 String getSmallImageURL()
          Returns the small image u r l of this shopping item.
 int getStockQuantity()
          Returns the stock quantity of this shopping item.
 boolean getTaxable()
          Returns the taxable of this shopping item.
 long getUserId()
          Returns the user ID of this shopping item.
 String getUserName()
          Returns the user name of this shopping item.
 String getUserUuid()
          Returns the user uuid of this shopping item.
 boolean getUseShippingFormula()
          Returns the use shipping formula of this shopping item.
 int hashCode()
           
 boolean isFeatured()
          Returns true if this shopping item is featured.
 boolean isFields()
          Returns true if this shopping item is fields.
 boolean isLargeImage()
          Returns true if this shopping item is large image.
 boolean isMediumImage()
          Returns true if this shopping item is medium image.
 boolean isRequiresShipping()
          Returns true if this shopping item is requires shipping.
 boolean isSale()
          Returns true if this shopping item is sale.
 boolean isSmallImage()
          Returns true if this shopping item is small image.
 boolean isTaxable()
          Returns true if this shopping item is taxable.
 boolean isUseShippingFormula()
          Returns true if this shopping item is use shipping formula.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 shopping item is featured.
 void setFields(boolean fields)
          Sets whether this shopping item 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 shopping item 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 shopping item 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 setModelAttributes(Map<String,Object> attributes)
           
 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 primaryKey)
          Sets the primary key of this shopping item.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setProperties(String properties)
          Sets the properties of this shopping item.
 void setRequiresShipping(boolean requiresShipping)
          Sets whether this shopping item is requires shipping.
 void setSale(boolean sale)
          Sets whether this shopping item 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 shopping item 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 shopping item 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 shopping item is use shipping formula.
 CacheModel<ShoppingItem> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 ShoppingItem toEscapedModel()
          Returns a copy of this entity 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()
           
 ShoppingItem toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

CATEGORYID_COLUMN_BITMASK

public static long CATEGORYID_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

LARGEIMAGEID_COLUMN_BITMASK

public static long LARGEIMAGEID_COLUMN_BITMASK

MEDIUMIMAGEID_COLUMN_BITMASK

public static long MEDIUMIMAGEID_COLUMN_BITMASK

SKU_COLUMN_BITMASK

public static long SKU_COLUMN_BITMASK

SMALLIMAGEID_COLUMN_BITMASK

public static long SMALLIMAGEID_COLUMN_BITMASK

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
Returns 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 primaryKey)
Description copied from interface: ShoppingItemModel
Sets the primary key of this shopping item.

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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<ShoppingItem>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ShoppingItemModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<ShoppingItem>
Overrides:
getModelAttributes in class BaseModelImpl<ShoppingItem>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<ShoppingItem>
Overrides:
setModelAttributes in class BaseModelImpl<ShoppingItem>

getItemId

@JSON
public long getItemId()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public long getGroupId()
Description copied from interface: ShoppingItemModel
Returns the group ID of this shopping item.

Specified by:
getGroupId in interface GroupedModel
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 GroupedModel
Specified by:
setGroupId in interface ShoppingItemModel
Parameters:
groupId - the group ID of this shopping item

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: ShoppingItemModel
Returns the company ID of this shopping item.

Specified by:
getCompanyId in interface AuditedModel
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 AuditedModel
Specified by:
setCompanyId in interface ShoppingItemModel
Parameters:
companyId - the company ID of this shopping item

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: ShoppingItemModel
Returns the user ID of this shopping item.

Specified by:
getUserId in interface AuditedModel
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 AuditedModel
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
Returns the user uuid of this shopping item.

Specified by:
getUserUuid in interface AuditedModel
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 AuditedModel
Specified by:
setUserUuid in interface ShoppingItemModel
Parameters:
userUuid - the user uuid of this shopping item

getUserName

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

Specified by:
getUserName in interface AuditedModel
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 AuditedModel
Specified by:
setUserName in interface ShoppingItemModel
Parameters:
userName - the user name of this shopping item

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
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 AuditedModel
Specified by:
setCreateDate in interface ShoppingItemModel
Parameters:
createDate - the create date of this shopping item

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
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 AuditedModel
Specified by:
setModifiedDate in interface ShoppingItemModel
Parameters:
modifiedDate - the modified date of this shopping item

getCategoryId

@JSON
public long getCategoryId()
Description copied from interface: ShoppingItemModel
Returns 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

getOriginalCategoryId

public long getOriginalCategoryId()

getSku

@JSON
public String getSku()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getName()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getDescription()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getProperties()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getFields()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is fields.

Specified by:
isFields in interface ShoppingItemModel
Returns:
true if this shopping item is fields; false otherwise

setFields

public void setFields(boolean fields)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is fields.

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

getFieldsQuantities

@JSON
public String getFieldsQuantities()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public int getMinQuantity()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public int getMaxQuantity()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public double getPrice()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public double getDiscount()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getTaxable()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is taxable.

Specified by:
isTaxable in interface ShoppingItemModel
Returns:
true if this shopping item is taxable; false otherwise

setTaxable

public void setTaxable(boolean taxable)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is taxable.

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

getShipping

@JSON
public double getShipping()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getUseShippingFormula()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is use shipping formula.

Specified by:
isUseShippingFormula in interface ShoppingItemModel
Returns:
true if this shopping item is use shipping formula; false otherwise

setUseShippingFormula

public void setUseShippingFormula(boolean useShippingFormula)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is use shipping formula.

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

getRequiresShipping

@JSON
public boolean getRequiresShipping()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is requires shipping.

Specified by:
isRequiresShipping in interface ShoppingItemModel
Returns:
true if this shopping item is requires shipping; false otherwise

setRequiresShipping

public void setRequiresShipping(boolean requiresShipping)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is requires shipping.

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

getStockQuantity

@JSON
public int getStockQuantity()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getFeatured()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is featured.

Specified by:
isFeatured in interface ShoppingItemModel
Returns:
true if this shopping item is featured; false otherwise

setFeatured

public void setFeatured(boolean featured)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is featured.

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

getSale

@JSON
public boolean getSale()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is sale.

Specified by:
isSale in interface ShoppingItemModel
Returns:
true if this shopping item is sale; false otherwise

setSale

public void setSale(boolean sale)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is sale.

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

getSmallImage

@JSON
public boolean getSmallImage()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is small image.

Specified by:
isSmallImage in interface ShoppingItemModel
Returns:
true if this shopping item is small image; false otherwise

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is small image.

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

getSmallImageId

@JSON
public long getSmallImageId()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getSmallImageURL()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getMediumImage()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is medium image.

Specified by:
isMediumImage in interface ShoppingItemModel
Returns:
true if this shopping item is medium image; false otherwise

setMediumImage

public void setMediumImage(boolean mediumImage)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is medium image.

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

getMediumImageId

@JSON
public long getMediumImageId()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getMediumImageURL()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public boolean getLargeImage()
Description copied from interface: ShoppingItemModel
Returns 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
Returns true if this shopping item is large image.

Specified by:
isLargeImage in interface ShoppingItemModel
Returns:
true if this shopping item is large image; false otherwise

setLargeImage

public void setLargeImage(boolean largeImage)
Description copied from interface: ShoppingItemModel
Sets whether this shopping item is large image.

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

getLargeImageId

@JSON
public long getLargeImageId()
Description copied from interface: ShoppingItemModel
Returns 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

@JSON
public String getLargeImageURL()
Description copied from interface: ShoppingItemModel
Returns 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

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<ShoppingItem>
Specified by:
getExpandoBridge in interface ClassedModel
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
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public ShoppingItem toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<ShoppingItem>
Specified by:
toEscapedModel in interface ShoppingItemModel
Overrides:
toEscapedModel in class BaseModelImpl<ShoppingItem>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public ShoppingItem toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<ShoppingItem>
Specified by:
toUnescapedModel in interface ShoppingItemModel
Overrides:
toUnescapedModel in class BaseModelImpl<ShoppingItem>

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<ShoppingItem>
Overrides:
resetOriginalValues in class BaseModelImpl<ShoppingItem>

toCacheModel

public CacheModel<ShoppingItem> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<ShoppingItem>
Specified by:
toCacheModel in interface ShoppingItemModel
Overrides:
toCacheModel in class BaseModelImpl<ShoppingItem>
Returns:
the cache model 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
Returns 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.1.2-ce-ga3