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, mutex
adminEng, 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, updateStaticVariablesNow
protected 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
AdminFilterMgrIf
getFiltersForCustomer
in interface AdminFilterMgrIf
getFiltersForCustomer
in class AdminFilterMgr
custId
- an AdminFilterSearch objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic AdminFilterSearchResult getFilters(AdminFilterSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminFilterMgrIf
getFilters
in interface AdminFilterMgrIf
getFilters
in class AdminFilterMgr
inSearch
- 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 AdminFilterMgrIf
getFilter
in class AdminFilterMgr
id
- the idKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic int insertFilter(AdminFilter filter) throws KKAdminException
AdminFilterMgrIf
insertFilter
in interface AdminFilterMgrIf
insertFilter
in class AdminFilterMgr
filter
- the AdminFilter record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void updateFilter(AdminFilter filter) throws KKAdminException
AdminFilterMgrIf
updateFilter
in interface AdminFilterMgrIf
updateFilter
in class AdminFilterMgr
filter
- an AdminFilter objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteFilter(int id) throws KKAdminException
AdminFilterMgrIf
deleteFilter
in interface AdminFilterMgrIf
deleteFilter
in class AdminFilterMgr
id
- the Id of the AdminFilter record to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteFiltersForCustomer(int userId) throws KKAdminException
AdminFilterMgrIf
deleteFiltersForCustomer
in interface AdminFilterMgrIf
deleteFiltersForCustomer
in class AdminFilterMgr
userId
- 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
KKAdminException
protected void addFilterOrderBy(com.konakart.db.KKCriteria c, AdminDataDescriptor search)
protected void checkFilter(AdminFilter filter) throws KKAdminException
KKAdminException
public void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminFilterMgrIf
refreshConfigs
in class AdminFilterMgr
java.lang.Exception
- an unexpected exceptionpublic void removeCustomerFilters(int custId) throws KKAdminException
custId
- the custIdKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic boolean filterMgrPresent()
AdminFilterMgrIf
filterMgrPresent
in interface AdminFilterMgrIf
filterMgrPresent
in class AdminFilterMgr
Copyright © 2018 DS Data Systems UK Ltd.