com.mg.common.utils.BaseService Maven / Gradle / Ivy
The newest version!
package com.mg.common.utils;
import com.mysema.query.types.Predicate;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface BaseService {
T save(T t);
T saveAndFlush(T t);
T get(String id);
void delete(String id);
void delete(T t);
Page findPageList(Predicate predicate, Pageable pageable);
}