Class ReportCustomizationController
- java.lang.Object
-
- cronapp.framework.customization.reports.ReportCustomizationController
-
@RestController @RequestMapping("/api/customization/reports") public class ReportCustomizationController extends Object
-
-
Constructor Summary
Constructors Constructor Description ReportCustomizationController(ReportService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Report>create(Report report)org.springframework.http.ResponseEntitydelete(UUID id)org.springframework.http.ResponseEntity<List<String>>findAll()TODO Criar método específico para obter apenas o nome dos relatórios.org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>get(UUID id, String contentType)com.stimulsoft.base.json.JSONObjectlistVariables(UUID id)org.springframework.http.ResponseEntity<Report>update(UUID id, Report report)
-
-
-
Constructor Detail
-
ReportCustomizationController
@Autowired public ReportCustomizationController(ReportService service)
-
-
Method Detail
-
findAll
@GetMapping public org.springframework.http.ResponseEntity<List<String>> findAll()
TODO Criar método específico para obter apenas o nome dos relatórios.
-
create
@PostMapping public org.springframework.http.ResponseEntity<Report> create(@RequestBody Report report)
-
update
@PutMapping("/{id}") public org.springframework.http.ResponseEntity<Report> update(@PathVariable UUID id, @RequestBody Report report)
-
delete
@DeleteMapping("/{id}") public org.springframework.http.ResponseEntity delete(@PathVariable UUID id)
-
get
@GetMapping("/{id}") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> get(@PathVariable("id") UUID id, @RequestHeader(value="Content-Type",defaultValue="application/json") String contentType) throws CronappFrameworkException- Throws:
CronappFrameworkException
-
listVariables
@RequestMapping(value="/{id}", method=OPTIONS) public com.stimulsoft.base.json.JSONObject listVariables(@PathVariable("id") UUID id) throws CronappFrameworkException- Throws:
CronappFrameworkException
-
-