452453454455456457458459460461462
sr.setDateFirstSeen(date); if( eid > -1 ) { sr.getExperimentIds().add( Long.valueOf(eid)); } // Persist: long srid = srp.persistServiceRecord(sr); // Return the persisted record: return srp.findServiceRecord(srid); }