win.doyto.query.web.controller.RestApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doyto-query-web Show documentation
Show all versions of doyto-query-web Show documentation
The web layer integrate with Spring Web
package win.doyto.query.web.controller;
import win.doyto.query.core.PageQuery;
import win.doyto.query.service.PageList;
import java.io.Serializable;
import java.util.List;
/**
* RestApi
*
* @author f0rb on 2019-05-28
*/
public interface RestApi {
List list(Q q);
PageList page(Q q);
S getById(I id);
S deleteById(I id);
void update(I id, R request);
void patch(I id, R request);
void add(R request);
void add(List requests);
}