public class AdminFilterMgr extends AdminBaseMgr implements AdminFilterMgrIf
AdminBaseMgr.StaticData| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex |
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminFilterMgr(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFilter(int contentId)
Delete an AdminFilter object
|
void |
deleteFiltersForCustomer(int userId)
Delete all the AdminFilter objects associated with the specified customer
|
boolean |
filterMgrPresent()
Returns true if the filter manager is present.
|
AdminFilter |
getFilter(int contentId)
Returns the filter referenced by the Id.
|
AdminFilterSearchResult |
getFilters(AdminFilterSearch inSearch,
AdminDataDescriptor dataDesc)
Returns an array of filter records matching the search criteria.
|
AdminFilter[] |
getFiltersForCustomer(int custId)
Returns an array of filter records matching the search criteria.
|
int |
insertFilter(AdminFilter content)
Insert an AdminFilter record.
|
void |
refreshConfigs()
Refresh the configuration of the Admin Base Manager
|
void |
updateFilter(AdminFilter content)
Update an AdminFilterType object
|
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, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNowprotected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
public AdminFilterMgr(KKAdminIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic AdminFilterSearchResult getFilters(AdminFilterSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminFilterMgrIfgetFilters in interface AdminFilterMgrIfinSearch - an AdminFilterSearch objectdataDesc - an AdminDataDescriptor object
The returned filters may be sorted by:
KKAdminException - an unexpected exception in the KonaKart Admin enginepublic AdminFilter[] getFiltersForCustomer(int custId) throws KKAdminException
AdminFilterMgrIfgetFiltersForCustomer in interface AdminFilterMgrIfcustId - an AdminFilterSearch objectKKAdminException - an unexpected exception in the KonaKart Admin enginepublic AdminFilter getFilter(int contentId) throws KKAdminException
AdminFilterMgrIfgetFilter in interface AdminFilterMgrIfcontentId - the id of the FilterKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void deleteFilter(int contentId)
throws KKAdminException
AdminFilterMgrIfdeleteFilter in interface AdminFilterMgrIfcontentId - the Id of the AdminFilter record to deleteKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void deleteFiltersForCustomer(int userId)
throws KKAdminException
AdminFilterMgrIfdeleteFiltersForCustomer in interface AdminFilterMgrIfuserId - the userId of the customer whose AdminFilter records to deleteKKAdminException - an unexpected exception in the KonaKart Admin enginepublic int insertFilter(AdminFilter content) throws KKAdminException
AdminFilterMgrIfinsertFilter in interface AdminFilterMgrIfcontent - the AdminFilter record to insertKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void updateFilter(AdminFilter content) throws KKAdminException
AdminFilterMgrIfupdateFilter in interface AdminFilterMgrIfcontent - an AdminFilter objectKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean filterMgrPresent()
AdminFilterMgrIffilterMgrPresent in interface AdminFilterMgrIfpublic void refreshConfigs()
throws java.lang.Exception
AdminBaseMgrrefreshConfigs in interface AdminFilterMgrIfrefreshConfigs in class AdminBaseMgrjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.