public class AdminAuditMgr extends AdminBaseMgr implements AdminAuditMgrIf
| Modifier and Type | Class and Description |
|---|---|
protected class |
AdminAuditMgr.StaticData
Used to store the static data of this manager
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex |
protected static java.util.Map<java.lang.String,AdminAuditMgr.StaticData> |
staticDataHM
Hash Map that contains the static data
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminAuditMgr(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAuditData(AdminAuditSearch delSearch)
Delete a AdminAudit Objects based on search criteria
|
protected int |
getAuditCount(com.konakart.db.KKCriteria c)
This method is mainly used for paging.
|
AdminAuditSearchResult |
getAuditData(AdminAuditSearch retSearch,
int offset,
int size)
Returns audit data specified by the AdminAuditSearch object
|
int |
importAudit(AdminAudit audit)
Imports an audit object.
|
int |
insertAudit(AdminAudit audit)
Inserts an audit object if auditing is enabled for the action type of the audit object (i.e.
|
boolean |
isDeleteAudit()
Returns true if delete audit is enabled
|
boolean |
isDetailedDeleteAudit()
Returns true if detailed delete audit is enabled
|
boolean |
isDetailedEditAudit()
Returns true if detailed edit audit is enabled
|
boolean |
isDetailedInsertAudit()
eturns true if detailed insert audit is enabled
|
boolean |
isDetailedReadAudit() |
boolean |
isEditAudit()
Returns true if edit audit is enabled
|
boolean |
isInsertAudit()
Returns true if insert audit is enabled
|
boolean |
isReadAudit()
Returns true if read audit is enabled
|
void |
refreshConfigs()
Refresh the configuration of the Admin Currency Manager
|
private java.lang.String |
truncateObjectToStringForDB(java.lang.String str) |
void |
updateAuditModes()
Read the config variables and update the modes
|
protected void |
validateAudit(AdminAudit audit)
Used to validate an AdminAudit object before editing or inserting
|
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
protected static java.util.Map<java.lang.String,AdminAuditMgr.StaticData> staticDataHM
public AdminAuditMgr(KKAdminIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic void updateAuditModes()
throws java.lang.Exception
updateAuditModes in interface AdminAuditMgrIfjava.lang.Exception - an unexpected exceptionpublic int insertAudit(AdminAudit audit) throws KKAdminException
insertAudit in interface AdminAuditMgrIfaudit - the auditKKAdminException - an unexpected exception in the KonaKart Admin enginepublic int importAudit(AdminAudit audit) throws KKAdminException
importAudit in interface AdminAuditMgrIfaudit - the auditKKAdminException - an unexpected exception in the KonaKart Admin engineprivate java.lang.String truncateObjectToStringForDB(java.lang.String str)
protected void validateAudit(AdminAudit audit) throws KKAdminException
audit - and AdminAudit objectKKAdminException - an unexpected exception in the KonaKart Admin enginepublic AdminAuditSearchResult getAuditData(AdminAuditSearch retSearch, int offset, int size) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
AdminAuditMgrIfgetAuditData in interface AdminAuditMgrIfretSearch - the retSearchoffset - the offsetsize - the sizeKKAdminException - an unexpected exception in the KonaKart Admin engineorg.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)protected int getAuditCount(com.konakart.db.KKCriteria c)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
c - the corg.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)public void deleteAuditData(AdminAuditSearch delSearch) throws KKAdminException, org.apache.torque.TorqueException
deleteAuditData in interface AdminAuditMgrIfdelSearch - the delSearchKKAdminException - an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)public boolean isReadAudit()
throws KKAdminException
AdminAuditMgrIfisReadAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isDetailedReadAudit()
throws KKAdminException
isDetailedReadAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isEditAudit()
throws KKAdminException
AdminAuditMgrIfisEditAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isDetailedEditAudit()
throws KKAdminException
AdminAuditMgrIfisDetailedEditAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isInsertAudit()
throws KKAdminException
AdminAuditMgrIfisInsertAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isDetailedInsertAudit()
throws KKAdminException
AdminAuditMgrIfisDetailedInsertAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isDeleteAudit()
throws KKAdminException
AdminAuditMgrIfisDeleteAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic boolean isDetailedDeleteAudit()
throws KKAdminException
AdminAuditMgrIfisDetailedDeleteAudit in interface AdminAuditMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void refreshConfigs()
throws java.lang.Exception
refreshConfigs in interface AdminAuditMgrIfrefreshConfigs in class AdminBaseMgrjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.