public class ReviewMgrEE extends ReviewMgr implements ReviewMgrIf
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Log
|
PRODUCT_REVIEW, VENDOR_REVIEW
templateBaseDir
Constructor and Description |
---|
ReviewMgrEE(KKEngIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Reviews |
getReviewsPerVendor(DataDescriptorIf dataDesc,
int vendorId)
Returns an array of reviews for the given vendorId
|
Review |
getVendorReview(int reviewId)
Returns a vendor review for the given reviewId
|
Reviews |
getVendorReviews(DataDescriptorIf dataDescIn,
ReviewSearchIf searchIn)
Returns an array of Reviews (within a Reviews object) that match the specified search
criteria in the ReviewSearch object.
|
escapeReview, getAllReviews, getCount, getCriteria, getReview, getReviews, getReviews, getReviewsPerProduct, manageDataDescriptor, writeReview
acquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
escapeReview, getAllReviews, getReview, getReviews, getReviewsPerProduct, writeReview
public ReviewMgrEE(KKEngIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic Reviews getVendorReviews(DataDescriptorIf dataDescIn, ReviewSearchIf searchIn) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, com.konakart.app.KKException
ReviewMgrIf
The ReviewSearch object also allows you to specify that the return data contains:
dataDesc
controls the following functionality:
getVendorReviews
in interface ReviewMgrIf
getVendorReviews
in class ReviewMgr
dataDescIn
- the dataDescInsearchIn
- the searchInorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)com.konakart.app.KKException
- an unexpected KKException exceptionpublic Review getVendorReview(int reviewId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, com.konakart.app.KKException
getVendorReview
in interface ReviewMgrIf
getVendorReview
in class ReviewMgr
reviewId
- the reviewIdorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)com.konakart.app.KKException
- an unexpected KKException exceptionpublic Reviews getReviewsPerVendor(DataDescriptorIf dataDesc, int vendorId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, com.konakart.app.KKException
getReviewsPerVendor
in interface ReviewMgrIf
getReviewsPerVendor
in class ReviewMgr
dataDesc
- the dataDescvendorId
- the vendorIdorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)com.konakart.app.KKException
- an unexpected KKException exceptionCopyright © 2018 DS Data Systems UK Ltd.