@ProviderType
public class ShoppingItemPriceModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>
implements com.liferay.portlet.shopping.model.ShoppingItemPriceModel
This implementation and its corresponding interface ShoppingItemPriceModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingItemPriceImpl.
ShoppingItemPriceImpl,
ShoppingItemPrice,
ShoppingItemPriceModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
ITEMID_COLUMN_BITMASK |
static long |
ITEMPRICEID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
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 and Description |
|---|
ShoppingItemPriceModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
double |
getDiscount() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
long |
getItemId() |
long |
getItemPriceId() |
int |
getMaxQuantity() |
int |
getMinQuantity() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOriginalItemId() |
double |
getPrice() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
double |
getShipping() |
int |
getStatus() |
boolean |
getTaxable() |
boolean |
getUseShippingFormula() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isTaxable() |
boolean |
isUseShippingFormula() |
void |
resetOriginalValues() |
void |
setDiscount(double discount) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setItemId(long itemId) |
void |
setItemPriceId(long itemPriceId) |
void |
setMaxQuantity(int maxQuantity) |
void |
setMinQuantity(int minQuantity) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrice(double price) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShipping(double shipping) |
void |
setStatus(int status) |
void |
setTaxable(boolean taxable) |
void |
setUseShippingFormula(boolean useShippingFormula) |
com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItemPrice> |
toCacheModel() |
com.liferay.portlet.shopping.model.ShoppingItemPrice |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long ITEMID_COLUMN_BITMASK
public static final long ITEMPRICEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public long getItemPriceId()
getItemPriceId in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setItemPriceId(long itemPriceId)
setItemPriceId in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic long getItemId()
getItemId in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setItemId(long itemId)
setItemId in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic long getOriginalItemId()
public int getMinQuantity()
getMinQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setMinQuantity(int minQuantity)
setMinQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic int getMaxQuantity()
getMaxQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setMaxQuantity(int maxQuantity)
setMaxQuantity in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic double getPrice()
getPrice in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setPrice(double price)
setPrice in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic double getDiscount()
getDiscount in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setDiscount(double discount)
setDiscount in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic boolean getTaxable()
getTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic boolean isTaxable()
isTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setTaxable(boolean taxable)
setTaxable in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic double getShipping()
getShipping in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setShipping(double shipping)
setShipping in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic boolean getUseShippingFormula()
getUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic boolean isUseShippingFormula()
isUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setUseShippingFormula(boolean useShippingFormula)
setUseShippingFormula in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic int getStatus()
getStatus in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic void setStatus(int status)
setStatus in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>setExpandoBridgeAttributes in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>toEscapedModel in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>clone in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public int compareTo(com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
compareTo in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingItemPrice>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItemPrice> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>toCacheModel in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingItemPrice>public java.lang.String toString()
toString in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingItemPrice>toXmlString in interface com.liferay.portlet.shopping.model.ShoppingItemPriceModel