Class BasicProductReviewProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.product.BasicProductReviewProcessor
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,ProductReviewProcessor
public class BasicProductReviewProcessor
extends BaseBusinessProcessor
implements ProductReviewProcessor
Processes business logic having to do with Product Reviews. Created in the
Struts layer in response to requests for viewing, editing, adding, and
deleting reviews.
- Author:
- Tony Zakula
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductReview(Map parameters) voiddeleteProductReview(Map parameters) editDeleteProductReviews(Map parameters) editProductReview(Map parameters) loadProductReviewFromID(Map parameters) loadProductReviewsAndCount(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicProductReviewProcessor
public BasicProductReviewProcessor()
-
-
Method Details
-
addProductReview
- Specified by:
addProductReviewin interfaceProductReviewProcessor- Throws:
Exception
-
editProductReview
- Specified by:
editProductReviewin interfaceProductReviewProcessor- Throws:
Exception
-
loadProductReviewFromID
- Specified by:
loadProductReviewFromIDin interfaceProductReviewProcessor- Throws:
Exception
-
loadProductReviewsAndCount
- Specified by:
loadProductReviewsAndCountin interfaceProductReviewProcessor- Throws:
Exception
-
editDeleteProductReviews
- Specified by:
editDeleteProductReviewsin interfaceProductReviewProcessor- Throws:
Exception
-
deleteProductReview
- Specified by:
deleteProductReviewin interfaceProductReviewProcessor- Throws:
Exception
-