|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShoppingItemPriceModel
The base model interface for the ShoppingItemPrice service. Represents a row in the "ShoppingItemPrice" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ShoppingItemPriceModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingItemPriceImpl.
ShoppingItemPrice,
ShoppingItemPriceImpl,
ShoppingItemPriceModelImpl| Method Summary | |
|---|---|
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. |
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(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. |
String |
toString()
|
ShoppingItemPrice |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long 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)
BaseModel
setNew 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)
BaseModel
setCachedModel 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 otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge 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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<ShoppingItemPrice>int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface Comparable<ShoppingItemPrice>int hashCode()
hashCode in class ObjectCacheModel<ShoppingItemPrice> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingItemPrice>ShoppingItemPrice toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingItemPrice>AutoEscapeBeanHandlerShoppingItemPrice toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemPrice>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItemPrice>
|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||