Search in sources :

Example 1 with OperatorEao

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;
}
Also used : Operator(eu.ggnet.dwoss.rights.ee.entity.Operator) OperatorEao(eu.ggnet.dwoss.rights.ee.eao.OperatorEao)

Aggregations

OperatorEao (eu.ggnet.dwoss.rights.ee.eao.OperatorEao)1 Operator (eu.ggnet.dwoss.rights.ee.entity.Operator)1