|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShoppingOrderItemModel
The base model interface for the ShoppingOrderItem service. Represents a row in the "ShoppingOrderItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ShoppingOrderItemModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingOrderItemImpl
.
Never modify or reference this interface directly. All methods that expect a shopping order item model instance should use the ShoppingOrderItem
interface instead.
ShoppingOrderItem
,
ShoppingOrderItemImpl
,
ShoppingOrderItemModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingOrderItem shoppingOrderItem)
|
String |
getDescription()
Gets the description of this shopping order item. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getItemId()
Gets the item id of this shopping order item. |
String |
getName()
Gets the name of this shopping order item. |
long |
getOrderId()
Gets the order id of this shopping order item. |
long |
getOrderItemId()
Gets the order item id of this shopping order item. |
double |
getPrice()
Gets the price of this shopping order item. |
long |
getPrimaryKey()
Gets the primary key of this shopping order item. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getProperties()
Gets the properties of this shopping order item. |
int |
getQuantity()
Gets the quantity of this shopping order item. |
Date |
getShippedDate()
Gets the shipped date of this shopping order item. |
String |
getSku()
Gets the sku of this shopping order item. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setDescription(String description)
Sets the description of this shopping order item. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setName(String name)
Sets the name of this shopping order item. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 pk)
Sets the primary key of this shopping order item |
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. |
ShoppingOrderItem |
toEscapedModel()
Gets a copy of this shopping order item as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk
- the primary key of this shopping order itemlong getOrderItemId()
void setOrderItemId(long orderItemId)
orderItemId
- the order item id of this shopping order itemlong getOrderId()
void setOrderId(long orderId)
orderId
- the order id of this shopping order item@AutoEscape String getItemId()
void setItemId(String itemId)
itemId
- the item id of this shopping order item@AutoEscape String getSku()
void setSku(String sku)
sku
- the sku of this shopping order item@AutoEscape String getName()
void setName(String name)
name
- the name of this shopping order item@AutoEscape String getDescription()
void setDescription(String description)
description
- the description of this shopping order item@AutoEscape String getProperties()
void setProperties(String properties)
properties
- the properties of this shopping order itemdouble getPrice()
void setPrice(double price)
price
- the price of this shopping order itemint getQuantity()
void setQuantity(int quantity)
quantity
- the quantity of this shopping order itemDate getShippedDate()
void setShippedDate(Date shippedDate)
shippedDate
- the shipped date of this shopping order itemShoppingOrderItem toEscapedModel()
AutoEscapeBeanHandler
.
AutoEscapeBeanHandler
boolean isNew()
BaseModel
isNew
in interface BaseModel<ShoppingOrderItem>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ShoppingOrderItem>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<ShoppingOrderItem>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ShoppingOrderItem>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<ShoppingOrderItem>
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<ShoppingOrderItem>
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingOrderItem>
ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingOrderItem>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingOrderItem>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<ShoppingOrderItem>
int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo
in interface Comparable<ShoppingOrderItem>
int hashCode()
hashCode
in class Object
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingOrderItem>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |