sbiMap.setName(map.getName());
sbiMap.setDescr(map.getDescr());
sbiMap.setFormat(map.getFormat());
sbiMap.setUrl(map.getUrl());
IBinContentDAO binContentDAO=DAOFactory.getBinContentDAO();
byte[] binContentsContent=binContentDAO.getBinContent(map.getBinId());
if(binContentsContent!=null){
Integer contentId=map.getBinId();
SbiBinContents sbiBinContents=new SbiBinContents();
sbiBinContents.setId(contentId);
sbiBinContents.setContent(binContentsContent);