|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingItem>
com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
public class ShoppingItemModelImpl
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.
ShoppingItemImpl,
ShoppingItem,
ShoppingItemModel,
Serialized Form| 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 |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingItemModelImpl()
| Method Detail |
|---|
public static ShoppingItem toModel(ShoppingItemSoap soapModel)
soapModel - the soap model instance to convert
public static List<ShoppingItem> toModels(ShoppingItemSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ShoppingItemModel
getPrimaryKey in interface ShoppingItemModelpublic void setPrimaryKey(long pk)
ShoppingItemModel
setPrimaryKey in interface ShoppingItemModelpk - the primary key of this shopping itempublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItem>getPrimaryKeyObj in interface ShoppingItemModelpublic long getItemId()
ShoppingItemModel
getItemId in interface ShoppingItemModelpublic void setItemId(long itemId)
ShoppingItemModel
setItemId in interface ShoppingItemModelitemId - the item id of this shopping itempublic long getGroupId()
ShoppingItemModel
getGroupId in interface ShoppingItemModelpublic void setGroupId(long groupId)
ShoppingItemModel
setGroupId in interface ShoppingItemModelgroupId - the group id of this shopping itempublic long getCompanyId()
ShoppingItemModel
getCompanyId in interface ShoppingItemModelpublic void setCompanyId(long companyId)
ShoppingItemModel
setCompanyId in interface ShoppingItemModelcompanyId - the company id of this shopping itempublic long getOriginalCompanyId()
public long getUserId()
ShoppingItemModel
getUserId in interface ShoppingItemModelpublic void setUserId(long userId)
ShoppingItemModel
setUserId in interface ShoppingItemModeluserId - the user id of this shopping item
public String getUserUuid()
throws SystemException
ShoppingItemModel
getUserUuid in interface ShoppingItemModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
ShoppingItemModel
setUserUuid in interface ShoppingItemModeluserUuid - the user uuid of this shopping itempublic String getUserName()
ShoppingItemModel
getUserName in interface ShoppingItemModelpublic void setUserName(String userName)
ShoppingItemModel
setUserName in interface ShoppingItemModeluserName - the user name of this shopping itempublic Date getCreateDate()
ShoppingItemModel
getCreateDate in interface ShoppingItemModelpublic void setCreateDate(Date createDate)
ShoppingItemModel
setCreateDate in interface ShoppingItemModelcreateDate - the create date of this shopping itempublic Date getModifiedDate()
ShoppingItemModel
getModifiedDate in interface ShoppingItemModelpublic void setModifiedDate(Date modifiedDate)
ShoppingItemModel
setModifiedDate in interface ShoppingItemModelmodifiedDate - the modified date of this shopping itempublic long getCategoryId()
ShoppingItemModel
getCategoryId in interface ShoppingItemModelpublic void setCategoryId(long categoryId)
ShoppingItemModel
setCategoryId in interface ShoppingItemModelcategoryId - the category id of this shopping itempublic String getSku()
ShoppingItemModel
getSku in interface ShoppingItemModelpublic void setSku(String sku)
ShoppingItemModel
setSku in interface ShoppingItemModelsku - the sku of this shopping itempublic String getOriginalSku()
public String getName()
ShoppingItemModel
getName in interface ShoppingItemModelpublic void setName(String name)
ShoppingItemModel
setName in interface ShoppingItemModelname - the name of this shopping itempublic String getDescription()
ShoppingItemModel
getDescription in interface ShoppingItemModelpublic void setDescription(String description)
ShoppingItemModel
setDescription in interface ShoppingItemModeldescription - the description of this shopping itempublic String getProperties()
ShoppingItemModel
getProperties in interface ShoppingItemModelpublic void setProperties(String properties)
ShoppingItemModel
setProperties in interface ShoppingItemModelproperties - the properties of this shopping itempublic boolean getFields()
ShoppingItemModel
getFields in interface ShoppingItemModelpublic boolean isFields()
ShoppingItemModel
isFields in interface ShoppingItemModelpublic void setFields(boolean fields)
ShoppingItemModel
setFields in interface ShoppingItemModelfields - the fields of this shopping itempublic String getFieldsQuantities()
ShoppingItemModel
getFieldsQuantities in interface ShoppingItemModelpublic void setFieldsQuantities(String fieldsQuantities)
ShoppingItemModel
setFieldsQuantities in interface ShoppingItemModelfieldsQuantities - the fields quantities of this shopping itempublic int getMinQuantity()
ShoppingItemModel
getMinQuantity in interface ShoppingItemModelpublic void setMinQuantity(int minQuantity)
ShoppingItemModel
setMinQuantity in interface ShoppingItemModelminQuantity - the min quantity of this shopping itempublic int getMaxQuantity()
ShoppingItemModel
getMaxQuantity in interface ShoppingItemModelpublic void setMaxQuantity(int maxQuantity)
ShoppingItemModel
setMaxQuantity in interface ShoppingItemModelmaxQuantity - the max quantity of this shopping itempublic double getPrice()
ShoppingItemModel
getPrice in interface ShoppingItemModelpublic void setPrice(double price)
ShoppingItemModel
setPrice in interface ShoppingItemModelprice - the price of this shopping itempublic double getDiscount()
ShoppingItemModel
getDiscount in interface ShoppingItemModelpublic void setDiscount(double discount)
ShoppingItemModel
setDiscount in interface ShoppingItemModeldiscount - the discount of this shopping itempublic boolean getTaxable()
ShoppingItemModel
getTaxable in interface ShoppingItemModelpublic boolean isTaxable()
ShoppingItemModel
isTaxable in interface ShoppingItemModelpublic void setTaxable(boolean taxable)
ShoppingItemModel
setTaxable in interface ShoppingItemModeltaxable - the taxable of this shopping itempublic double getShipping()
ShoppingItemModel
getShipping in interface ShoppingItemModelpublic void setShipping(double shipping)
ShoppingItemModel
setShipping in interface ShoppingItemModelshipping - the shipping of this shopping itempublic boolean getUseShippingFormula()
ShoppingItemModel
getUseShippingFormula in interface ShoppingItemModelpublic boolean isUseShippingFormula()
ShoppingItemModel
isUseShippingFormula in interface ShoppingItemModelpublic void setUseShippingFormula(boolean useShippingFormula)
ShoppingItemModel
setUseShippingFormula in interface ShoppingItemModeluseShippingFormula - the use shipping formula of this shopping itempublic boolean getRequiresShipping()
ShoppingItemModel
getRequiresShipping in interface ShoppingItemModelpublic boolean isRequiresShipping()
ShoppingItemModel
isRequiresShipping in interface ShoppingItemModelpublic void setRequiresShipping(boolean requiresShipping)
ShoppingItemModel
setRequiresShipping in interface ShoppingItemModelrequiresShipping - the requires shipping of this shopping itempublic int getStockQuantity()
ShoppingItemModel
getStockQuantity in interface ShoppingItemModelpublic void setStockQuantity(int stockQuantity)
ShoppingItemModel
setStockQuantity in interface ShoppingItemModelstockQuantity - the stock quantity of this shopping itempublic boolean getFeatured()
ShoppingItemModel
getFeatured in interface ShoppingItemModelpublic boolean isFeatured()
ShoppingItemModel
isFeatured in interface ShoppingItemModelpublic void setFeatured(boolean featured)
ShoppingItemModel
setFeatured in interface ShoppingItemModelfeatured - the featured of this shopping itempublic boolean getSale()
ShoppingItemModel
getSale in interface ShoppingItemModelpublic boolean isSale()
ShoppingItemModel
isSale in interface ShoppingItemModelpublic void setSale(boolean sale)
ShoppingItemModel
setSale in interface ShoppingItemModelsale - the sale of this shopping itempublic boolean getSmallImage()
ShoppingItemModel
getSmallImage in interface ShoppingItemModelpublic boolean isSmallImage()
ShoppingItemModel
isSmallImage in interface ShoppingItemModelpublic void setSmallImage(boolean smallImage)
ShoppingItemModel
setSmallImage in interface ShoppingItemModelsmallImage - the small image of this shopping itempublic long getSmallImageId()
ShoppingItemModel
getSmallImageId in interface ShoppingItemModelpublic void setSmallImageId(long smallImageId)
ShoppingItemModel
setSmallImageId in interface ShoppingItemModelsmallImageId - the small image id of this shopping itempublic long getOriginalSmallImageId()
public String getSmallImageURL()
ShoppingItemModel
getSmallImageURL in interface ShoppingItemModelpublic void setSmallImageURL(String smallImageURL)
ShoppingItemModel
setSmallImageURL in interface ShoppingItemModelsmallImageURL - the small image u r l of this shopping itempublic boolean getMediumImage()
ShoppingItemModel
getMediumImage in interface ShoppingItemModelpublic boolean isMediumImage()
ShoppingItemModel
isMediumImage in interface ShoppingItemModelpublic void setMediumImage(boolean mediumImage)
ShoppingItemModel
setMediumImage in interface ShoppingItemModelmediumImage - the medium image of this shopping itempublic long getMediumImageId()
ShoppingItemModel
getMediumImageId in interface ShoppingItemModelpublic void setMediumImageId(long mediumImageId)
ShoppingItemModel
setMediumImageId in interface ShoppingItemModelmediumImageId - the medium image id of this shopping itempublic long getOriginalMediumImageId()
public String getMediumImageURL()
ShoppingItemModel
getMediumImageURL in interface ShoppingItemModelpublic void setMediumImageURL(String mediumImageURL)
ShoppingItemModel
setMediumImageURL in interface ShoppingItemModelmediumImageURL - the medium image u r l of this shopping itempublic boolean getLargeImage()
ShoppingItemModel
getLargeImage in interface ShoppingItemModelpublic boolean isLargeImage()
ShoppingItemModel
isLargeImage in interface ShoppingItemModelpublic void setLargeImage(boolean largeImage)
ShoppingItemModel
setLargeImage in interface ShoppingItemModellargeImage - the large image of this shopping itempublic long getLargeImageId()
ShoppingItemModel
getLargeImageId in interface ShoppingItemModelpublic void setLargeImageId(long largeImageId)
ShoppingItemModel
setLargeImageId in interface ShoppingItemModellargeImageId - the large image id of this shopping itempublic long getOriginalLargeImageId()
public String getLargeImageURL()
ShoppingItemModel
getLargeImageURL in interface ShoppingItemModelpublic void setLargeImageURL(String largeImageURL)
ShoppingItemModel
setLargeImageURL in interface ShoppingItemModellargeImageURL - the large image u r l of this shopping itempublic ShoppingItem toEscapedModel()
ShoppingItemModelAutoEscapeBeanHandler.
toEscapedModel in interface ShoppingItemModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItem>getExpandoBridge in interface ShoppingItemModelgetExpandoBridge in class BaseModelImpl<ShoppingItem>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>setExpandoBridgeAttributes in interface ShoppingItemModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingItem>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingItem>clone in interface ShoppingItemModelclone in class BaseModelImpl<ShoppingItem>public int compareTo(ShoppingItem shoppingItem)
compareTo in interface ShoppingItemModelcompareTo in interface Comparable<ShoppingItem>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingItemModelhashCode in class Objectpublic String toString()
toString in interface ShoppingItemModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItem>toXmlString in interface ShoppingItemModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||