I am working with Repository Pattern and I am writing one interface to use the methods CRUD, but i need one custom query, but i don't know how to name the method following a standard.
I am making this way:
public interface Repository<T> {
void save(T item);
long saveList(Iterable<T> items);
List<T> getAll();
T findById(int id);
void update(T item);
void delete(T id);