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

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

@JSON(strict=true)
public class ShoppingItemModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>
implements com.liferay.portlet.shopping.model.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.

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemImpl, ShoppingItem, ShoppingItemModel, Serialized Form
Generated:

Field Summary
static long CATEGORYID_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static java.lang.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 java.lang.String ORDER_BY_JPQL
           
static java.lang.String ORDER_BY_SQL
           
static java.lang.String SESSION_FACTORY
           
static long SKU_COLUMN_BITMASK
           
static long SMALLIMAGEID_COLUMN_BITMASK
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
ShoppingItemModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
           
 boolean equals(java.lang.Object obj)
           
 long getCategoryId()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 double getDiscount()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 boolean getFeatured()
           
 boolean getFields()
           
 java.lang.String getFieldsQuantities()
           
 long getGroupId()
           
 long getItemId()
           
 boolean getLargeImage()
           
 long getLargeImageId()
           
 java.lang.String getLargeImageURL()
           
 int getMaxQuantity()
           
 boolean getMediumImage()
           
 long getMediumImageId()
           
 java.lang.String getMediumImageURL()
           
 int getMinQuantity()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getName()
           
 long getOriginalCategoryId()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getOriginalLargeImageId()
           
 long getOriginalMediumImageId()
           
 java.lang.String getOriginalSku()
           
 long getOriginalSmallImageId()
           
 double getPrice()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getProperties()
           
 boolean getRequiresShipping()
           
 boolean getSale()
           
 double getShipping()
           
 java.lang.String getSku()
           
 boolean getSmallImage()
           
 long getSmallImageId()
           
 java.lang.String getSmallImageURL()
           
 int getStockQuantity()
           
 boolean getTaxable()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 boolean getUseShippingFormula()
           
 int hashCode()
           
 boolean isFeatured()
           
 boolean isFields()
           
 boolean isLargeImage()
           
 boolean isMediumImage()
           
 boolean isRequiresShipping()
           
 boolean isSale()
           
 boolean isSmallImage()
           
 boolean isTaxable()
           
 boolean isUseShippingFormula()
           
 void resetOriginalValues()
           
 void setCategoryId(long categoryId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setDiscount(double discount)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setFeatured(boolean featured)
           
 void setFields(boolean fields)
           
 void setFieldsQuantities(java.lang.String fieldsQuantities)
           
 void setGroupId(long groupId)
           
 void setItemId(long itemId)
           
 void setLargeImage(boolean largeImage)
           
 void setLargeImageId(long largeImageId)
           
 void setLargeImageURL(java.lang.String largeImageURL)
           
 void setMaxQuantity(int maxQuantity)
           
 void setMediumImage(boolean mediumImage)
           
 void setMediumImageId(long mediumImageId)
           
 void setMediumImageURL(java.lang.String mediumImageURL)
           
 void setMinQuantity(int minQuantity)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setName(java.lang.String name)
           
 void setPrice(double price)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setProperties(java.lang.String properties)
           
 void setRequiresShipping(boolean requiresShipping)
           
 void setSale(boolean sale)
           
 void setShipping(double shipping)
           
 void setSku(java.lang.String sku)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageURL(java.lang.String smallImageURL)
           
 void setStockQuantity(int stockQuantity)
           
 void setTaxable(boolean taxable)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setUseShippingFormula(boolean useShippingFormula)
           
 com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItem> toCacheModel()
           
 com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel()
           
static com.liferay.portlet.shopping.model.ShoppingItem toModel(com.liferay.portlet.shopping.model.ShoppingItemSoap soapModel)
          Converts the soap model instance into a normal model instance.
static java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> toModels(com.liferay.portlet.shopping.model.ShoppingItemSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
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 java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final java.lang.String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final java.lang.String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.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 com.liferay.portlet.shopping.model.ShoppingItem toModel(com.liferay.portlet.shopping.model.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 java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> toModels(com.liferay.portlet.shopping.model.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()
Specified by:
getPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getItemId

@JSON
public long getItemId()
Specified by:
getItemId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setItemId

public void setItemId(long itemId)
Specified by:
setItemId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.model.GroupedModel
Specified by:
getGroupId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portal.model.GroupedModel
Specified by:
setGroupId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.model.AuditedModel
Specified by:
getCompanyId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.model.AuditedModel
Specified by:
setCompanyId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.portal.model.AuditedModel
Specified by:
getUserId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portal.model.AuditedModel
Specified by:
setUserId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface com.liferay.portal.model.AuditedModel
Specified by:
getUserUuid in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portal.model.AuditedModel
Specified by:
setUserUuid in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getUserName

@JSON
public java.lang.String getUserName()
Specified by:
getUserName in interface com.liferay.portal.model.AuditedModel
Specified by:
getUserName in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface com.liferay.portal.model.AuditedModel
Specified by:
setUserName in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getCreateDate

@JSON
public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.portal.model.AuditedModel
Specified by:
getCreateDate in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface com.liferay.portal.model.AuditedModel
Specified by:
setCreateDate in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getModifiedDate

@JSON
public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portal.model.AuditedModel
Specified by:
getModifiedDate in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portal.model.AuditedModel
Specified by:
setModifiedDate in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getCategoryId

@JSON
public long getCategoryId()
Specified by:
getCategoryId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setCategoryId

public void setCategoryId(long categoryId)
Specified by:
setCategoryId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalCategoryId

public long getOriginalCategoryId()

getSku

@JSON
public java.lang.String getSku()
Specified by:
getSku in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setSku

public void setSku(java.lang.String sku)
Specified by:
setSku in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalSku

public java.lang.String getOriginalSku()

getName

@JSON
public java.lang.String getName()
Specified by:
getName in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getDescription

@JSON
public java.lang.String getDescription()
Specified by:
getDescription in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getProperties

@JSON
public java.lang.String getProperties()
Specified by:
getProperties in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setProperties

public void setProperties(java.lang.String properties)
Specified by:
setProperties in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getFields

@JSON
public boolean getFields()
Specified by:
getFields in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isFields

public boolean isFields()
Specified by:
isFields in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setFields

public void setFields(boolean fields)
Specified by:
setFields in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getFieldsQuantities

@JSON
public java.lang.String getFieldsQuantities()
Specified by:
getFieldsQuantities in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setFieldsQuantities

public void setFieldsQuantities(java.lang.String fieldsQuantities)
Specified by:
setFieldsQuantities in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getMinQuantity

@JSON
public int getMinQuantity()
Specified by:
getMinQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setMinQuantity

public void setMinQuantity(int minQuantity)
Specified by:
setMinQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getMaxQuantity

@JSON
public int getMaxQuantity()
Specified by:
getMaxQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setMaxQuantity

public void setMaxQuantity(int maxQuantity)
Specified by:
setMaxQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getPrice

@JSON
public double getPrice()
Specified by:
getPrice in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setPrice

public void setPrice(double price)
Specified by:
setPrice in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getDiscount

@JSON
public double getDiscount()
Specified by:
getDiscount in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setDiscount

public void setDiscount(double discount)
Specified by:
setDiscount in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getTaxable

@JSON
public boolean getTaxable()
Specified by:
getTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isTaxable

public boolean isTaxable()
Specified by:
isTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setTaxable

public void setTaxable(boolean taxable)
Specified by:
setTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getShipping

@JSON
public double getShipping()
Specified by:
getShipping in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setShipping

public void setShipping(double shipping)
Specified by:
setShipping in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getUseShippingFormula

@JSON
public boolean getUseShippingFormula()
Specified by:
getUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isUseShippingFormula

public boolean isUseShippingFormula()
Specified by:
isUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setUseShippingFormula

public void setUseShippingFormula(boolean useShippingFormula)
Specified by:
setUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getRequiresShipping

@JSON
public boolean getRequiresShipping()
Specified by:
getRequiresShipping in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isRequiresShipping

public boolean isRequiresShipping()
Specified by:
isRequiresShipping in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setRequiresShipping

public void setRequiresShipping(boolean requiresShipping)
Specified by:
setRequiresShipping in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getStockQuantity

@JSON
public int getStockQuantity()
Specified by:
getStockQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setStockQuantity

public void setStockQuantity(int stockQuantity)
Specified by:
setStockQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getFeatured

@JSON
public boolean getFeatured()
Specified by:
getFeatured in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isFeatured

public boolean isFeatured()
Specified by:
isFeatured in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setFeatured

public void setFeatured(boolean featured)
Specified by:
setFeatured in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getSale

@JSON
public boolean getSale()
Specified by:
getSale in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isSale

public boolean isSale()
Specified by:
isSale in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setSale

public void setSale(boolean sale)
Specified by:
setSale in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getSmallImage

@JSON
public boolean getSmallImage()
Specified by:
getSmallImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isSmallImage

public boolean isSmallImage()
Specified by:
isSmallImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setSmallImage

public void setSmallImage(boolean smallImage)
Specified by:
setSmallImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getSmallImageId

@JSON
public long getSmallImageId()
Specified by:
getSmallImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setSmallImageId

public void setSmallImageId(long smallImageId)
Specified by:
setSmallImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalSmallImageId

public long getOriginalSmallImageId()

getSmallImageURL

@JSON
public java.lang.String getSmallImageURL()
Specified by:
getSmallImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setSmallImageURL

public void setSmallImageURL(java.lang.String smallImageURL)
Specified by:
setSmallImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getMediumImage

@JSON
public boolean getMediumImage()
Specified by:
getMediumImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isMediumImage

public boolean isMediumImage()
Specified by:
isMediumImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setMediumImage

public void setMediumImage(boolean mediumImage)
Specified by:
setMediumImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getMediumImageId

@JSON
public long getMediumImageId()
Specified by:
getMediumImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setMediumImageId

public void setMediumImageId(long mediumImageId)
Specified by:
setMediumImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalMediumImageId

public long getOriginalMediumImageId()

getMediumImageURL

@JSON
public java.lang.String getMediumImageURL()
Specified by:
getMediumImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setMediumImageURL

public void setMediumImageURL(java.lang.String mediumImageURL)
Specified by:
setMediumImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getLargeImage

@JSON
public boolean getLargeImage()
Specified by:
getLargeImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

isLargeImage

public boolean isLargeImage()
Specified by:
isLargeImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setLargeImage

public void setLargeImage(boolean largeImage)
Specified by:
setLargeImage in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getLargeImageId

@JSON
public long getLargeImageId()
Specified by:
getLargeImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setLargeImageId

public void setLargeImageId(long largeImageId)
Specified by:
setLargeImageId in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getOriginalLargeImageId

public long getOriginalLargeImageId()

getLargeImageURL

@JSON
public java.lang.String getLargeImageURL()
Specified by:
getLargeImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

setLargeImageURL

public void setLargeImageURL(java.lang.String largeImageURL)
Specified by:
setLargeImageURL in interface com.liferay.portlet.shopping.model.ShoppingItemModel

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
toEscapedModel in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
clone in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

compareTo

public int compareTo(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
Specified by:
compareTo in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingItem>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItem> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
toCacheModel in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItem>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portlet.shopping.model.ShoppingItemModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItem>
Specified by:
toXmlString in interface com.liferay.portlet.shopping.model.ShoppingItemModel