public class AdminReviewMgrEE extends AdminReviewMgr implements AdminReviewMgrIf
AdminBaseMgr.StaticData
PRODUCT_REVIEW, VENDOR_REVIEW
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminReviewMgrEE(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
deleteReviewsPerVendor(int vendorId,
java.sql.Connection connection)
Delete the reviews for the vendor identified by the vendorId.
|
void |
deleteVendorReview(int reviewId)
Delete the review referenced to by reviewId.
|
void |
deleteVendorReviewsPerCustomer(int customerId)
Delete all the vendor reviews written by a customer.
|
AdminReviews |
getReviewsPerVendor(AdminDataDescriptor dataDesc,
int vendorId)
Returns an array of reviews for the given vendorId
|
AdminReview |
getVendorReview(int reviewId)
Returns a vendor review for the given reviewId
|
AdminReviews |
getVendorReviews(AdminDataDescriptor dataDesc,
AdminReviewSearch revSearch)
Returns an array of reviews for the given search criteria.
|
deleteReview, deleteReview, deleteReviewsPerCustomer, deleteReviewsPerCustomer, deleteReviewsPerProduct, deleteReviewsPerProducts, editReview, getAllReviews, getCount, getCriteria, getLightReview, getReview, getReview, getReviews, getReviews, getReviewsPerProduct, insertReview, manageDataDescriptor, setCriteriaWithStandardAttributes, validateReview
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, refreshConfigs, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteReview, deleteReviewsPerCustomer, deleteReviewsPerProduct, deleteReviewsPerProducts, editReview, getAllReviews, getReview, getReviews, getReviewsPerProduct, insertReview
public AdminReviewMgrEE(KKAdminIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic AdminReviews getReviewsPerVendor(AdminDataDescriptor dataDesc, int vendorId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
getReviewsPerVendor
in interface AdminReviewMgrIf
getReviewsPerVendor
in class AdminReviewMgr
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)KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminReviews getVendorReviews(AdminDataDescriptor dataDesc, AdminReviewSearch revSearch) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
getVendorReviews
in interface AdminReviewMgrIf
getVendorReviews
in class AdminReviewMgr
dataDesc
- the dataDescrevSearch
- the revSearchorg.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)KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminReview getVendorReview(int reviewId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
getVendorReview
in interface AdminReviewMgrIf
getVendorReview
in class AdminReviewMgr
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)KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void deleteVendorReview(int reviewId) throws java.lang.Exception
deleteVendorReview
in interface AdminReviewMgrIf
deleteVendorReview
in class AdminReviewMgr
reviewId
- the reviewIdjava.lang.Exception
- an unexpected exceptionpublic void deleteReviewsPerVendor(int vendorId, java.sql.Connection connection) throws java.lang.Exception
deleteReviewsPerVendor
in interface AdminReviewMgrIf
deleteReviewsPerVendor
in class AdminReviewMgr
vendorId
- the vendorIdconnection
- the connectionjava.lang.Exception
- an unexpected exceptionpublic void deleteVendorReviewsPerCustomer(int customerId) throws java.lang.Exception
deleteVendorReviewsPerCustomer
in interface AdminReviewMgrIf
deleteVendorReviewsPerCustomer
in class AdminReviewMgr
customerId
- the id of the customer that wrote the reviewsjava.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.