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, updateStaticVariablesNow
protected 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
AdminFilterMgrIf
getFilters
in interface AdminFilterMgrIf
inSearch
- 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
AdminFilterMgrIf
getFiltersForCustomer
in interface AdminFilterMgrIf
custId
- an AdminFilterSearch objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic AdminFilter getFilter(int contentId) throws KKAdminException
AdminFilterMgrIf
getFilter
in interface AdminFilterMgrIf
contentId
- the id of the FilterKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteFilter(int contentId) throws KKAdminException
AdminFilterMgrIf
deleteFilter
in interface AdminFilterMgrIf
contentId
- 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
userId
- the userId of the customer whose AdminFilter records to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic int insertFilter(AdminFilter content) throws KKAdminException
AdminFilterMgrIf
insertFilter
in interface AdminFilterMgrIf
content
- the AdminFilter record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void updateFilter(AdminFilter content) throws KKAdminException
AdminFilterMgrIf
updateFilter
in interface AdminFilterMgrIf
content
- an AdminFilter objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic boolean filterMgrPresent()
AdminFilterMgrIf
filterMgrPresent
in interface AdminFilterMgrIf
public void refreshConfigs() throws java.lang.Exception
AdminBaseMgr
refreshConfigs
in interface AdminFilterMgrIf
refreshConfigs
in class AdminBaseMgr
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.