From b5ad9541be33d428dedf3e06e876ea74c6d451e0 Mon Sep 17 00:00:00 2001 From: pahnjy Date: Mon, 19 Dec 2016 15:12:32 +0900 Subject: [PATCH] =?UTF-8?q?Session=20Interface=20=EC=B6=94=EA=B0=80=20#304?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../icbms/so/util/session/pr/SessionPresentation.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/so-util/src/main/java/com/pineone/icbms/so/util/session/pr/SessionPresentation.java b/so-util/src/main/java/com/pineone/icbms/so/util/session/pr/SessionPresentation.java index 4155b479..829eec96 100644 --- a/so-util/src/main/java/com/pineone/icbms/so/util/session/pr/SessionPresentation.java +++ b/so-util/src/main/java/com/pineone/icbms/so/util/session/pr/SessionPresentation.java @@ -35,6 +35,13 @@ public List retrieveSessionDataByTime(@PathVariable int time){ return sessionList; } + @RequestMapping(value = "/collection/{id}") + @ResponseStatus(value = HttpStatus.OK) + public Session retrieveSessionDetail(@PathVariable String id){ + return sessionStore.retrieveSessionDetail(id); + } + + private List sessionToTransFormObject(List sessionList){ List sessionTransFormObjects = new ArrayList<>(); for(Session session : sessionList){