@Path(value="reportTemplates") public interface ReportTemplateService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(ReportTemplateTO reportTemplateTO)
Creates a new report template.
|
void |
delete(String key)
Deletes the report template matching the given key.
|
javax.ws.rs.core.Response |
getFormat(String key,
ReportTemplateFormat format)
Gets the template for the given key and format, if available.
|
List<ReportTemplateTO> |
list()
Returns a list of all report templates.
|
ReportTemplateTO |
read(String key)
Returns report template with matching key.
|
void |
removeFormat(String key,
ReportTemplateFormat format)
Removes the template for the given key and format, if available.
|
void |
setFormat(String key,
ReportTemplateFormat format,
InputStream templateIn)
Sets the template for the given key and format, if available.
|
@GET
@Produces(value={"application/json","application/yaml","application/xml"})
List<ReportTemplateTO> list()
@POST
@Consumes(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response create(@NotNull
ReportTemplateTO reportTemplateTO)
reportTemplateTO - Creates a new report template.@GET
@Path(value="{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
ReportTemplateTO read(@NotNull @PathParam(value="key")
String key)
key - key of report template to be read@DELETE
@Path(value="{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
void delete(@NotNull @PathParam(value="key")
String key)
key - key for report template to be deleted@GET
@Path(value="{key}/{format}")
javax.ws.rs.core.Response getFormat(@NotNull @PathParam(value="key")
String key,
@NotNull @PathParam(value="format")
ReportTemplateFormat format)
key - report templateformat - template format@PUT
@Path(value="{key}/{format}")
void setFormat(@NotNull @PathParam(value="key")
String key,
@NotNull @PathParam(value="format")
ReportTemplateFormat format,
InputStream templateIn)
key - report templateformat - template formattemplateIn - template to be set@DELETE
@Path(value="{key}/{format}")
void removeFormat(@NotNull @PathParam(value="key")
String key,
@NotNull @PathParam(value="format")
ReportTemplateFormat format)
key - report templateformat - template formatCopyright © 2010–2019 The Apache Software Foundation. All rights reserved.