|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.bl.AdminBaseMgr
com.konakartadmin.bl.AdminReportMgr
public class AdminReportMgr
Manages Reporting for KonaKart
Nested Class Summary | |
---|---|
protected class |
AdminReportMgr.StaticData
|
Field Summary | |
---|---|
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 |
Fields inherited from class com.konakartadmin.bl.AdminBaseMgr |
---|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir |
Constructor Summary | |
---|---|
AdminReportMgr(KKAdminIf eng)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public AdminReportMgr(KKAdminIf eng) throws java.lang.Exception
eng
- KKAdmin engine
java.lang.Exception
Method Detail |
---|
public void reloadReports() throws KKAdminException
reloadReports
in interface AdminReportMgrIf
KKAdminException
public void init() throws KKAdminException
init
in interface AdminReportMgrIf
KKAdminException
protected boolean loadReports() throws java.lang.Exception
java.lang.Exception
public void sortReportList(AdminReport[] repList)
sortReportList
in interface AdminReportMgrIf
repList
- the AdminReport[] arraypublic AdminReport[] getReports() throws KKAdminException
AdminReportMgrIf
getReports
in interface AdminReportMgrIf
KKAdminException
public void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminReportMgrIf
refreshConfigs
in class AdminBaseMgr
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |