@SuppressWarnings("unchecked") public List<T> search(String q, Class clazz) { if (q == null || "".equals(q.trim())) { return getAll(); } return dao.search(q); }
public void reindexAll(boolean async) { dao.reindexAll(async); }
public void reindex() { dao.reindex(); }
public void remove(PK id) { dao.remove(id); }
public void remove(T object) { dao.remove(object); }
public T save(T object) { return dao.save(object); }
public boolean exists(PK id) { return dao.exists(id); }
public T get(PK id) { return dao.get(id); }
public List<T> getAll() { return dao.getAll(); }