public class AdminReview
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.math.BigDecimal |
averageRating
averageRating
|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.lang.String |
custom3
custom field
|
private int |
customerId
customerId
|
private java.lang.String |
customerName
customerName
|
private java.util.Date |
dateAdded
dateAdded
|
private java.util.Date |
dateLastModified
dateLastModified
|
private int |
id
id
|
private int |
languageId
languageId
|
private java.lang.String |
languageName
languageName
|
private AdminProduct |
product
product
|
private int |
productId
productId
|
private int |
rating
rating
|
private java.lang.String |
reviewText
reviewText
|
private int |
status
Status.
|
private int |
timesRead
timesRead
|
private int |
vendorId
vendorId
|
Constructor and Description |
---|
AdminReview()
Constructor
|
AdminReview(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Review object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAverageRating() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.lang.String |
getCustomerName() |
java.util.Date |
getDateAdded() |
java.util.Date |
getDateLastModified() |
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getLanguageName() |
AdminProduct |
getProduct() |
int |
getProductId() |
int |
getRating() |
java.lang.String |
getReviewText() |
int |
getStatus()
It can take the following values:
com.konakartadmin.bl.KonakartAdminConstants.REVIEW_VISIBLE = The review can be seen by
customers in the storefront application
com.konakartadmin.bl.KonakartAdminConstants.REVIEW_INVISIBLE = The review cannot be seen
by customers in the storefront application.
|
int |
getTimesRead() |
int |
getVendorId() |
void |
setAverageRating(java.math.BigDecimal averageRating) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustomerId(int customerId) |
void |
setCustomerName(java.lang.String customerName) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setDateLastModified(java.util.Date dateLastModified) |
void |
setId(int id) |
void |
setLanguageId(int languageId) |
void |
setLanguageName(java.lang.String languageName) |
void |
setProduct(AdminProduct product) |
void |
setProductId(int productId) |
void |
setRating(int rating) |
void |
setReviewText(java.lang.String reviewText) |
void |
setStatus(int status)
It can take the following values:
com.konakartadmin.bl.KonakartAdminConstants.REVIEW_VISIBLE = The review can be seen by
customers in the storefront application
com.konakartadmin.bl.KonakartAdminConstants.REVIEW_INVISIBLE = The review cannot be seen
by customers in the storefront application.
|
void |
setTimesRead(int timesRead) |
void |
setVendorId(int vendorId) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private java.lang.String customerName
private int rating
private java.math.BigDecimal averageRating
private java.util.Date dateAdded
private java.util.Date dateLastModified
private int timesRead
private java.lang.String reviewText
private int customerId
private int productId
private int vendorId
private int status
private AdminProduct product
private java.lang.String languageName
private int languageId
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
public AdminReview()
public AdminReview(com.workingdogs.village.Record vr, com.konakart.db.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.Object
public java.lang.String toStringBrief()
public int getCustomerId()
public void setCustomerId(int customerId)
customerId
- The customerId to set.public java.lang.String getCustomerName()
public void setCustomerName(java.lang.String customerName)
customerName
- The customerName to set.public int getId()
public void setId(int id)
id
- The id to set.public int getLanguageId()
public void setLanguageId(int languageId)
languageId
- The languageId to set.public java.lang.String getLanguageName()
public void setLanguageName(java.lang.String languageName)
languageName
- The languageName to set.public int getProductId()
public void setProductId(int productId)
productId
- The productId to set.public int getRating()
public void setRating(int rating)
rating
- The rating to set.public java.math.BigDecimal getAverageRating()
public void setAverageRating(java.math.BigDecimal averageRating)
averageRating
- The averageRating to set.public java.lang.String getReviewText()
public void setReviewText(java.lang.String reviewText)
reviewText
- The reviewText to set.public int getTimesRead()
public void setTimesRead(int timesRead)
timesRead
- The timesRead to set.public java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- The dateAdded to set.public AdminProduct getProduct()
public void setProduct(AdminProduct product)
product
- The product to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public int getStatus()
public void setStatus(int status)
status
- the status to setpublic java.util.Date getDateLastModified()
public void setDateLastModified(java.util.Date dateLastModified)
dateLastModified
- the dateLastModified to setpublic int getVendorId()
public void setVendorId(int vendorId)
vendorId
- the vendorId to setCopyright © 2018 DS Data Systems UK Ltd.