Class SysDefaultRoleController
java.lang.Object
cn.herodotus.engine.web.api.servlet.AbstractReadableController<E,ID,S>
cn.herodotus.engine.web.api.servlet.AbstractWriteableController<E,ID,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<E,ID>>
cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController<SysDefaultRole,String>
cn.herodotus.engine.rest.servlet.upms.controller.security.SysDefaultRoleController
- All Implemented Interfaces:
cn.herodotus.engine.core.definition.domain.BaseDomain,cn.herodotus.engine.core.definition.domain.Pagination,BindingController<SysDefaultRole,,String, cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole, String>> PageController<SysDefaultRole,,String, cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole, String>> PaginationController,cn.herodotus.engine.web.core.definition.Controller,Serializable
@RestController
@RequestMapping("/security/default-role")
public class SysDefaultRoleController
extends AbstractJpaWriteableController<SysDefaultRole,String>
Description: 系统默认角色管理接口
- Author:
- : gengwei.zheng
- See Also:
- Date:
- : 2021/7/21 16:12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncn.herodotus.engine.core.definition.domain.Result<SysDefaultRole>cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole,String> Methods inherited from class cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController
saveMethods inherited from class cn.herodotus.engine.web.api.servlet.AbstractWriteableController
deleteMethods inherited from class cn.herodotus.engine.web.api.servlet.AbstractReadableController
findByPageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.web.api.servlet.BindingController
findAll, findByIdMethods inherited from interface cn.herodotus.engine.web.core.definition.Controller
result, result, result, result, result, result, resultMethods inherited from interface cn.herodotus.engine.web.api.servlet.PageController
findByPage, findByPageMethods inherited from interface cn.herodotus.engine.core.definition.domain.Pagination
with, withMethods inherited from interface cn.herodotus.engine.web.api.servlet.PaginationController
fromPage, fromSlice, resultFromPage, resultFromSlice
-
Constructor Details
-
SysDefaultRoleController
-
-
Method Details
-
getService
public cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysDefaultRole,String> getService() -
assign
@PutMapping public cn.herodotus.engine.core.definition.domain.Result<SysDefaultRole> assign(@RequestParam(name="defaultId") @NotBlank @NotBlank String defaultId, @RequestParam(name="roleId") @NotBlank @NotBlank String roleId)
-