public Vector<AttachmentDetail> getAttachmentsByWorkerId(String workerId) throws AttachmentException { Connection con = getConnection(); try { return dao.findByWorkerId(con, workerId); } catch (SQLException se) { throw new AttachmentException( "AttachmentBmImpl.getAttachmentsByWorkerId()", SilverpeasException.ERROR, "attachment.EX_RECORD_NOT_LOAD", se); } finally { closeConnection(con); } }