use of eu.ggnet.dwoss.rights.ee.eao.OperatorEao in project dwoss by gg-net.
the class RightsAgentBean method findOperatorByUsername.
/**
* Search a Operator by the Username and fetch it eager.
* <p>
* @param username
* @return
*/
@Override
public Operator findOperatorByUsername(String username) {
Operator singleResult = new OperatorEao(em).findByUsername(username);
singleResult.fetchEager();
return singleResult;
}
Aggregations