Class AdminController

java.lang.Object
net.ideahut.springboot.admin.AdminController

public abstract class AdminController extends Object
  • Constructor Details

    • AdminController

      public AdminController()
  • Method Details

    • check

      @GetMapping("/check") public net.ideahut.springboot.object.Result check()
    • info

      @GetMapping("/info") public net.ideahut.springboot.object.Result info()
    • grid

      @GetMapping("/grid") public net.ideahut.springboot.object.Result grid(@RequestParam("name") String name, @RequestParam("parent") String parent)
    • crud

      @PostMapping("/crud/{action}") public net.ideahut.springboot.object.Result crud(@PathVariable("action") String action) throws Exception
      Throws:
      Exception
    • reload

      @GetMapping("/reload") public net.ideahut.springboot.object.Result reload()
    • reload

      @PostMapping("/reload") public net.ideahut.springboot.object.Result reload(@RequestParam("name") String name) throws Exception
      Throws:
      Exception
    • cacheInfo

      @GetMapping("/cache/info") public net.ideahut.springboot.object.Result cacheInfo(@RequestParam("type") String type, @RequestParam(value="handler",required=false) String handler)
    • cacheKeys

      @PostMapping("/cache/keys") public net.ideahut.springboot.object.Result cacheKeys() throws Exception
      Throws:
      Exception
    • cacheDelete

      @PostMapping("/cache/delete") public net.ideahut.springboot.object.Result cacheDelete() throws Exception
      Throws:
      Exception
    • cacheClear

      @PostMapping("/cache/clear") public net.ideahut.springboot.object.Result cacheClear() throws Exception
      Throws:
      Exception
    • redisInfos

      @GetMapping("/redis/infos") public net.ideahut.springboot.object.Result redisInfos()
    • redisProperties

      @GetMapping("/redis/properties") public net.ideahut.springboot.object.Result redisProperties(@RequestParam("name") String name)
    • redisFlushDb

      @GetMapping("/redis/flush/db") public net.ideahut.springboot.object.Result redisFlushDb(@RequestParam("name") String name)
    • redisFlushDb

      @PostMapping("/redis/flush/db") public net.ideahut.springboot.object.Result redisFlushDb(@RequestParam("name") String name, @RequestParam("code") String code)
    • redisFlushAll

      @GetMapping("/redis/flush/all") public net.ideahut.springboot.object.Result redisFlushAll(@RequestParam("name") String name)
    • redisFlushAll

      @PostMapping("/redis/flush/all") public net.ideahut.springboot.object.Result redisFlushAll(@RequestParam("name") String name, @RequestParam("code") String code)
    • auditFields

      @GetMapping("/audit/info") public net.ideahut.springboot.object.Result auditFields(@RequestParam("handler") String handler, @RequestParam("type") String type, @RequestParam("manager") String manager) throws Exception
      Throws:
      Exception
    • auditList

      @PostMapping("/audit/list") public net.ideahut.springboot.object.Result auditList(@RequestParam("handler") String handler) throws Exception
      Throws:
      Exception
    • managerInfo

      @GetMapping("/manager/info") public net.ideahut.springboot.object.Result managerInfo(@RequestParam("manager") String manager) throws Exception
      Throws:
      Exception
    • managerEntities

      @GetMapping("/manager/entities") public net.ideahut.springboot.object.Result managerEntities(@RequestParam("manager") String manager, @RequestParam("index") Integer index, @RequestParam("size") Integer size, @RequestParam(value="order",required=false) String order) throws Exception
      Throws:
      Exception
    • managerInfo

      @GetMapping("/manager/entity") public net.ideahut.springboot.object.Result managerInfo(@RequestParam("manager") String manager, @RequestParam("entity") String entity) throws Exception
      Throws:
      Exception
    • entityReplica

      @GetMapping("/entity/replica") public net.ideahut.springboot.object.Result entityReplica(@RequestParam("manager") String manager, @RequestParam("entity") String entity, @RequestParam("total") Integer total) throws Exception
      Throws:
      Exception
    • entityGrid

      @GetMapping("/entity/grid") public net.ideahut.springboot.object.Result entityGrid(@RequestParam("manager") String manager, @RequestParam("entity") String entity) throws Exception
      Throws:
      Exception
    • schedulerGroups

      @GetMapping("/scheduler/groups") public net.ideahut.springboot.object.Result schedulerGroups(@RequestParam("handler") String handler, @RequestParam(name="isActive",required=false) Boolean isActive) throws Exception
      Throws:
      Exception
    • schedulerTriggers

      @GetMapping("/scheduler/triggers") public net.ideahut.springboot.object.Result schedulerTriggers(@RequestParam("handler") String handler, @RequestParam(name="isActive",required=false) Boolean isActive, @RequestParam(name="groupId",required=false) List<String> groupIds) throws Exception
      Throws:
      Exception
    • schedulerStart

      @PostMapping("/scheduler/start") public net.ideahut.springboot.object.Result schedulerStart(@RequestParam("handler") String handler) throws Exception
      Throws:
      Exception
    • schedulerStop

      @PostMapping("/scheduler/stop") public net.ideahut.springboot.object.Result schedulerStop(@RequestParam("handler") String handler) throws Exception
      Throws:
      Exception
    • schedulerRunning

      @GetMapping("/scheduler/running") public net.ideahut.springboot.object.Result schedulerRunning(@RequestParam("handler") String handler) throws Exception
      Throws:
      Exception
    • schedulerMetadata

      @GetMapping("/scheduler/metadata") public net.ideahut.springboot.object.Result schedulerMetadata(@RequestParam("handler") String handler) throws Exception
      Throws:
      Exception
    • schedulerPause

      @PostMapping("/scheduler/pause") public net.ideahut.springboot.object.Result schedulerPause(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception
      Throws:
      Exception
    • schedulerResume

      @PostMapping("/scheduler/resume") public net.ideahut.springboot.object.Result schedulerResume(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception
      Throws:
      Exception
    • schedulerTrigger

      @PostMapping("/scheduler/trigger") public net.ideahut.springboot.object.Result schedulerTrigger(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception
      Throws:
      Exception
    • schedulerDelete

      @PostMapping("/scheduler/delete") public net.ideahut.springboot.object.Result schedulerDelete(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception
      Throws:
      Exception
    • schedulerAdd

      @PostMapping("/scheduler/add") public net.ideahut.springboot.object.Result schedulerAdd(@RequestParam("handler") String handler, @RequestParam("triggerId") String triggerId) throws Exception
      Throws:
      Exception
    • adminHandler

      protected abstract AdminHandler adminHandler()
    • dataMapper

      protected abstract DataMapper dataMapper()