}
@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));
return copy.entitiesToDtoArray(kind, pq.countEntities(withDefaults()), pq.asIterable(), false);
}
@Override
public ListQueryResult getAllMarked(String kind, int from, int to) {
final PreparedQuery pq = getFiltered(kind, "marked", FilterOperator.EQUAL, true);