|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.jaxrs.ReportRestService
public class ReportRestService
The WorkflowService Handler supports methods to process different kind of request URIs
| Constructor Summary | |
|---|---|
ReportRestService()
|
|
| Method Summary | |
|---|---|
void |
deleteModel(String name)
Deletes a report by name or by uniqueid |
static void |
fopTranformation(String xmlSource,
String xslSource,
String aEncoding,
OutputStream output)
This method dos a apache FOP transformation using the FopFactory |
org.imixs.workflow.xml.EntityCollection |
getAllReports(int start,
int count)
|
javax.ws.rs.core.Response |
getExcecuteReport(String name,
int start,
int count,
String encoding,
javax.ws.rs.core.UriInfo uriInfo)
Executes a single report defined by name or uniqueid The output depends on the requested media format Since 2.1.2: the ReportService also supports FOP Transformation. |
org.imixs.workflow.xml.EntityTable |
getExcecuteReportHTML(String name,
int start,
int count,
javax.ws.rs.core.UriInfo uriInfo)
Returns an HTML Stream with a HTML Datatable corresponding to the report query. |
org.imixs.workflow.xml.EntityCollection |
getExcecuteReportXML(String name,
int start,
int count,
javax.ws.rs.core.UriInfo uriInfo)
Returns a xml stream from a report execution |
javax.ws.rs.core.StreamingOutput |
getHelpHTML()
|
javax.ws.rs.core.Response |
getPdfReport(String name,
int start,
int count,
String encoding,
javax.ws.rs.core.UriInfo uriInfo)
helper method for .pdf file extention |
org.imixs.workflow.xml.XMLItemCollection |
getReport(String name)
Returns a single report by name or by uniqueid |
void |
postReport(org.imixs.workflow.xml.XMLItemCollection reportCol)
|
void |
putReport(org.imixs.workflow.xml.XMLItemCollection reportCol)
This method updates or creates a Report object provided in a XMLItemCollection object |
static void |
xslTranformation(String xmlSource,
String xslSource,
String aEncoding,
OutputStream output)
This method transforms an xml string with a provided xsl String The XMLSource will be read from a InputStreamReader object to provide the XSLTransformer with a inputsream in expected encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportRestService()
| Method Detail |
|---|
public javax.ws.rs.core.StreamingOutput getHelpHTML()
public org.imixs.workflow.xml.EntityCollection getAllReports(int start,
int count)
public org.imixs.workflow.xml.XMLItemCollection getReport(String name)
name - reportname or uniqueid of report
public javax.ws.rs.core.Response getExcecuteReport(String name,
int start,
int count,
String encoding,
@Context
javax.ws.rs.core.UriInfo uriInfo)
name - reportname of the report to be executed
public javax.ws.rs.core.Response getPdfReport(String name,
int start,
int count,
String encoding,
@Context
javax.ws.rs.core.UriInfo uriInfo)
name - reportname of the report to be executed
public org.imixs.workflow.xml.EntityTable getExcecuteReportHTML(String name,
int start,
int count,
@Context
javax.ws.rs.core.UriInfo uriInfo)
name - start - count -
public org.imixs.workflow.xml.EntityCollection getExcecuteReportXML(String name,
int start,
int count,
@Context
javax.ws.rs.core.UriInfo uriInfo)
throws Exception
name - reportname of the report to be executedstart - count -
Exceptionpublic void deleteModel(String name)
name - of report or uniqueidpublic void putReport(org.imixs.workflow.xml.XMLItemCollection reportCol)
reportCol - - report datapublic void postReport(org.imixs.workflow.xml.XMLItemCollection reportCol)
public static void xslTranformation(String xmlSource,
String xslSource,
String aEncoding,
OutputStream output)
throws Exception
xmlSource - xsltSourceFile -
Exception
public static void fopTranformation(String xmlSource,
String xslSource,
String aEncoding,
OutputStream output)
throws Exception
xmlSource - xslSource - aEncoding - outputWriter -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||