public class WishList extends java.lang.Object implements WishListIf
| Constructor and Description |
|---|
WishList()
Constructor
|
WishList(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the WishList object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
AddressIf |
getAddress()
Shipping address object to be used for shipping list items
|
int |
getAddressId()
Shipping address id to be used for shipping list items
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustomer1FirstName()
First name of 2nd wish list customer.
|
java.lang.String |
getCustomer1LastName()
Last name of 2nd wish list customer.
|
java.util.Calendar |
getCustomerBirthDate()
Birth date of wish list customer
|
java.lang.String |
getCustomerCity()
City of wish list customer
|
java.lang.String |
getCustomerFirstName()
First name of wish list customer
|
int |
getCustomerId() |
java.lang.String |
getCustomerLastName()
Last name of wish list customer
|
java.lang.String |
getCustomerState()
State of wish list customer
|
java.util.Calendar |
getDateAdded() |
java.lang.String |
getDescription()
Description for the wish list
|
java.util.Calendar |
getEventDate()
Date of the event
|
java.math.BigDecimal |
getFinalPriceExTax() |
java.math.BigDecimal |
getFinalPriceIncTax() |
int |
getId() |
java.lang.String |
getLinkUrl()
URL that points to a page containing event details
|
int |
getListType()
Type of list.
|
java.lang.String |
getName()
Name of the wish list
|
WishListItemIf[] |
getWishListItems()
An array of WishListItem objects belonging to this wish list.
|
boolean |
isPublicWishList()
If set, the wish list is public.
|
void |
setAddress(AddressIf address)
Shipping address object to be used for shipping list items
|
void |
setAddressId(int addressId)
Shipping address id to be used for shipping list items
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomer1FirstName(java.lang.String customer1FirstName)
First name of 2nd wish list customer.
|
void |
setCustomer1LastName(java.lang.String customer1LastName)
Last name of 2nd wish list customer.
|
void |
setCustomerBirthDate(java.util.Calendar customerBirthDate)
Birth date of wish list customer
|
void |
setCustomerCity(java.lang.String customerCity)
City of wish list customer
|
void |
setCustomerFirstName(java.lang.String customerFirstName)
First name of wish list customer
|
void |
setCustomerId(int customerId) |
void |
setCustomerLastName(java.lang.String customerLastName)
Last name of wish list customer
|
void |
setCustomerState(java.lang.String customerState)
State of wish list customer
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDescription(java.lang.String description)
Description for the wish list
|
void |
setEventDate(java.util.Calendar eventDate)
Date of the event
|
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax) |
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax) |
void |
setFinalPrices()
Sets the final price attributes by adding up the prices of all of the items.
|
void |
setId(int id) |
void |
setLinkUrl(java.lang.String linkUrl)
URL that points to a page containing event details
|
void |
setListType(int listType)
Type of list.
|
void |
setName(java.lang.String name)
Name of the wish list
|
void |
setPublicWishList(boolean publicWishList)
If set, the wish list is public.
|
void |
setWishListItems(WishListItemIf[] wishListItems)
An array of WishListItem objects belonging to this wish list.
|
java.lang.String |
toString() |
public WishList()
public WishList(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic void setFinalPrices()
throws com.konakart.app.KKException
KKException - an unexpected KKException exceptionpublic int getId()
getId in interface WishListIfpublic void setId(int id)
setId in interface WishListIfid - The id to set.public WishListItemIf[] getWishListItems()
WishListIfgetWishListItems in interface WishListIfpublic void setWishListItems(WishListItemIf[] wishListItems)
WishListIfsetWishListItems in interface WishListIfwishListItems - The wishListItems to set.public java.lang.String getName()
WishListIfgetName in interface WishListIfpublic void setName(java.lang.String name)
WishListIfsetName in interface WishListIfname - The name to set.public java.lang.String getDescription()
WishListIfgetDescription in interface WishListIfpublic void setDescription(java.lang.String description)
WishListIfsetDescription in interface WishListIfdescription - The description to set.public java.math.BigDecimal getFinalPriceIncTax()
getFinalPriceIncTax in interface WishListIfpublic void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
setFinalPriceIncTax in interface WishListIffinalPriceIncTax - The finalPriceIncTax to set.public java.math.BigDecimal getFinalPriceExTax()
getFinalPriceExTax in interface WishListIfpublic void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
setFinalPriceExTax in interface WishListIffinalPriceExTax - The finalPriceExTax to set.public java.util.Calendar getDateAdded()
getDateAdded in interface WishListIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface WishListIfdateAdded - The dateAdded to set.public java.lang.String getCustom1()
getCustom1 in interface WishListIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface WishListIfcustom1 - The custom1 to set.public java.lang.String getCustom2()
getCustom2 in interface WishListIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface WishListIfcustom2 - The custom2 to set.public java.lang.String getCustom3()
getCustom3 in interface WishListIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface WishListIfcustom3 - The custom3 to set.public java.lang.String getCustom4()
getCustom4 in interface WishListIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface WishListIfcustom4 - The custom4 to set.public java.lang.String getCustom5()
getCustom5 in interface WishListIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface WishListIfcustom5 - The custom5 to set.public int getCustomerId()
getCustomerId in interface WishListIfpublic void setCustomerId(int customerId)
setCustomerId in interface WishListIfcustomerId - The customerId to set.public boolean isPublicWishList()
WishListIfisPublicWishList in interface WishListIfpublic void setPublicWishList(boolean publicWishList)
WishListIfsetPublicWishList in interface WishListIfpublicWishList - The publicWishList to set.public java.lang.String getCustomerFirstName()
WishListIfgetCustomerFirstName in interface WishListIfpublic void setCustomerFirstName(java.lang.String customerFirstName)
WishListIfsetCustomerFirstName in interface WishListIfcustomerFirstName - The customerFirstName to set.public java.lang.String getCustomerLastName()
WishListIfgetCustomerLastName in interface WishListIfpublic void setCustomerLastName(java.lang.String customerLastName)
WishListIfsetCustomerLastName in interface WishListIfcustomerLastName - The customerLastName to set.public java.lang.String getCustomerCity()
WishListIfgetCustomerCity in interface WishListIfpublic void setCustomerCity(java.lang.String customerCity)
WishListIfsetCustomerCity in interface WishListIfcustomerCity - The customerCity to set.public java.util.Calendar getCustomerBirthDate()
WishListIfgetCustomerBirthDate in interface WishListIfpublic void setCustomerBirthDate(java.util.Calendar customerBirthDate)
WishListIfsetCustomerBirthDate in interface WishListIfcustomerBirthDate - The customerBirthDate to set.public java.lang.String getCustomerState()
WishListIfgetCustomerState in interface WishListIfpublic void setCustomerState(java.lang.String customerState)
WishListIfsetCustomerState in interface WishListIfcustomerState - The customerState to set.public java.lang.String getCustomer1FirstName()
WishListIfgetCustomer1FirstName in interface WishListIfpublic void setCustomer1FirstName(java.lang.String customer1FirstName)
WishListIfsetCustomer1FirstName in interface WishListIfcustomer1FirstName - the customer1FirstName to setpublic java.lang.String getCustomer1LastName()
WishListIfgetCustomer1LastName in interface WishListIfpublic void setCustomer1LastName(java.lang.String customer1LastName)
WishListIfsetCustomer1LastName in interface WishListIfcustomer1LastName - the customer1LastName to setpublic java.lang.String getLinkUrl()
WishListIfgetLinkUrl in interface WishListIfpublic void setLinkUrl(java.lang.String linkUrl)
WishListIfsetLinkUrl in interface WishListIflinkUrl - the linkUrl to setpublic int getListType()
WishListIfgetListType in interface WishListIfpublic void setListType(int listType)
WishListIfsetListType in interface WishListIflistType - the listType to setpublic int getAddressId()
WishListIfgetAddressId in interface WishListIfpublic void setAddressId(int addressId)
WishListIfsetAddressId in interface WishListIfaddressId - the addressId to setpublic java.util.Calendar getEventDate()
WishListIfgetEventDate in interface WishListIfpublic void setEventDate(java.util.Calendar eventDate)
WishListIfsetEventDate in interface WishListIfeventDate - the eventDate to setpublic AddressIf getAddress()
WishListIfgetAddress in interface WishListIfpublic void setAddress(AddressIf address)
WishListIfsetAddress in interface WishListIfaddress - the address to setCopyright © 2018 DS Data Systems UK Ltd.