|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingItem>
com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
public class ShoppingItemModelImpl
This interface is a model that represents the ShoppingItem table in the database.
ShoppingItemImpl,
ShoppingItem,
ShoppingItemModel,
Serialized Form| Field Summary | |
|---|---|
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 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 | |
|---|---|
ShoppingItemModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItem shoppingItem)
|
boolean |
equals(Object obj)
|
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()
|
long |
getGroupId()
|
long |
getItemId()
|
boolean |
getLargeImage()
|
long |
getLargeImageId()
|
String |
getLargeImageURL()
|
int |
getMaxQuantity()
|
boolean |
getMediumImage()
|
long |
getMediumImageId()
|
String |
getMediumImageURL()
|
int |
getMinQuantity()
|
Date |
getModifiedDate()
|
String |
getName()
|
long |
getOriginalCompanyId()
|
long |
getOriginalLargeImageId()
|
long |
getOriginalMediumImageId()
|
String |
getOriginalSku()
|
long |
getOriginalSmallImageId()
|
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()
|
int |
hashCode()
|
boolean |
isFeatured()
|
boolean |
isFields()
|
boolean |
isLargeImage()
|
boolean |
isMediumImage()
|
boolean |
isRequiresShipping()
|
boolean |
isSale()
|
boolean |
isSmallImage()
|
boolean |
isTaxable()
|
boolean |
isUseShippingFormula()
|
void |
setCategoryId(long categoryId)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(String description)
|
void |
setDiscount(double discount)
|
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 |
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 |
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()
|
static ShoppingItem |
toModel(ShoppingItemSoap soapModel)
|
static List<ShoppingItem> |
toModels(ShoppingItemSoap[] soapModels)
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingItemModelImpl()
| Method Detail |
|---|
public static ShoppingItem toModel(ShoppingItemSoap soapModel)
public static List<ShoppingItem> toModels(ShoppingItemSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface ShoppingItemModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ShoppingItemModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItem>getPrimaryKeyObj 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 getOriginalCompanyId()
public 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 getOriginalSku()
public 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 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 long getOriginalSmallImageId()
public 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 long getOriginalMediumImageId()
public 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 long getOriginalLargeImageId()
public String getLargeImageURL()
getLargeImageURL in interface ShoppingItemModelpublic void setLargeImageURL(String largeImageURL)
setLargeImageURL in interface ShoppingItemModelpublic ShoppingItem toEscapedModel()
toEscapedModel in interface ShoppingItemModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItem>getExpandoBridge in interface ShoppingItemModelgetExpandoBridge in class BaseModelImpl<ShoppingItem>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItem>setExpandoBridgeAttributes in interface ShoppingItemModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingItem>serviceContext - 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 BaseModelImpl<ShoppingItem>public int compareTo(ShoppingItem shoppingItem)
compareTo in interface ShoppingItemModelcompareTo in interface Comparable<ShoppingItem>public boolean equals(Object obj)
equals in class Objectpublic 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 ShoppingItemModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||