|
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<ShoppingOrderItem> com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl
public class ShoppingOrderItemModelImpl
The base model implementation for the ShoppingOrderItem service. Represents a row in the "ShoppingOrderItem" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ShoppingOrderItemModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingOrderItemImpl
.
ShoppingOrderItemImpl
,
ShoppingOrderItem
,
ShoppingOrderItemModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
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 long |
ORDERID_COLUMN_BITMASK
|
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 | |
---|---|
ShoppingOrderItemModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingOrderItem shoppingOrderItem)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
String |
getDescription()
Returns the description of this shopping order item. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getItemId()
Returns the item ID of this shopping order item. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this shopping order item. |
long |
getOrderId()
Returns the order ID of this shopping order item. |
long |
getOrderItemId()
Returns the order item ID of this shopping order item. |
long |
getOriginalOrderId()
|
double |
getPrice()
Returns the price of this shopping order item. |
long |
getPrimaryKey()
Returns the primary key of this shopping order item. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getProperties()
Returns the properties of this shopping order item. |
int |
getQuantity()
Returns the quantity of this shopping order item. |
Date |
getShippedDate()
Returns the shipped date of this shopping order item. |
String |
getSku()
Returns the sku of this shopping order item. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setDescription(String description)
Sets the description of this shopping order item. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setItemId(String itemId)
Sets the item ID of this shopping order item. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this shopping order item. |
void |
setOrderId(long orderId)
Sets the order ID of this shopping order item. |
void |
setOrderItemId(long orderItemId)
Sets the order item ID of this shopping order item. |
void |
setPrice(double price)
Sets the price of this shopping order item. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping order item. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setProperties(String properties)
Sets the properties of this shopping order item. |
void |
setQuantity(int quantity)
Sets the quantity of this shopping order item. |
void |
setShippedDate(Date shippedDate)
Sets the shipped date of this shopping order item. |
void |
setSku(String sku)
Sets the sku of this shopping order item. |
CacheModel<ShoppingOrderItem> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ShoppingOrderItem |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
ShoppingOrderItem |
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.ShoppingOrderItemModel |
---|
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 ORDERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ShoppingOrderItemModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ShoppingOrderItemModel
getPrimaryKey
in interface ShoppingOrderItemModel
public void setPrimaryKey(long primaryKey)
ShoppingOrderItemModel
setPrimaryKey
in interface ShoppingOrderItemModel
primaryKey
- the primary key of this shopping order itempublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingOrderItem>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ShoppingOrderItemModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ShoppingOrderItem>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ShoppingOrderItemModel
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<ShoppingOrderItem>
getModelAttributes
in class BaseModelImpl<ShoppingOrderItem>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ShoppingOrderItem>
setModelAttributes
in class BaseModelImpl<ShoppingOrderItem>
public long getOrderItemId()
ShoppingOrderItemModel
getOrderItemId
in interface ShoppingOrderItemModel
public void setOrderItemId(long orderItemId)
ShoppingOrderItemModel
setOrderItemId
in interface ShoppingOrderItemModel
orderItemId
- the order item ID of this shopping order itempublic long getOrderId()
ShoppingOrderItemModel
getOrderId
in interface ShoppingOrderItemModel
public void setOrderId(long orderId)
ShoppingOrderItemModel
setOrderId
in interface ShoppingOrderItemModel
orderId
- the order ID of this shopping order itempublic long getOriginalOrderId()
public String getItemId()
ShoppingOrderItemModel
getItemId
in interface ShoppingOrderItemModel
public void setItemId(String itemId)
ShoppingOrderItemModel
setItemId
in interface ShoppingOrderItemModel
itemId
- the item ID of this shopping order itempublic String getSku()
ShoppingOrderItemModel
getSku
in interface ShoppingOrderItemModel
public void setSku(String sku)
ShoppingOrderItemModel
setSku
in interface ShoppingOrderItemModel
sku
- the sku of this shopping order itempublic String getName()
ShoppingOrderItemModel
getName
in interface ShoppingOrderItemModel
public void setName(String name)
ShoppingOrderItemModel
setName
in interface ShoppingOrderItemModel
name
- the name of this shopping order itempublic String getDescription()
ShoppingOrderItemModel
getDescription
in interface ShoppingOrderItemModel
public void setDescription(String description)
ShoppingOrderItemModel
setDescription
in interface ShoppingOrderItemModel
description
- the description of this shopping order itempublic String getProperties()
ShoppingOrderItemModel
getProperties
in interface ShoppingOrderItemModel
public void setProperties(String properties)
ShoppingOrderItemModel
setProperties
in interface ShoppingOrderItemModel
properties
- the properties of this shopping order itempublic double getPrice()
ShoppingOrderItemModel
getPrice
in interface ShoppingOrderItemModel
public void setPrice(double price)
ShoppingOrderItemModel
setPrice
in interface ShoppingOrderItemModel
price
- the price of this shopping order itempublic int getQuantity()
ShoppingOrderItemModel
getQuantity
in interface ShoppingOrderItemModel
public void setQuantity(int quantity)
ShoppingOrderItemModel
setQuantity
in interface ShoppingOrderItemModel
quantity
- the quantity of this shopping order itempublic Date getShippedDate()
ShoppingOrderItemModel
getShippedDate
in interface ShoppingOrderItemModel
public void setShippedDate(Date shippedDate)
ShoppingOrderItemModel
setShippedDate
in interface ShoppingOrderItemModel
shippedDate
- the shipped date of this shopping order itempublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingOrderItem>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ShoppingOrderItemModel
getExpandoBridge
in class BaseModelImpl<ShoppingOrderItem>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingOrderItem>
setExpandoBridgeAttributes
in interface ShoppingOrderItemModel
setExpandoBridgeAttributes
in class BaseModelImpl<ShoppingOrderItem>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ShoppingOrderItem toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingOrderItem>
toEscapedModel
in interface ShoppingOrderItemModel
toEscapedModel
in class BaseModelImpl<ShoppingOrderItem>
AutoEscapeBeanHandler
public ShoppingOrderItem toUnescapedModel()
toUnescapedModel
in interface BaseModel<ShoppingOrderItem>
toUnescapedModel
in interface ShoppingOrderItemModel
toUnescapedModel
in class BaseModelImpl<ShoppingOrderItem>
public Object clone()
BaseModel
clone
in interface BaseModel<ShoppingOrderItem>
clone
in interface ShoppingOrderItemModel
clone
in class BaseModelImpl<ShoppingOrderItem>
public int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo
in interface ShoppingOrderItemModel
compareTo
in interface Comparable<ShoppingOrderItem>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ShoppingOrderItemModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ShoppingOrderItem>
resetOriginalValues
in class BaseModelImpl<ShoppingOrderItem>
public CacheModel<ShoppingOrderItem> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ShoppingOrderItem>
toCacheModel
in interface ShoppingOrderItemModel
toCacheModel
in class BaseModelImpl<ShoppingOrderItem>
public String toString()
toString
in interface ShoppingOrderItemModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingOrderItem>
toXmlString
in interface ShoppingOrderItemModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |