com.liferay.portlet.shopping.model.impl
Class ShoppingOrderModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<ShoppingOrder>
com.liferay.portlet.shopping.model.impl.ShoppingOrderModelImpl
- All Implemented Interfaces:
- BaseModel<ShoppingOrder>, ShoppingOrderModel, Serializable, Cloneable, Comparable<ShoppingOrder>
- Direct Known Subclasses:
- ShoppingOrderImpl
public class ShoppingOrderModelImpl
- extends BaseModelImpl<ShoppingOrder>
- implements ShoppingOrderModel
This interface is a model that represents the ShoppingOrder table in the
database.
- See Also:
ShoppingOrderImpl,
ShoppingOrder,
ShoppingOrderModel,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ShoppingOrderModelImpl
public ShoppingOrderModelImpl()
toModel
public static ShoppingOrder toModel(ShoppingOrderSoap soapModel)
toModels
public static List<ShoppingOrder> toModels(ShoppingOrderSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ShoppingOrderModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ShoppingOrderModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Description copied from interface:
BaseModel
- Gets the primary key for this model instance.
- Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingOrder>- Specified by:
getPrimaryKeyObj in interface ShoppingOrderModel
- Returns:
- the primary key
getOrderId
public long getOrderId()
- Specified by:
getOrderId in interface ShoppingOrderModel
setOrderId
public void setOrderId(long orderId)
- Specified by:
setOrderId in interface ShoppingOrderModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface ShoppingOrderModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface ShoppingOrderModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface ShoppingOrderModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface ShoppingOrderModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface ShoppingOrderModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface ShoppingOrderModel
getUserUuid
public String getUserUuid()
throws SystemException
- Specified by:
getUserUuid in interface ShoppingOrderModel
- Throws:
SystemException
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface ShoppingOrderModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface ShoppingOrderModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface ShoppingOrderModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface ShoppingOrderModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface ShoppingOrderModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface ShoppingOrderModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface ShoppingOrderModel
getNumber
public String getNumber()
- Specified by:
getNumber in interface ShoppingOrderModel
setNumber
public void setNumber(String number)
- Specified by:
setNumber in interface ShoppingOrderModel
getOriginalNumber
public String getOriginalNumber()
getTax
public double getTax()
- Specified by:
getTax in interface ShoppingOrderModel
setTax
public void setTax(double tax)
- Specified by:
setTax in interface ShoppingOrderModel
getShipping
public double getShipping()
- Specified by:
getShipping in interface ShoppingOrderModel
setShipping
public void setShipping(double shipping)
- Specified by:
setShipping in interface ShoppingOrderModel
getAltShipping
public String getAltShipping()
- Specified by:
getAltShipping in interface ShoppingOrderModel
setAltShipping
public void setAltShipping(String altShipping)
- Specified by:
setAltShipping in interface ShoppingOrderModel
getRequiresShipping
public boolean getRequiresShipping()
- Specified by:
getRequiresShipping in interface ShoppingOrderModel
isRequiresShipping
public boolean isRequiresShipping()
- Specified by:
isRequiresShipping in interface ShoppingOrderModel
setRequiresShipping
public void setRequiresShipping(boolean requiresShipping)
- Specified by:
setRequiresShipping in interface ShoppingOrderModel
getInsure
public boolean getInsure()
- Specified by:
getInsure in interface ShoppingOrderModel
isInsure
public boolean isInsure()
- Specified by:
isInsure in interface ShoppingOrderModel
setInsure
public void setInsure(boolean insure)
- Specified by:
setInsure in interface ShoppingOrderModel
getInsurance
public double getInsurance()
- Specified by:
getInsurance in interface ShoppingOrderModel
setInsurance
public void setInsurance(double insurance)
- Specified by:
setInsurance in interface ShoppingOrderModel
getCouponCodes
public String getCouponCodes()
- Specified by:
getCouponCodes in interface ShoppingOrderModel
setCouponCodes
public void setCouponCodes(String couponCodes)
- Specified by:
setCouponCodes in interface ShoppingOrderModel
getCouponDiscount
public double getCouponDiscount()
- Specified by:
getCouponDiscount in interface ShoppingOrderModel
setCouponDiscount
public void setCouponDiscount(double couponDiscount)
- Specified by:
setCouponDiscount in interface ShoppingOrderModel
getBillingFirstName
public String getBillingFirstName()
- Specified by:
getBillingFirstName in interface ShoppingOrderModel
setBillingFirstName
public void setBillingFirstName(String billingFirstName)
- Specified by:
setBillingFirstName in interface ShoppingOrderModel
getBillingLastName
public String getBillingLastName()
- Specified by:
getBillingLastName in interface ShoppingOrderModel
setBillingLastName
public void setBillingLastName(String billingLastName)
- Specified by:
setBillingLastName in interface ShoppingOrderModel
getBillingEmailAddress
public String getBillingEmailAddress()
- Specified by:
getBillingEmailAddress in interface ShoppingOrderModel
setBillingEmailAddress
public void setBillingEmailAddress(String billingEmailAddress)
- Specified by:
setBillingEmailAddress in interface ShoppingOrderModel
getBillingCompany
public String getBillingCompany()
- Specified by:
getBillingCompany in interface ShoppingOrderModel
setBillingCompany
public void setBillingCompany(String billingCompany)
- Specified by:
setBillingCompany in interface ShoppingOrderModel
getBillingStreet
public String getBillingStreet()
- Specified by:
getBillingStreet in interface ShoppingOrderModel
setBillingStreet
public void setBillingStreet(String billingStreet)
- Specified by:
setBillingStreet in interface ShoppingOrderModel
getBillingCity
public String getBillingCity()
- Specified by:
getBillingCity in interface ShoppingOrderModel
setBillingCity
public void setBillingCity(String billingCity)
- Specified by:
setBillingCity in interface ShoppingOrderModel
getBillingState
public String getBillingState()
- Specified by:
getBillingState in interface ShoppingOrderModel
setBillingState
public void setBillingState(String billingState)
- Specified by:
setBillingState in interface ShoppingOrderModel
getBillingZip
public String getBillingZip()
- Specified by:
getBillingZip in interface ShoppingOrderModel
setBillingZip
public void setBillingZip(String billingZip)
- Specified by:
setBillingZip in interface ShoppingOrderModel
getBillingCountry
public String getBillingCountry()
- Specified by:
getBillingCountry in interface ShoppingOrderModel
setBillingCountry
public void setBillingCountry(String billingCountry)
- Specified by:
setBillingCountry in interface ShoppingOrderModel
getBillingPhone
public String getBillingPhone()
- Specified by:
getBillingPhone in interface ShoppingOrderModel
setBillingPhone
public void setBillingPhone(String billingPhone)
- Specified by:
setBillingPhone in interface ShoppingOrderModel
getShipToBilling
public boolean getShipToBilling()
- Specified by:
getShipToBilling in interface ShoppingOrderModel
isShipToBilling
public boolean isShipToBilling()
- Specified by:
isShipToBilling in interface ShoppingOrderModel
setShipToBilling
public void setShipToBilling(boolean shipToBilling)
- Specified by:
setShipToBilling in interface ShoppingOrderModel
getShippingFirstName
public String getShippingFirstName()
- Specified by:
getShippingFirstName in interface ShoppingOrderModel
setShippingFirstName
public void setShippingFirstName(String shippingFirstName)
- Specified by:
setShippingFirstName in interface ShoppingOrderModel
getShippingLastName
public String getShippingLastName()
- Specified by:
getShippingLastName in interface ShoppingOrderModel
setShippingLastName
public void setShippingLastName(String shippingLastName)
- Specified by:
setShippingLastName in interface ShoppingOrderModel
getShippingEmailAddress
public String getShippingEmailAddress()
- Specified by:
getShippingEmailAddress in interface ShoppingOrderModel
setShippingEmailAddress
public void setShippingEmailAddress(String shippingEmailAddress)
- Specified by:
setShippingEmailAddress in interface ShoppingOrderModel
getShippingCompany
public String getShippingCompany()
- Specified by:
getShippingCompany in interface ShoppingOrderModel
setShippingCompany
public void setShippingCompany(String shippingCompany)
- Specified by:
setShippingCompany in interface ShoppingOrderModel
getShippingStreet
public String getShippingStreet()
- Specified by:
getShippingStreet in interface ShoppingOrderModel
setShippingStreet
public void setShippingStreet(String shippingStreet)
- Specified by:
setShippingStreet in interface ShoppingOrderModel
getShippingCity
public String getShippingCity()
- Specified by:
getShippingCity in interface ShoppingOrderModel
setShippingCity
public void setShippingCity(String shippingCity)
- Specified by:
setShippingCity in interface ShoppingOrderModel
getShippingState
public String getShippingState()
- Specified by:
getShippingState in interface ShoppingOrderModel
setShippingState
public void setShippingState(String shippingState)
- Specified by:
setShippingState in interface ShoppingOrderModel
getShippingZip
public String getShippingZip()
- Specified by:
getShippingZip in interface ShoppingOrderModel
setShippingZip
public void setShippingZip(String shippingZip)
- Specified by:
setShippingZip in interface ShoppingOrderModel
getShippingCountry
public String getShippingCountry()
- Specified by:
getShippingCountry in interface ShoppingOrderModel
setShippingCountry
public void setShippingCountry(String shippingCountry)
- Specified by:
setShippingCountry in interface ShoppingOrderModel
getShippingPhone
public String getShippingPhone()
- Specified by:
getShippingPhone in interface ShoppingOrderModel
setShippingPhone
public void setShippingPhone(String shippingPhone)
- Specified by:
setShippingPhone in interface ShoppingOrderModel
getCcName
public String getCcName()
- Specified by:
getCcName in interface ShoppingOrderModel
setCcName
public void setCcName(String ccName)
- Specified by:
setCcName in interface ShoppingOrderModel
getCcType
public String getCcType()
- Specified by:
getCcType in interface ShoppingOrderModel
setCcType
public void setCcType(String ccType)
- Specified by:
setCcType in interface ShoppingOrderModel
getCcNumber
public String getCcNumber()
- Specified by:
getCcNumber in interface ShoppingOrderModel
setCcNumber
public void setCcNumber(String ccNumber)
- Specified by:
setCcNumber in interface ShoppingOrderModel
getCcExpMonth
public int getCcExpMonth()
- Specified by:
getCcExpMonth in interface ShoppingOrderModel
setCcExpMonth
public void setCcExpMonth(int ccExpMonth)
- Specified by:
setCcExpMonth in interface ShoppingOrderModel
getCcExpYear
public int getCcExpYear()
- Specified by:
getCcExpYear in interface ShoppingOrderModel
setCcExpYear
public void setCcExpYear(int ccExpYear)
- Specified by:
setCcExpYear in interface ShoppingOrderModel
getCcVerNumber
public String getCcVerNumber()
- Specified by:
getCcVerNumber in interface ShoppingOrderModel
setCcVerNumber
public void setCcVerNumber(String ccVerNumber)
- Specified by:
setCcVerNumber in interface ShoppingOrderModel
getComments
public String getComments()
- Specified by:
getComments in interface ShoppingOrderModel
setComments
public void setComments(String comments)
- Specified by:
setComments in interface ShoppingOrderModel
getPpTxnId
public String getPpTxnId()
- Specified by:
getPpTxnId in interface ShoppingOrderModel
setPpTxnId
public void setPpTxnId(String ppTxnId)
- Specified by:
setPpTxnId in interface ShoppingOrderModel
getOriginalPpTxnId
public String getOriginalPpTxnId()
getPpPaymentStatus
public String getPpPaymentStatus()
- Specified by:
getPpPaymentStatus in interface ShoppingOrderModel
setPpPaymentStatus
public void setPpPaymentStatus(String ppPaymentStatus)
- Specified by:
setPpPaymentStatus in interface ShoppingOrderModel
getPpPaymentGross
public double getPpPaymentGross()
- Specified by:
getPpPaymentGross in interface ShoppingOrderModel
setPpPaymentGross
public void setPpPaymentGross(double ppPaymentGross)
- Specified by:
setPpPaymentGross in interface ShoppingOrderModel
getPpReceiverEmail
public String getPpReceiverEmail()
- Specified by:
getPpReceiverEmail in interface ShoppingOrderModel
setPpReceiverEmail
public void setPpReceiverEmail(String ppReceiverEmail)
- Specified by:
setPpReceiverEmail in interface ShoppingOrderModel
getPpPayerEmail
public String getPpPayerEmail()
- Specified by:
getPpPayerEmail in interface ShoppingOrderModel
setPpPayerEmail
public void setPpPayerEmail(String ppPayerEmail)
- Specified by:
setPpPayerEmail in interface ShoppingOrderModel
getSendOrderEmail
public boolean getSendOrderEmail()
- Specified by:
getSendOrderEmail in interface ShoppingOrderModel
isSendOrderEmail
public boolean isSendOrderEmail()
- Specified by:
isSendOrderEmail in interface ShoppingOrderModel
setSendOrderEmail
public void setSendOrderEmail(boolean sendOrderEmail)
- Specified by:
setSendOrderEmail in interface ShoppingOrderModel
getSendShippingEmail
public boolean getSendShippingEmail()
- Specified by:
getSendShippingEmail in interface ShoppingOrderModel
isSendShippingEmail
public boolean isSendShippingEmail()
- Specified by:
isSendShippingEmail in interface ShoppingOrderModel
setSendShippingEmail
public void setSendShippingEmail(boolean sendShippingEmail)
- Specified by:
setSendShippingEmail in interface ShoppingOrderModel
toEscapedModel
public ShoppingOrder toEscapedModel()
- Specified by:
toEscapedModel in interface ShoppingOrderModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Description copied from interface:
BaseModel
- Gets the expando bridge for this model instance.
- Specified by:
getExpandoBridge in interface BaseModel<ShoppingOrder>- Specified by:
getExpandoBridge in interface ShoppingOrderModel- Overrides:
getExpandoBridge in class BaseModelImpl<ShoppingOrder>
- Returns:
- the expando bridge
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Description copied from interface:
BaseModel
- Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrder>- Specified by:
setExpandoBridgeAttributes in interface ShoppingOrderModel- Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<ShoppingOrder>
- Parameters:
serviceContext - the service context to retrieve the expando bridge
attributes from- See Also:
ServiceContext.getExpandoBridgeAttributes(
)
clone
public Object clone()
- Description copied from interface:
BaseModel
- Creates a shallow clone of this model instance.
- Specified by:
clone in interface BaseModel<ShoppingOrder>- Specified by:
clone in interface ShoppingOrderModel- Specified by:
clone in class BaseModelImpl<ShoppingOrder>
- Returns:
- the clone
compareTo
public int compareTo(ShoppingOrder shoppingOrder)
- Specified by:
compareTo in interface ShoppingOrderModel- Specified by:
compareTo in interface Comparable<ShoppingOrder>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface ShoppingOrderModel- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface ShoppingOrderModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Description copied from interface:
BaseModel
- Gets the XML representation of this model instance.
- Specified by:
toXmlString in interface BaseModel<ShoppingOrder>- Specified by:
toXmlString in interface ShoppingOrderModel
- Returns:
- the XML representation of this model instance