@Controller(value="webCgController") @RequestMapping(value="/web/cg") public class CgController extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) CgService |
cgService |
(package private) static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CgController() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateInitAllFile(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
generateInitFileByFileName(String fileName,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
generateInitFileByType(String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
generateTableCodeAll(String versionId,
String tableId,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
generateTableFileByType(String versionId,
String tableId,
String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
generateVersionFileByType(String versionId,
String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
readFromDb(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
static org.slf4j.Logger logger
@Autowired CgService cgService
@RequestMapping(value="/init/file/{fileName}")
public String generateInitFileByFileName(@PathVariable(value="fileName")
String fileName,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/init/type/{type}")
public String generateInitFileByType(@PathVariable(value="type")
String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/init/all") public String generateInitAllFile(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/read/db") public String readFromDb(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/version/{versionId}/type/{type}")
public String generateVersionFileByType(@PathVariable(value="versionId")
String versionId,
@PathVariable(value="type")
String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/version/{versionId}/table/{tableId}/all")
public String generateTableCodeAll(@PathVariable(value="versionId")
String versionId,
@PathVariable(value="tableId")
String tableId,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/version/{versionId}/table/{tableId}/type/{type}")
public String generateTableFileByType(@PathVariable(value="versionId")
String versionId,
@PathVariable(value="tableId")
String tableId,
@PathVariable(value="type")
String type,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
Copyright © 2019. All rights reserved.