Package kr.com.inspect.report
Class DocxReport
- java.lang.Object
-
- kr.com.inspect.report.DocxReport
-
@Service @PropertySource("classpath:properties/report.properties") public class DocxReport extends java.lang.Objectdocx 타입으로 리스트 파일 작성- Version:
- 1.0
- Author:
- Woo Young, Yeonhee Kim
-
-
Constructor Summary
Constructors Constructor Description DocxReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownloadPrevRuleReport(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.lang.String time)룰 기록 조회에서 이전에 다운받았던 룰 보고서 파일을 다운 받음voidresultRuleDocx(javax.servlet.http.HttpServletResponse response, java.util.List<Rule> ruleList, java.lang.String path, java.lang.String name, java.lang.String time)rule을 워드로 다운받기 위한 메서드voidwriteDocxMetadata(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Metadata> list, java.lang.String flag, java.lang.String title)docx 한국어 강의 목록 리스트 작성voidwriteDocxUtterance(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Utterance> list, Metadata metadata, java.lang.String flag)docx utterance 리스트 작성
-
-
-
Method Detail
-
writeDocxMetadata
public void writeDocxMetadata(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Metadata> list, java.lang.String flag, java.lang.String title) throws java.lang.Exceptiondocx 한국어 강의 목록 리스트 작성- Parameters:
response- 사용자에게 보내는 응답path- 파일 디렉토리list- 객체를 담을 리스트flag- 해당 요청이 download인지, mail인지, sms인지 결정해주는 변수title- 파일 내용의 제목- Throws:
java.lang.Exception- 예외처리
-
writeDocxUtterance
public void writeDocxUtterance(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Utterance> list, Metadata metadata, java.lang.String flag) throws java.lang.Exceptiondocx utterance 리스트 작성- Parameters:
response- 사용자에게 보내는 응답path- 파일 디렉토리list- 객체를 담을 리스트metadata- metadata 테이블 정보flag- 해당 요청이 download인지, mail인지, sms인지 결정해주는 변수- Throws:
java.lang.Exception- 예외처리
-
resultRuleDocx
public void resultRuleDocx(javax.servlet.http.HttpServletResponse response, java.util.List<Rule> ruleList, java.lang.String path, java.lang.String name, java.lang.String time)rule을 워드로 다운받기 위한 메서드- Parameters:
response- 파일 다운을 위한 응답ruleList- 워드로 다운받을 rulepath- 파일을 다운받기 위해 임시 저장할 경로name- 작성자time- 작성일
-
downloadPrevRuleReport
public void downloadPrevRuleReport(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.lang.String time)룰 기록 조회에서 이전에 다운받았던 룰 보고서 파일을 다운 받음- Parameters:
response- HttpServletResponsepath- 이전 룰 보고서 파일이 있는 폴더time- 파일명(이전에 다운받은 시간)
-
-