Class ChartController


  • @Controller
    @RequestMapping("chart")
    public class ChartController
    extends java.lang.Object
    대시보드의 차트 데이터 관련 컨트롤러
    Version:
    1.0
    Author:
    Yeonhee Kim, Wooyoung Lee
    • Constructor Summary

      Constructors 
      Constructor Description
      ChartController()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getCountData​(javax.servlet.http.HttpServletResponse response)
      대시보드에 쓰일 데이터 개수 반환
      java.lang.String getCountListOnJsonLog()
      대시보드에 쓰일 JsonLog 시간 그룹별 개수를 List에 넣어서 반환
      java.util.Map<java.lang.String,​java.lang.Double> getRatioOnMetadataByType()
      대시보드에 쓰일 metadata 타입(강의/회의/상담/고객응대) 비율을 Map에 넣어서 반환
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChartController

        public ChartController()
    • Method Detail

      • getCountListOnJsonLog

        @GetMapping("getCountListOnJsonLog")
        @ResponseBody
        public java.lang.String getCountListOnJsonLog()
                                               throws java.lang.InterruptedException
        대시보드에 쓰일 JsonLog 시간 그룹별 개수를 List에 넣어서 반환
        Returns:
        JsonLog 시간 그룹별 개수
        Throws:
        java.lang.InterruptedException - 스레드 처리시 대기와 관련한 예외
      • getRatioOnMetadataByType

        @GetMapping("getRatioOnMetadataByType")
        @ResponseBody
        public java.util.Map<java.lang.String,​java.lang.Double> getRatioOnMetadataByType()
        대시보드에 쓰일 metadata 타입(강의/회의/상담/고객응대) 비율을 Map에 넣어서 반환
        Returns:
        metadata 타입(강의/회의/상담/고객응대) 비율
      • getCountData

        @GetMapping("getCountData")
        @ResponseBody
        public void getCountData​(javax.servlet.http.HttpServletResponse response)
                          throws java.io.IOException
        대시보드에 쓰일 데이터 개수 반환
        Parameters:
        response - 웹으로 보낼 응답
        Throws:
        java.io.IOException - 입출력 예외