Package com.easydesk.web.controller
Class MailReportController
java.lang.Object
com.easydesk.web.controller.MailReportController
메일 현황 화면 (조회 전용, Screen "MailReport").
탭 두 개로 Gmail 메일함을 보여준다 - 0: 메일 발송 현황(보낸편지함), 1: 메일 수신 현황(받은편지함).
두 탭의 페이지 번호(sentPage / inboxPage)는 따로 유지하고, 페이지를 옮겨도 다른 탭의 페이지는 그대로 둔다.
메일을 Report 로 발송하는 기능(Notification)은 다음 단계에서 추가한다.
-
Constructor Summary
ConstructorsConstructorDescriptionMailReportController(MailReportService mailReportService, org.springframework.context.MessageSource messageSource) -
Method Summary
Modifier and TypeMethodDescriptionreport(int activeTab, int sentPage, int inboxPage, HttpSession session, org.springframework.ui.Model model)
-
Constructor Details
-
MailReportController
public MailReportController(MailReportService mailReportService, org.springframework.context.MessageSource messageSource)
-
-
Method Details
-
report
@GetMapping("/admin/mail-report") public String report(@RequestParam(value="tab",required=false,defaultValue="0") int activeTab, @RequestParam(value="sentPage",required=false,defaultValue="1") int sentPage, @RequestParam(value="inboxPage",required=false,defaultValue="1") int inboxPage, HttpSession session, org.springframework.ui.Model model)
-