return biObject;
}
protected List<BIObject> getLinkedObject(BIObject document) throws EMFUserError {
IBIObjectDAO biObjectDAO;
SubreportDAOHibImpl subreportDAOHibImpl;
List list;
List biObjectList;
biObjectList = new ArrayList();
try {
Assert.assertNotNull(document, "Parameter [document] cannot be null");
biObjectDAO = DAOFactory.getBIObjectDAO();
subreportDAOHibImpl = new SubreportDAOHibImpl();
list = subreportDAOHibImpl.loadSubreportsByMasterRptId(document.getId());
for(int i = 0; i < list.size(); i++) {
Subreport subreport = (Subreport)list.get(i);
BIObject biobj = biObjectDAO.loadBIObjectForDetail(subreport.getSub_rpt_id());
biObjectList.add(biobj);