|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType 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.
ShoppingOrderItem,
ShoppingOrderItemImpl,
ShoppingOrderItemModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingOrderItem shoppingOrderItem)
|
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. |
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. |
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()
|
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. |
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 |
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(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 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 interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, 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 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 itemboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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 cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ShoppingOrderItem>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingOrderItem>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<ShoppingOrderItem>int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo in interface Comparable<ShoppingOrderItem>int hashCode()
hashCode in class ObjectCacheModel<ShoppingOrderItem> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingOrderItem>ShoppingOrderItem toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingOrderItem>AutoEscapeBeanHandlerShoppingOrderItem toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingOrderItem>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingOrderItem>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||