|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
.
ShoppingItemPriceImpl
,
ShoppingItemPrice
,
ShoppingItemPriceModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
ITEMID_COLUMN_BITMASK
|
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)
|
long |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalItemId()
|
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 |
isTaxable()
Returns true if this shopping item price is taxable. |
boolean |
isUseShippingFormula()
Returns true if this shopping item price is use shipping formula. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long ITEMID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ShoppingItemPriceModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ShoppingItemPriceModel
getPrimaryKey
in interface ShoppingItemPriceModel
public void setPrimaryKey(long primaryKey)
ShoppingItemPriceModel
setPrimaryKey
in interface ShoppingItemPriceModel
primaryKey
- the primary key of this shopping item pricepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingItemPrice>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ShoppingItemPriceModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ShoppingItemPrice>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ShoppingItemPriceModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ShoppingItemPrice>
getModelAttributes
in class BaseModelImpl<ShoppingItemPrice>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ShoppingItemPrice>
setModelAttributes
in class BaseModelImpl<ShoppingItemPrice>
public long getItemPriceId()
ShoppingItemPriceModel
getItemPriceId
in interface ShoppingItemPriceModel
public void setItemPriceId(long itemPriceId)
ShoppingItemPriceModel
setItemPriceId
in interface ShoppingItemPriceModel
itemPriceId
- the item price ID of this shopping item pricepublic long getItemId()
ShoppingItemPriceModel
getItemId
in interface ShoppingItemPriceModel
public void setItemId(long itemId)
ShoppingItemPriceModel
setItemId
in interface ShoppingItemPriceModel
itemId
- the item ID of this shopping item pricepublic long getOriginalItemId()
public int getMinQuantity()
ShoppingItemPriceModel
getMinQuantity
in interface ShoppingItemPriceModel
public void setMinQuantity(int minQuantity)
ShoppingItemPriceModel
setMinQuantity
in interface ShoppingItemPriceModel
minQuantity
- the min quantity of this shopping item pricepublic int getMaxQuantity()
ShoppingItemPriceModel
getMaxQuantity
in interface ShoppingItemPriceModel
public void setMaxQuantity(int maxQuantity)
ShoppingItemPriceModel
setMaxQuantity
in interface ShoppingItemPriceModel
maxQuantity
- the max quantity of this shopping item pricepublic double getPrice()
ShoppingItemPriceModel
getPrice
in interface ShoppingItemPriceModel
public void setPrice(double price)
ShoppingItemPriceModel
setPrice
in interface ShoppingItemPriceModel
price
- the price of this shopping item pricepublic double getDiscount()
ShoppingItemPriceModel
getDiscount
in interface ShoppingItemPriceModel
public void setDiscount(double discount)
ShoppingItemPriceModel
setDiscount
in interface ShoppingItemPriceModel
discount
- the discount of this shopping item pricepublic boolean getTaxable()
ShoppingItemPriceModel
getTaxable
in interface ShoppingItemPriceModel
public boolean isTaxable()
ShoppingItemPriceModel
true
if this shopping item price is taxable.
isTaxable
in interface ShoppingItemPriceModel
true
if this shopping item price is taxable; false
otherwisepublic void setTaxable(boolean taxable)
ShoppingItemPriceModel
setTaxable
in interface ShoppingItemPriceModel
taxable
- the taxable of this shopping item pricepublic double getShipping()
ShoppingItemPriceModel
getShipping
in interface ShoppingItemPriceModel
public void setShipping(double shipping)
ShoppingItemPriceModel
setShipping
in interface ShoppingItemPriceModel
shipping
- the shipping of this shopping item pricepublic boolean getUseShippingFormula()
ShoppingItemPriceModel
getUseShippingFormula
in interface ShoppingItemPriceModel
public boolean isUseShippingFormula()
ShoppingItemPriceModel
true
if this shopping item price is use shipping formula.
isUseShippingFormula
in interface ShoppingItemPriceModel
true
if this shopping item price is use shipping formula; false
otherwisepublic void setUseShippingFormula(boolean useShippingFormula)
ShoppingItemPriceModel
setUseShippingFormula
in interface ShoppingItemPriceModel
useShippingFormula
- the use shipping formula of this shopping item pricepublic int getStatus()
ShoppingItemPriceModel
getStatus
in interface ShoppingItemPriceModel
public void setStatus(int status)
ShoppingItemPriceModel
setStatus
in interface ShoppingItemPriceModel
status
- the status of this shopping item pricepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingItemPrice>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ShoppingItemPriceModel
getExpandoBridge
in class BaseModelImpl<ShoppingItemPrice>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingItemPrice>
setExpandoBridgeAttributes
in interface ShoppingItemPriceModel
setExpandoBridgeAttributes
in class BaseModelImpl<ShoppingItemPrice>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ShoppingItemPrice toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingItemPrice>
toEscapedModel
in interface ShoppingItemPriceModel
toEscapedModel
in class BaseModelImpl<ShoppingItemPrice>
AutoEscapeBeanHandler
public ShoppingItemPrice toUnescapedModel()
toUnescapedModel
in interface BaseModel<ShoppingItemPrice>
toUnescapedModel
in interface ShoppingItemPriceModel
toUnescapedModel
in class BaseModelImpl<ShoppingItemPrice>
public Object clone()
BaseModel
clone
in interface BaseModel<ShoppingItemPrice>
clone
in interface ShoppingItemPriceModel
clone
in class BaseModelImpl<ShoppingItemPrice>
public int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo
in interface ShoppingItemPriceModel
compareTo
in interface Comparable<ShoppingItemPrice>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ShoppingItemPriceModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ShoppingItemPrice>
resetOriginalValues
in class BaseModelImpl<ShoppingItemPrice>
public CacheModel<ShoppingItemPrice> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ShoppingItemPrice>
toCacheModel
in interface ShoppingItemPriceModel
toCacheModel
in class BaseModelImpl<ShoppingItemPrice>
public String toString()
toString
in interface ShoppingItemPriceModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingItemPrice>
toXmlString
in interface ShoppingItemPriceModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |