@Controller public class DictationPeriodController extends Object
| Constructor and Description |
|---|
DictationPeriodController() |
| Modifier and Type | Method and Description |
|---|---|
String |
addDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img) |
String |
addDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img) |
String |
addDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img) |
String |
addDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img,
Long id) |
String |
addPeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.learn.course.model.DictationPeriod period,
Long[] ids) |
String |
DELETEDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
DeleteDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
deleteDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
GETDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
GETDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id,
String name,
String img) |
String |
getDictationLessonList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
Long subject,
Long level,
String name,
Long lid,
Long version) |
String |
GetDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
getDictationPeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getDictationTypeList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
getDictationTypeStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
PutDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Long id,
org.springframework.ui.ModelMap model,
String name,
String img) |
String |
sort(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
List<Long> ids) |
String |
updatePeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.learn.course.model.DictationPeriod period,
Long[] ids,
Long id) |
@RequestMapping(value="/a/u/dictation/period/list",
method=GET)
public String getDictationLessonList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
Long subject,
Long level,
String name,
Long lid,
Long version)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/period/list/sort",
method=POST)
public String sort(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@RequestBody
List<Long> ids)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/resolution",
method=POST)
public String addDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/resolution",
method=GET)
public String GETDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/resolution/{id}",
method=PUT)
public String GETDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id,
String name,
String img)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/resolution/{id}",
method=DELETE)
public String DELETEDictationButton(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/period/detail/{id}",
method=GET)
public String getDictationPeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/period",
method=POST)
public String addPeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.learn.course.model.DictationPeriod period,
Long[] ids)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/period/{id}",
method=PUT)
public String updatePeriod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.learn.course.model.DictationPeriod period,
Long[] ids,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/type/list",
method=GET)
public String getDictationTypeList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/type",
method=POST)
public String addDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/mistake",
method=POST)
public String addDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/mistake",
method=GET)
public String GetDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/mistake/{id}",
method=PUT)
public String PutDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
Long id,
org.springframework.ui.ModelMap model,
String name,
String img)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/mistake/{id}",
method=DELETE)
public String DeleteDictationMistake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/type/{id}",
method=PUT)
public String addDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String name,
String img,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/type/{id}",
method=DELETE)
public String deleteDictationType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/u/dictation/type/status/{id}",
method=GET)
public String getDictationTypeStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
ExceptionCopyright © 2017. All rights reserved.