@RestController @RequestMapping(value="/cashDocuments") public class CashDocumentController extends pl.matsuo.core.web.controller.print.AbstractPrintController<pl.matsuo.accounting.model.print.CashDocument,pl.matsuo.accounting.model.print.AccountingPrint,ICashDocumentParams>
| Constructor and Description |
|---|
CashDocumentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpEntity<pl.matsuo.accounting.model.print.AccountingPrint> |
create(pl.matsuo.accounting.model.print.AccountingPrint entity,
StringBuffer parentUri) |
org.springframework.http.HttpEntity<pl.matsuo.accounting.model.print.AccountingPrint> |
create(String printType,
pl.matsuo.accounting.model.print.AccountingPrint entity,
StringBuffer parentUri) |
protected ICashDocumentService |
findCashDocumentService(String printType) |
protected pl.matsuo.core.model.query.AbstractQuery<pl.matsuo.accounting.model.print.AccountingPrint> |
listQuery(ICashDocumentParams params,
pl.matsuo.core.model.query.condition.Condition... additionalConditions) |
void |
update(pl.matsuo.accounting.model.print.AccountingPrint entity) |
void |
update(Integer id,
pl.matsuo.accounting.model.print.AccountingPrint entity) |
entityInitializerschildLocation, delete, httpEntityprotected ICashDocumentService findCashDocumentService(String printType)
protected pl.matsuo.core.model.query.AbstractQuery<pl.matsuo.accounting.model.print.AccountingPrint> listQuery(ICashDocumentParams params, pl.matsuo.core.model.query.condition.Condition... additionalConditions)
listQuery in class pl.matsuo.core.web.controller.AbstractSearchController<pl.matsuo.accounting.model.print.AccountingPrint,ICashDocumentParams>@RequestMapping(value="/{printType}",
method=POST,
consumes="application/json")
@ResponseStatus(value=CREATED)
public org.springframework.http.HttpEntity<pl.matsuo.accounting.model.print.AccountingPrint> create(@PathVariable(value="printType")
String printType,
@RequestBody
pl.matsuo.accounting.model.print.AccountingPrint entity,
@Value(value="#{request.requestURL}")
StringBuffer parentUri)
@RequestMapping(method=POST,
consumes="application/json")
@ResponseStatus(value=CREATED)
public org.springframework.http.HttpEntity<pl.matsuo.accounting.model.print.AccountingPrint> create(@RequestBody
pl.matsuo.accounting.model.print.AccountingPrint entity,
@Value(value="#{request.requestURL}")
StringBuffer parentUri)
create in class pl.matsuo.core.web.controller.AbstractController<pl.matsuo.accounting.model.print.AccountingPrint,ICashDocumentParams>@RequestMapping(method=PUT,
consumes="application/json")
@ResponseStatus(value=NO_CONTENT)
public void update(@RequestBody
pl.matsuo.accounting.model.print.AccountingPrint entity)
update in class pl.matsuo.core.web.controller.AbstractController<pl.matsuo.accounting.model.print.AccountingPrint,ICashDocumentParams>@RequestMapping(value="/{id}",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
public void update(@PathVariable(value="id")
Integer id,
@RequestBody
pl.matsuo.accounting.model.print.AccountingPrint entity)
update in class pl.matsuo.core.web.controller.AbstractController<pl.matsuo.accounting.model.print.AccountingPrint,ICashDocumentParams>Copyright © 2015 Matsuo IT. All rights reserved.