public class AdminFilterMgrEE extends AdminFilterMgr implements AdminFilterMgrIf
| Modifier and Type | Class and Description |
|---|---|
protected class |
AdminFilterMgrEE.StaticData
Used to store the static data of this manager
|
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
adminFilterMgrEEMutex |
protected static java.util.Map<java.lang.String,AdminFilterMgrEE.StaticData> |
staticDataHM
Hash Map that contains the static data
|
log, mutexadminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminFilterMgrEE(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFilterAttributes(com.konakart.db.KKCriteria c) |
protected void |
addFilterOrderBy(com.konakart.db.KKCriteria c,
AdminDataDescriptor search) |
protected int |
addFilterSearchCriteria(com.konakart.db.KKCriteria c,
AdminFilterSearch search) |
protected int |
addSearchCriteria(com.konakart.db.KKCriteria c,
AdminDataDescriptor dataDesc) |
protected void |
checkFilter(AdminFilter filter) |
void |
deleteFilter(int id)
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 id)
Returns the AdminFilter object 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 filter)
Insert an AdminFilter record.
|
void |
refreshConfigs()
Refresh the configuration of the Admin Filter Manager
|
void |
removeCustomerFilters(int custId)
Remove the filters of the specified customer from the cache
|
void |
updateFilter(AdminFilter filter)
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 java.lang.String adminFilterMgrEEMutex
protected static java.util.Map<java.lang.String,AdminFilterMgrEE.StaticData> staticDataHM
public AdminFilterMgrEE(KKAdminIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic AdminFilter[] getFiltersForCustomer(int custId) throws KKAdminException
AdminFilterMgrIfgetFiltersForCustomer in interface AdminFilterMgrIfgetFiltersForCustomer in class AdminFilterMgrcustId - an AdminFilterSearch objectKKAdminException - an unexpected exception in the KonaKart Admin enginepublic AdminFilterSearchResult getFilters(AdminFilterSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminFilterMgrIfgetFilters in interface AdminFilterMgrIfgetFilters in class AdminFilterMgrinSearch - an AdminFilterSearch objectdataDesc - an AdminDataDescriptor object
The returned filters may be sorted by:
KKAdminException - an unexpected exception in the KonaKart Admin enginepublic AdminFilter getFilter(int id) throws KKAdminException
getFilter in interface AdminFilterMgrIfgetFilter in class AdminFilterMgrid - the idKKAdminException - unexpected exception in the KonaKart Admin Enginepublic int insertFilter(AdminFilter filter) throws KKAdminException
AdminFilterMgrIfinsertFilter in interface AdminFilterMgrIfinsertFilter in class AdminFilterMgrfilter - the AdminFilter record to insertKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void updateFilter(AdminFilter filter) throws KKAdminException
AdminFilterMgrIfupdateFilter in interface AdminFilterMgrIfupdateFilter in class AdminFilterMgrfilter - an AdminFilter objectKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void deleteFilter(int id)
throws KKAdminException
AdminFilterMgrIfdeleteFilter in interface AdminFilterMgrIfdeleteFilter in class AdminFilterMgrid - 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 AdminFilterMgrIfdeleteFiltersForCustomer in class AdminFilterMgruserId - the userId of the customer whose AdminFilter records to deleteKKAdminException - an unexpected exception in the KonaKart Admin engineprotected void addFilterAttributes(com.konakart.db.KKCriteria c)
protected int addSearchCriteria(com.konakart.db.KKCriteria c,
AdminDataDescriptor dataDesc)
protected int addFilterSearchCriteria(com.konakart.db.KKCriteria c,
AdminFilterSearch search)
throws KKAdminException
KKAdminExceptionprotected void addFilterOrderBy(com.konakart.db.KKCriteria c,
AdminDataDescriptor search)
protected void checkFilter(AdminFilter filter) throws KKAdminException
KKAdminExceptionpublic void refreshConfigs()
throws java.lang.Exception
refreshConfigs in interface AdminFilterMgrIfrefreshConfigs in class AdminFilterMgrjava.lang.Exception - an unexpected exceptionpublic void removeCustomerFilters(int custId)
throws KKAdminException
custId - the custIdKKAdminException - unexpected exception in the KonaKart Admin Enginepublic boolean filterMgrPresent()
AdminFilterMgrIffilterMgrPresent in interface AdminFilterMgrIffilterMgrPresent in class AdminFilterMgrCopyright © 2018 DS Data Systems UK Ltd.