com.datastax.web.core.service.SimpleService Maven / Gradle / Ivy
The newest version!
package com.datastax.web.core.service;
import java.io.Serializable;
import java.util.List;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
public interface SimpleService {
JpaRepository getRepository();
void delete(ID var1);
void delete(T var1);
void delete(Iterable extends T> var1);
void deleteAll();
void deleteInBatch(Iterable var1);
void deleteAllInBatch();
T findOne(ID var1);
List findAll();
List findAll(Sort var1);
List findAll(Iterable var1);
List findAll(Example var1);
List findAll(Example var1, Sort var2);
Page findAll(Pageable var1);
void flush();
S save(S var1);
List save(Iterable var1);
S saveAndFlush(S var1);
T findOne(Specification var1);
List findAll(Specification var1);
Page findAll(Specification var1, Pageable var2);
List findAll(Specification var1, Sort var2);
long count(Specification var1);
}