public class AdminReportMgr extends AdminBaseMgr implements AdminReportMgrIf
Modifier and Type | Class and Description |
---|---|
protected class |
AdminReportMgr.StaticData |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_REPORTS_DEFN_PATH
Default REPORTS_DEFN_PATH value in case the configuration key isn't found
|
protected static java.lang.String |
DEFAULT_REPORTS_EXTENSION
Default REPORTS_URL in case the configuration key isn't found
|
protected static java.lang.String |
DEFAULT_REPORTS_URL
Default REPORTS_URL in case the configuration key isn't found
|
protected static org.apache.commons.logging.Log |
log |
protected static java.lang.String |
mutex |
protected static java.lang.String |
START_OF_TITLE_STRING
This is used to pick out the name of the report
|
protected static java.util.Map<java.lang.String,AdminReportMgr.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 |
---|
AdminReportMgr(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AdminReport[] |
getReports()
Get an array of reports
|
void |
init()
Initialise the Report Manager
|
protected boolean |
loadReports()
Load up the reports from the reports directory
|
void |
refreshConfigs()
Retrieve some commonly-used properties
|
void |
reloadReports()
Reload the reports
|
void |
sortReportList(AdminReport[] repList)
Sort the AdminReport[] array
|
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 final java.lang.String DEFAULT_REPORTS_DEFN_PATH
protected static final java.lang.String DEFAULT_REPORTS_URL
protected static final java.lang.String DEFAULT_REPORTS_EXTENSION
protected static final java.lang.String START_OF_TITLE_STRING
protected static java.lang.String mutex
protected static java.util.Map<java.lang.String,AdminReportMgr.StaticData> staticDataHM
public AdminReportMgr(KKAdminIf eng) throws java.lang.Exception
eng
- KKAdmin enginejava.lang.Exception
- an unexpected exceptionpublic void reloadReports() throws KKAdminException
reloadReports
in interface AdminReportMgrIf
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void init() throws KKAdminException
init
in interface AdminReportMgrIf
KKAdminException
- unexpected exception in the KonaKart Admin Engineprotected boolean loadReports() throws java.lang.Exception
java.lang.Exception
- an unexpected Exception exceptionpublic void sortReportList(AdminReport[] repList)
sortReportList
in interface AdminReportMgrIf
repList
- the AdminReport[] arraypublic AdminReport[] getReports() throws KKAdminException
AdminReportMgrIf
getReports
in interface AdminReportMgrIf
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminReportMgrIf
refreshConfigs
in class AdminBaseMgr
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.