Package com.rometools.modules.base
Interface Review
-
- All Superinterfaces:
GlobalInterface,Serializable
- All Known Subinterfaces:
GoogleBase
- All Known Implementing Classes:
GoogleBaseImpl
public interface Review extends GlobalInterface
This is an interface for the GoogleBase plug in that exposes methods used for critical reviews of other things.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getAuthors()Author of the item.StringgetDeliveryNotes()Additional instructions to explain the item’s delivery process.FloatUnitgetDeliveryRadius()The maximum distance you will deliver an item in any direction.StringgetNameOfItemBeingReviewed()The name of an item being reviewed.DategetPublishDate()Date the item was published.FloatgetRating()Rating of the product or service on a scale of 1-5, with 5 as the best.StringgetReviewerType()The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).StringgetReviewType()The category of the item being reviewed.URLgetUrlOfItemBeingReviewed()The web page of an item being reviewed.voidsetAuthors(String[] authors)Author of the item.voidsetDeliveryNotes(String deliveryNotes)Additional instructions to explain the item’s delivery process.voidsetDeliveryRadius(FloatUnit deliveryRadius)The maximum distance you will deliver an item in any direction.voidsetNameOfItemBeingReviewed(String nameOfItemBeingReviewed)The name of an item being reviewed.voidsetPublishDate(Date publishDate)Date the item was published.voidsetRating(Float rating)Rating of the product or service on a scale of 1-5, with 5 as the best.voidsetReviewerType(String reviewerType)The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).voidsetReviewType(String reviewType)The category of the item being reviewed.voidsetUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed)The web page of an item being reviewed.-
Methods inherited from interface com.rometools.modules.base.GlobalInterface
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
-
-
-
-
Method Detail
-
setAuthors
void setAuthors(String[] authors)
Author of the item.author Details Author of the item. Example <g:author>John Steinbeck</g:author> Attribute of Reference Items, News and Articles Content type string - Parameters:
authors- Author of the item.
-
getAuthors
String[] getAuthors()
Author of the item.author Details Author of the item. Example <g:author>John Steinbeck</g:author> Attribute of Reference Items, News and Articles Content type string - Returns:
- Author of the item.
-
setDeliveryNotes
void setDeliveryNotes(String deliveryNotes)
Additional instructions to explain the item’s delivery process.- Parameters:
deliveryNotes- Additional instructions to explain the item’s delivery process.
-
getDeliveryNotes
String getDeliveryNotes()
Additional instructions to explain the item’s delivery process.- Returns:
- Additional instructions to explain the item’s delivery process.
-
setDeliveryRadius
void setDeliveryRadius(FloatUnit deliveryRadius)
The maximum distance you will deliver an item in any direction.- Parameters:
deliveryRadius- The maximum distance you will deliver an item in any direction.
-
getDeliveryRadius
FloatUnit getDeliveryRadius()
The maximum distance you will deliver an item in any direction.- Returns:
- The maximum distance you will deliver an item in any direction.
-
setNameOfItemBeingReviewed
void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed)
The name of an item being reviewed.- Parameters:
nameOfItemBeingReviewed- The name of an item being reviewed.
-
getNameOfItemBeingReviewed
String getNameOfItemBeingReviewed()
The name of an item being reviewed.- Returns:
- The name of an item being reviewed.
-
setPublishDate
void setPublishDate(Date publishDate)
Date the item was published.publish_date Details Date the item was published in ISO 8601 format: YYYY-MM-DD Example <g:publish_date>2005-12-20</g:publish_date> Attribute of Reference Items Content type date - Parameters:
publishDate- Date the item was published.
-
getPublishDate
Date getPublishDate()
Date the item was published.publish_date Details Date the item was published in ISO 8601 format: YYYY-MM-DD Example <g:publish_date>2005-12-20</g:publish_date> Attribute of Reference Items Content type date - Returns:
- Date the item was published.
-
setRating
void setRating(Float rating)
Rating of the product or service on a scale of 1-5, with 5 as the best.- Parameters:
rating- Rating of the product or service on a scale of 1-5, with 5 as the best.
-
getRating
Float getRating()
Rating of the product or service on a scale of 1-5, with 5 as the best.- Returns:
- Rating of the product or service on a scale of 1-5, with 5 as the best.
-
setReviewType
void setReviewType(String reviewType)
The category of the item being reviewed.- Parameters:
reviewType- The category of the item being reviewed.
-
getReviewType
String getReviewType()
The category of the item being reviewed.- Returns:
- The category of the item being reviewed.
-
setReviewerType
void setReviewerType(String reviewerType)
The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).- Parameters:
reviewerType- The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).
-
getReviewerType
String getReviewerType()
The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).- Returns:
- The type of rating being provided: editorial (a review written by a member of your staff) or “user” ( a review written by a user of your site).
-
setUrlOfItemBeingReviewed
void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed)
The web page of an item being reviewed.- Parameters:
urlOfItemBeingReviewed- The web page of an item being reviewed.
-
getUrlOfItemBeingReviewed
URL getUrlOfItemBeingReviewed()
The web page of an item being reviewed.- Returns:
- The web page of an item being reviewed.
-
-