public interface SimpleCrudController<E,PK,Q extends org.hswebframework.web.commons.entity.Entity> extends QueryController<E,PK,Q>, UpdateController<E,PK,E>, CreateController<E,PK,E>, DeleteController<E,PK>
QueryController,
CreateController,
UpdateController,
DeleteController,
CrudService| 限定符和类型 | 方法和说明 |
|---|---|
CrudService<E,PK> |
getService()
获取实现了
QueryByEntityService和QueryService的服务类 |
default E |
modelToEntity(E model,
E entity)
将model转为entity
|
assertNotNull, count, getByPrimaryKey, getByPrimaryKey, list, listNoPagingsaveOrUpdate, updateByPrimaryKeyadddeleteByPrimaryKey@Authorize(ignore=true) CrudService<E,PK> getService()
QueryControllerQueryByEntityService和QueryService的服务类getService 在接口中 CreateController<E,PK,E>getService 在接口中 DeleteController<E,PK>getService 在接口中 QueryController<E,PK,Q extends org.hswebframework.web.commons.entity.Entity>getService 在接口中 UpdateController<E,PK,E>@Authorize(ignore=true) default E modelToEntity(E model, E entity)
UpdateControllermodelToEntity 在接口中 CreateController<E,PK,E>modelToEntity 在接口中 UpdateController<E,PK,E>Model,
EntityCopyright © 2016–2019. All rights reserved.