|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.shopping.model.ShoppingItemWrapper
public class ShoppingItemWrapper
This class is a wrapper for ShoppingItem.
ShoppingItem,
Serialized Form| Constructor Summary | |
|---|---|
ShoppingItemWrapper(ShoppingItem shoppingItem)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItem shoppingItem)
|
ShoppingCategory |
getCategory()
|
long |
getCategoryId()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
double |
getDiscount()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
boolean |
getFeatured()
|
boolean |
getFields()
|
String |
getFieldsQuantities()
|
String[] |
getFieldsQuantitiesArray()
|
long |
getGroupId()
|
long |
getItemId()
|
List<ShoppingItemPrice> |
getItemPrices()
|
boolean |
getLargeImage()
|
long |
getLargeImageId()
|
String |
getLargeImageURL()
|
int |
getMaxQuantity()
|
boolean |
getMediumImage()
|
long |
getMediumImageId()
|
String |
getMediumImageURL()
|
int |
getMinQuantity()
|
Date |
getModifiedDate()
|
String |
getName()
|
double |
getPrice()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getProperties()
|
boolean |
getRequiresShipping()
|
boolean |
getSale()
|
double |
getShipping()
|
String |
getSku()
|
boolean |
getSmallImage()
|
long |
getSmallImageId()
|
String |
getSmallImageURL()
|
int |
getStockQuantity()
|
boolean |
getTaxable()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
boolean |
getUseShippingFormula()
|
ShoppingItem |
getWrappedShoppingItem()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isFeatured()
|
boolean |
isFields()
|
boolean |
isLargeImage()
|
boolean |
isMediumImage()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRequiresShipping()
|
boolean |
isSale()
|
boolean |
isSmallImage()
|
boolean |
isTaxable()
|
boolean |
isUseShippingFormula()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(String description)
|
void |
setDiscount(double discount)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFeatured(boolean featured)
|
void |
setFields(boolean fields)
|
void |
setFieldsQuantities(String fieldsQuantities)
|
void |
setFieldsQuantitiesArray(String[] fieldsQuantitiesArray)
|
void |
setGroupId(long groupId)
|
void |
setItemId(long itemId)
|
void |
setLargeImage(boolean largeImage)
|
void |
setLargeImageId(long largeImageId)
|
void |
setLargeImageURL(String largeImageURL)
|
void |
setMaxQuantity(int maxQuantity)
|
void |
setMediumImage(boolean mediumImage)
|
void |
setMediumImageId(long mediumImageId)
|
void |
setMediumImageURL(String mediumImageURL)
|
void |
setMinQuantity(int minQuantity)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrice(double price)
|
void |
setPrimaryKey(long pk)
|
void |
setProperties(String properties)
|
void |
setRequiresShipping(boolean requiresShipping)
|
void |
setSale(boolean sale)
|
void |
setShipping(double shipping)
|
void |
setSku(String sku)
|
void |
setSmallImage(boolean smallImage)
|
void |
setSmallImageId(long smallImageId)
|
void |
setSmallImageURL(String smallImageURL)
|
void |
setStockQuantity(int stockQuantity)
|
void |
setTaxable(boolean taxable)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUseShippingFormula(boolean useShippingFormula)
|
ShoppingItem |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShoppingItemWrapper(ShoppingItem shoppingItem)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ShoppingItemModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ShoppingItemModelpublic long getItemId()
getItemId in interface ShoppingItemModelpublic void setItemId(long itemId)
setItemId in interface ShoppingItemModelpublic long getGroupId()
getGroupId in interface ShoppingItemModelpublic void setGroupId(long groupId)
setGroupId in interface ShoppingItemModelpublic long getCompanyId()
getCompanyId in interface ShoppingItemModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShoppingItemModelpublic long getUserId()
getUserId in interface ShoppingItemModelpublic void setUserId(long userId)
setUserId in interface ShoppingItemModel
public String getUserUuid()
throws SystemException
getUserUuid in interface ShoppingItemModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface ShoppingItemModelpublic String getUserName()
getUserName in interface ShoppingItemModelpublic void setUserName(String userName)
setUserName in interface ShoppingItemModelpublic Date getCreateDate()
getCreateDate in interface ShoppingItemModelpublic void setCreateDate(Date createDate)
setCreateDate in interface ShoppingItemModelpublic Date getModifiedDate()
getModifiedDate in interface ShoppingItemModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ShoppingItemModelpublic long getCategoryId()
getCategoryId in interface ShoppingItemModelpublic void setCategoryId(long categoryId)
setCategoryId in interface ShoppingItemModelpublic String getSku()
getSku in interface ShoppingItemModelpublic void setSku(String sku)
setSku in interface ShoppingItemModelpublic String getName()
getName in interface ShoppingItemModelpublic void setName(String name)
setName in interface ShoppingItemModelpublic String getDescription()
getDescription in interface ShoppingItemModelpublic void setDescription(String description)
setDescription in interface ShoppingItemModelpublic String getProperties()
getProperties in interface ShoppingItemModelpublic void setProperties(String properties)
setProperties in interface ShoppingItemModelpublic boolean getFields()
getFields in interface ShoppingItemModelpublic boolean isFields()
isFields in interface ShoppingItemModelpublic void setFields(boolean fields)
setFields in interface ShoppingItemModelpublic String getFieldsQuantities()
getFieldsQuantities in interface ShoppingItemModelpublic void setFieldsQuantities(String fieldsQuantities)
setFieldsQuantities in interface ShoppingItemsetFieldsQuantities in interface ShoppingItemModelpublic int getMinQuantity()
getMinQuantity in interface ShoppingItemModelpublic void setMinQuantity(int minQuantity)
setMinQuantity in interface ShoppingItemModelpublic int getMaxQuantity()
getMaxQuantity in interface ShoppingItemModelpublic void setMaxQuantity(int maxQuantity)
setMaxQuantity in interface ShoppingItemModelpublic double getPrice()
getPrice in interface ShoppingItemModelpublic void setPrice(double price)
setPrice in interface ShoppingItemModelpublic double getDiscount()
getDiscount in interface ShoppingItemModelpublic void setDiscount(double discount)
setDiscount in interface ShoppingItemModelpublic boolean getTaxable()
getTaxable in interface ShoppingItemModelpublic boolean isTaxable()
isTaxable in interface ShoppingItemModelpublic void setTaxable(boolean taxable)
setTaxable in interface ShoppingItemModelpublic double getShipping()
getShipping in interface ShoppingItemModelpublic void setShipping(double shipping)
setShipping in interface ShoppingItemModelpublic boolean getUseShippingFormula()
getUseShippingFormula in interface ShoppingItemModelpublic boolean isUseShippingFormula()
isUseShippingFormula in interface ShoppingItemModelpublic void setUseShippingFormula(boolean useShippingFormula)
setUseShippingFormula in interface ShoppingItemModelpublic boolean getRequiresShipping()
getRequiresShipping in interface ShoppingItemModelpublic boolean isRequiresShipping()
isRequiresShipping in interface ShoppingItemModelpublic void setRequiresShipping(boolean requiresShipping)
setRequiresShipping in interface ShoppingItemModelpublic int getStockQuantity()
getStockQuantity in interface ShoppingItemModelpublic void setStockQuantity(int stockQuantity)
setStockQuantity in interface ShoppingItemModelpublic boolean getFeatured()
getFeatured in interface ShoppingItemModelpublic boolean isFeatured()
isFeatured in interface ShoppingItemModelpublic void setFeatured(boolean featured)
setFeatured in interface ShoppingItemModelpublic boolean getSale()
getSale in interface ShoppingItemModelpublic boolean isSale()
isSale in interface ShoppingItemModelpublic void setSale(boolean sale)
setSale in interface ShoppingItemModelpublic boolean getSmallImage()
getSmallImage in interface ShoppingItemModelpublic boolean isSmallImage()
isSmallImage in interface ShoppingItemModelpublic void setSmallImage(boolean smallImage)
setSmallImage in interface ShoppingItemModelpublic long getSmallImageId()
getSmallImageId in interface ShoppingItemModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface ShoppingItemModelpublic String getSmallImageURL()
getSmallImageURL in interface ShoppingItemModelpublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface ShoppingItemModelpublic boolean getMediumImage()
getMediumImage in interface ShoppingItemModelpublic boolean isMediumImage()
isMediumImage in interface ShoppingItemModelpublic void setMediumImage(boolean mediumImage)
setMediumImage in interface ShoppingItemModelpublic long getMediumImageId()
getMediumImageId in interface ShoppingItemModelpublic void setMediumImageId(long mediumImageId)
setMediumImageId in interface ShoppingItemModelpublic String getMediumImageURL()
getMediumImageURL in interface ShoppingItemModelpublic void setMediumImageURL(String mediumImageURL)
setMediumImageURL in interface ShoppingItemModelpublic boolean getLargeImage()
getLargeImage in interface ShoppingItemModelpublic boolean isLargeImage()
isLargeImage in interface ShoppingItemModelpublic void setLargeImage(boolean largeImage)
setLargeImage in interface ShoppingItemModelpublic long getLargeImageId()
getLargeImageId in interface ShoppingItemModelpublic void setLargeImageId(long largeImageId)
setLargeImageId in interface ShoppingItemModelpublic String getLargeImageURL()
getLargeImageURL in interface ShoppingItemModelpublic void setLargeImageURL(String largeImageURL)
setLargeImageURL in interface ShoppingItemModelpublic ShoppingItem toEscapedModel()
toEscapedModel in interface ShoppingItemModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingItem>isNew in interface ShoppingItemModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingItem>setNew in interface ShoppingItemModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingItem>isCachedModel in interface ShoppingItemModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingItem>setCachedModel in interface ShoppingItemModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingItem>isEscapedModel in interface ShoppingItemModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ShoppingItem>setEscapedModel in interface ShoppingItemModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItem>getPrimaryKeyObj in interface ShoppingItemModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItem>getExpandoBridge in interface ShoppingItemModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>setExpandoBridgeAttributes in interface ShoppingItemModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingItem>clone in interface ShoppingItemModelclone in class Objectpublic int compareTo(ShoppingItem shoppingItem)
compareTo in interface ShoppingItemcompareTo in interface ShoppingItemModelcompareTo in interface Comparable<ShoppingItem>public int hashCode()
hashCode in interface ShoppingItemModelhashCode in class Objectpublic String toString()
toString in interface ShoppingItemModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItem>toXmlString in interface ShoppingItemModelpublic ShoppingCategory getCategory()
getCategory in interface ShoppingItempublic String[] getFieldsQuantitiesArray()
getFieldsQuantitiesArray in interface ShoppingItem
public List<ShoppingItemPrice> getItemPrices()
throws PortalException,
SystemException
getItemPrices in interface ShoppingItemPortalException
SystemExceptionpublic void setFieldsQuantitiesArray(String[] fieldsQuantitiesArray)
setFieldsQuantitiesArray in interface ShoppingItempublic ShoppingItem getWrappedShoppingItem()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||