|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminReview
public class AdminReview
A review object for the Admin App
Field Summary | |
---|---|
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 |
Constructor Summary | |
---|---|
AdminReview()
Constructor |
|
AdminReview(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Review object from a Record object |
Method Summary | |
---|---|
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 store-front application com.konakartadmin.bl.KonakartAdminConstants.REVIEW_INVISIBLE = The review cannot be seen by customers in the store-front application. |
int |
getTimesRead()
|
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 store-front application com.konakartadmin.bl.KonakartAdminConstants.REVIEW_INVISIBLE = The review cannot be seen by customers in the store-front application. |
void |
setTimesRead(int timesRead)
|
java.lang.String |
toString()
|
java.lang.String |
toStringBrief()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 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
Constructor Detail |
---|
public AdminReview()
public AdminReview(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column names
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
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()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |