com.mg.common.utils.BaseService Maven / Gradle / Ivy
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);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy