|
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<ShoppingItemPrice>
com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
public class ShoppingItemPriceModelImpl
The base model implementation for the ShoppingItemPrice service. Represents a row in the "ShoppingItemPrice" database table, with each column mapped to a property of this class.
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.
Never modify or reference this class directly. All methods that expect a shopping item price model instance should use the ShoppingItemPrice interface instead.
ShoppingItemPriceImpl,
ShoppingItemPrice,
ShoppingItemPriceModel,
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 | |
|---|---|
ShoppingItemPriceModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItemPrice shoppingItemPrice)
|
boolean |
equals(Object obj)
|
double |
getDiscount()
Gets the discount of this shopping item price. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getItemId()
Gets the item id of this shopping item price. |
long |
getItemPriceId()
Gets the item price id of this shopping item price. |
int |
getMaxQuantity()
Gets the max quantity of this shopping item price. |
int |
getMinQuantity()
Gets the min quantity of this shopping item price. |
double |
getPrice()
Gets the price of this shopping item price. |
long |
getPrimaryKey()
Gets the primary key of this shopping item price. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
double |
getShipping()
Gets the shipping of this shopping item price. |
int |
getStatus()
Gets the status of this shopping item price. |
boolean |
getTaxable()
Gets the taxable of this shopping item price. |
boolean |
getUseShippingFormula()
Gets the use shipping formula of this shopping item price. |
int |
hashCode()
|
boolean |
isTaxable()
Determines whether this shopping item price is taxable. |
boolean |
isUseShippingFormula()
Determines whether this shopping item price is use shipping formula. |
void |
setDiscount(double discount)
Sets the discount of this shopping item price. |
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 |
setPrice(double price)
Sets the price of this shopping item price. |
void |
setPrimaryKey(long pk)
Sets the primary key of this shopping item price |
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 {$entity.humanName} is taxable. |
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this {$entity.humanName} is use shipping formula. |
ShoppingItemPrice |
toEscapedModel()
Gets a copy of this shopping item price as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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.ShoppingItemPriceModel |
|---|
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 ShoppingItemPriceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ShoppingItemPriceModel
getPrimaryKey in interface ShoppingItemPriceModelpublic void setPrimaryKey(long pk)
ShoppingItemPriceModel
setPrimaryKey in interface ShoppingItemPriceModelpk - the primary key of this shopping item pricepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface ShoppingItemPriceModelpublic long getItemPriceId()
ShoppingItemPriceModel
getItemPriceId in interface ShoppingItemPriceModelpublic void setItemPriceId(long itemPriceId)
ShoppingItemPriceModel
setItemPriceId in interface ShoppingItemPriceModelitemPriceId - the item price id of this shopping item pricepublic long getItemId()
ShoppingItemPriceModel
getItemId in interface ShoppingItemPriceModelpublic void setItemId(long itemId)
ShoppingItemPriceModel
setItemId in interface ShoppingItemPriceModelitemId - the item id of this shopping item pricepublic int getMinQuantity()
ShoppingItemPriceModel
getMinQuantity in interface ShoppingItemPriceModelpublic void setMinQuantity(int minQuantity)
ShoppingItemPriceModel
setMinQuantity in interface ShoppingItemPriceModelminQuantity - the min quantity of this shopping item pricepublic int getMaxQuantity()
ShoppingItemPriceModel
getMaxQuantity in interface ShoppingItemPriceModelpublic void setMaxQuantity(int maxQuantity)
ShoppingItemPriceModel
setMaxQuantity in interface ShoppingItemPriceModelmaxQuantity - the max quantity of this shopping item pricepublic double getPrice()
ShoppingItemPriceModel
getPrice in interface ShoppingItemPriceModelpublic void setPrice(double price)
ShoppingItemPriceModel
setPrice in interface ShoppingItemPriceModelprice - the price of this shopping item pricepublic double getDiscount()
ShoppingItemPriceModel
getDiscount in interface ShoppingItemPriceModelpublic void setDiscount(double discount)
ShoppingItemPriceModel
setDiscount in interface ShoppingItemPriceModeldiscount - the discount of this shopping item pricepublic boolean getTaxable()
ShoppingItemPriceModel
getTaxable in interface ShoppingItemPriceModelpublic boolean isTaxable()
ShoppingItemPriceModel
isTaxable in interface ShoppingItemPriceModelpublic void setTaxable(boolean taxable)
ShoppingItemPriceModel
setTaxable in interface ShoppingItemPriceModeltaxable - the taxable of this shopping item pricepublic double getShipping()
ShoppingItemPriceModel
getShipping in interface ShoppingItemPriceModelpublic void setShipping(double shipping)
ShoppingItemPriceModel
setShipping in interface ShoppingItemPriceModelshipping - the shipping of this shopping item pricepublic boolean getUseShippingFormula()
ShoppingItemPriceModel
getUseShippingFormula in interface ShoppingItemPriceModelpublic boolean isUseShippingFormula()
ShoppingItemPriceModel
isUseShippingFormula in interface ShoppingItemPriceModelpublic void setUseShippingFormula(boolean useShippingFormula)
ShoppingItemPriceModel
setUseShippingFormula in interface ShoppingItemPriceModeluseShippingFormula - the use shipping formula of this shopping item pricepublic int getStatus()
ShoppingItemPriceModel
getStatus in interface ShoppingItemPriceModelpublic void setStatus(int status)
ShoppingItemPriceModel
setStatus in interface ShoppingItemPriceModelstatus - the status of this shopping item pricepublic ShoppingItemPrice toEscapedModel()
ShoppingItemPriceModelAutoEscapeBeanHandler.
toEscapedModel in interface ShoppingItemPriceModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItemPrice>getExpandoBridge in interface ShoppingItemPriceModelgetExpandoBridge in class BaseModelImpl<ShoppingItemPrice>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingItemPrice>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingItemPrice>clone in interface ShoppingItemPriceModelclone in class BaseModelImpl<ShoppingItemPrice>public int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface ShoppingItemPriceModelcompareTo in interface Comparable<ShoppingItemPrice>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingItemPriceModelhashCode in class Objectpublic String toString()
toString in interface ShoppingItemPriceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItemPrice>toXmlString in interface ShoppingItemPriceModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||