@Override
public Dto getByName(String kind, String name) {
final PreparedQuery pq = getFiltered(kind, "name", FilterOperator.EQUAL, name);
// TODO should still indicate that nothing has to be resolved
return copy.entityToDto(kind, pq.asSingleEntity(), false/*, false*/);
}
@Override
public ListQueryResult getAllAssignedTo(String kind, long assignedTo, int from, int to) {
final PreparedQuery pq = getFiltered(kind, "assignedTo", FilterOperator.EQUAL, KeyFactory.createKey(Employee.class.getSimpleName(), assignedTo));