@ProviderType public interface ShoppingItemPriceModel extends BaseModel<ShoppingItemPrice>
This interface and its corresponding implementation com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.shopping.model.impl.ShoppingItemPriceImpl.
ShoppingItemPrice,
com.liferay.portlet.shopping.model.impl.ShoppingItemPriceImpl,
com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ShoppingItemPrice shoppingItemPrice) |
double |
getDiscount()
Returns the discount of this shopping item price.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getItemId()
Returns the item ID of this shopping item price.
|
long |
getItemPriceId()
Returns the item price ID of this shopping item price.
|
int |
getMaxQuantity()
Returns the max quantity of this shopping item price.
|
int |
getMinQuantity()
Returns the min quantity of this shopping item price.
|
double |
getPrice()
Returns the price of this shopping item price.
|
long |
getPrimaryKey()
Returns the primary key of this shopping item price.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getShipping()
Returns the shipping of this shopping item price.
|
int |
getStatus()
Returns the status of this shopping item price.
|
boolean |
getTaxable()
Returns the taxable of this shopping item price.
|
boolean |
getUseShippingFormula()
Returns the use shipping formula of this shopping item price.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isTaxable()
Returns
true if this shopping item price is taxable. |
boolean |
isUseShippingFormula()
Returns
true if this shopping item price is use shipping formula. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setDiscount(double discount)
Sets the discount of this shopping item price.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setItemId(long itemId)
Sets the item ID of this shopping item price.
|
void |
setItemPriceId(long itemPriceId)
Sets the item price ID of this shopping item price.
|
void |
setMaxQuantity(int maxQuantity)
Sets the max quantity of this shopping item price.
|
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this shopping item price.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrice(double price)
Sets the price of this shopping item price.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping item price.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setShipping(double shipping)
Sets the shipping of this shopping item price.
|
void |
setStatus(int status)
Sets the status of this shopping item price.
|
void |
setTaxable(boolean taxable)
Sets whether this shopping item price is taxable.
|
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this shopping item price is use shipping formula.
|
CacheModel<ShoppingItemPrice> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ShoppingItemPrice |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
ShoppingItemPrice |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping item pricelong getItemPriceId()
void setItemPriceId(long itemPriceId)
itemPriceId - the item price ID of this shopping item pricelong getItemId()
void setItemId(long itemId)
itemId - the item ID of this shopping item priceint getMinQuantity()
void setMinQuantity(int minQuantity)
minQuantity - the min quantity of this shopping item priceint getMaxQuantity()
void setMaxQuantity(int maxQuantity)
maxQuantity - the max quantity of this shopping item pricedouble getPrice()
void setPrice(double price)
price - the price of this shopping item pricedouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping item priceboolean getTaxable()
boolean isTaxable()
true if this shopping item price is taxable.true if this shopping item price is taxable; false otherwisevoid setTaxable(boolean taxable)
taxable - the taxable of this shopping item pricedouble getShipping()
void setShipping(double shipping)
shipping - the shipping of this shopping item priceboolean getUseShippingFormula()
boolean isUseShippingFormula()
true if this shopping item price is use shipping formula.true if this shopping item price is use shipping formula; false otherwisevoid setUseShippingFormula(boolean useShippingFormula)
useShippingFormula - the use shipping formula of this shopping item priceint getStatus()
void setStatus(int status)
status - the status of this shopping item priceboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ShoppingItemPrice>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingItemPrice>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ShoppingItemPrice>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingItemPrice>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ShoppingItemPrice>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingItemPrice>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<ShoppingItemPrice>int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface java.lang.Comparable<ShoppingItemPrice>int hashCode()
hashCode in class java.lang.ObjectCacheModel<ShoppingItemPrice> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingItemPrice>ShoppingItemPrice toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingItemPrice>AutoEscapeBeanHandlerShoppingItemPrice toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemPrice>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingItemPrice>