@RestController @Transactional @RequestMapping(value="/prints") public class PrintController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected pl.matsuo.core.service.db.Database |
database |
protected IFacadeBuilder |
facadeBuilder |
protected IPrintsRendererService |
printsRendererService |
| Constructor and Description |
|---|
PrintController() |
| Modifier and Type | Method and Description |
|---|---|
protected List<pl.matsuo.core.model.print.KeyValuePrint> |
findPrints(pl.matsuo.core.model.report.IPrintsReportParams params,
String personProperty,
pl.matsuo.core.model.query.condition.QueryPart... queryParts) |
void |
generatePrint(Integer id,
javax.servlet.http.HttpServletResponse response) |
void |
generatePrint(pl.matsuo.core.model.print.KeyValuePrint print,
javax.servlet.http.HttpServletResponse response)
Metoda specjalnie nie ma RequestMapping.
|
void |
generatePrint(String templateName,
String fileName,
Object dataModel,
javax.servlet.http.HttpServletResponse response) |
List<pl.matsuo.core.model.print.KeyValuePrint> |
list(pl.matsuo.core.model.report.IPrintsReportParams params) |
List<pl.matsuo.core.model.print.KeyValuePrint> |
listByIdEntities(List<Integer> ids)
Pobiera listę druków dla przekazanych identyfikatorów wizyt.
|
void |
setReportServices(AbstractPrintService[] reportServices) |
@Autowired protected pl.matsuo.core.service.db.Database database
@Autowired protected IPrintsRendererService printsRendererService
@Autowired protected IFacadeBuilder facadeBuilder
@RequestMapping(value="/{id}",
method=GET)
public void generatePrint(@PathVariable(value="id")
Integer id,
javax.servlet.http.HttpServletResponse response)
public void generatePrint(pl.matsuo.core.model.print.KeyValuePrint print,
javax.servlet.http.HttpServletResponse response)
protected List<pl.matsuo.core.model.print.KeyValuePrint> findPrints(pl.matsuo.core.model.report.IPrintsReportParams params, String personProperty, pl.matsuo.core.model.query.condition.QueryPart... queryParts)
@RequestMapping(method=GET) public List<pl.matsuo.core.model.print.KeyValuePrint> list(pl.matsuo.core.model.report.IPrintsReportParams params)
public void generatePrint(String templateName, String fileName, Object dataModel, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/list/byIdEntities",
method=GET,
consumes="application/octet-stream")
public List<pl.matsuo.core.model.print.KeyValuePrint> listByIdEntities(@RequestParam(value="ids")
List<Integer> ids)
@Autowired(required=false) public void setReportServices(AbstractPrintService[] reportServices)
Copyright © 2015 Matsuo IT. All rights reserved.