All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mg.common.utils.BaseService Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy