/**
* Add subreport informations
*/
private Map addBISubreports(BIObject reportBObject, Map pars) {
ISubreportDAO subreportDAO;
IBIObjectDAO bobjectDAO;
IObjTemplateDAO templateDAO;
List<Subreport> subreports;
Subreport subreport;
BIObject subreportBObject;
ObjTemplate subreportTemplate;
String prefixName;
String tempName;
String flgTemplateStandard;
Integer id;
try {
subreportDAO = DAOFactory.getSubreportDAO();
bobjectDAO = DAOFactory.getBIObjectDAO();
templateDAO = DAOFactory.getObjTemplateDAO();
subreports = subreportDAO.loadSubreportsByMasterRptId( reportBObject.getId() );
for (int i = 0; i < subreports.size(); i++) {
subreport = subreports.get(i);
subreportBObject = bobjectDAO.loadBIObjectForDetail(subreport.getSub_rpt_id());
subreportTemplate = templateDAO.getBIObjectActiveTemplate(subreportBObject.getId());