com.quhaodian.data.core.DataProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discover-hibernate-common Show documentation
Show all versions of discover-hibernate-common Show documentation
discover-hibernate_common is a lib for hibernate
package com.quhaodian.data.core;
import com.quhaodian.data.page.Filter;
import com.quhaodian.data.page.Order;
import com.quhaodian.data.page.Page;
import com.quhaodian.data.page.Pageable;
import java.io.Serializable;
import java.util.List;
/**
* Created by cng19 on 2016/10/23.
*/
public interface DataProvider {
Page page(Pageable pageable);
List list(Integer first, Integer count, List filters, List orders);
T add(T t);
T delete(T t);
T update(T t);
}