/kickup/trunk/src/ak/kickup/core/model/ParticipantManager.java |
---|
63,6 → 63,25 |
} |
} |
public Participant findForIdent(String ident) |
throws ModelException |
{ |
try { |
List list = HibernateUtil.currentSession().find( |
"from Participant where ident = ?", |
ident, Hibernate.STRING ); |
if(list.size() == 0) |
return null; |
else |
return (Participant)list.get(0); |
} |
catch(HibernateException ex) |
{ |
throw new ModelException(ex); |
} |
} |
public String generateIdent() |
throws ModelException |
{ |