This class is the interface to the ReportWeaver WebService. It can be used to retrieve the available templates and run the templates to generate output as html, pdf, xml, csv and to the printer. Html output is more complex, because of the possibility of generated pictures and charts These will be referenced in the generated html with a fixed prefix part, a number and a fixed postfix part. Both fixed parts are parameters of all run html methods. To be able generate URL's for drilldown reports, the parameter "drilldownUrlPrefix" must contain a pattern for the URL. In this pattern {0} will be replaced by the name of the report and {1} will be replaced by the id of the object for the drilldown. The third part is the mapping of external resources like static pictures to URL's. The mapping is transfered in the file2UrlMap parameter.
|
|
This is the URL used to access the web service. It may be needed to adjust the host and the port, depending on the tomcat installation
This is the namespace used by the Service
This is the name of the Service
This is the default timeout for the web service operations.
|
|
This callback method is invoked by the%New method to provide notification that a new instance of an object is being created.If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status
check if a report with that name exists
get the first step for requesting the variable values for a report use if needsParameterDialog returns true name is name of the template presetVariables stores any already known variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
get the first step for requesting the variable values for a report for a drilldown report use if needsParameterDialog returns true name is the name of the template loid is id of the persisent object to use as report root. It is coded as {class}|{id} presetVariables stores any already known variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
get the first step for requesting the variable values for a report for a specific target specialy for email generation, which may need additional variables to be set. use if needsParameterDialog returns true name is name of the template presetVariables stores any already known variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented target name of the output target, only "email" supported for now
get the first step for requesting the variable values for a report for a drilldown report for a specific target. specialy for email generation, which may need additional variables to be set. use if needsParameterDialog returns true name is the name of the template loid is id of the persisent object to use as report root. It is coded as {class}|{id} presetVariables stores any already known variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented target name of the output target, only "email" supported for now
get the template definition for a template id name is the name of the template langDef stores the language information for localized values
get the template definition for a template name name is the name of the template langDef stores the language information for localized values
get all non drilldown reports langDef stores the language information for localized values
get all non drilldown reports with a specific definition class clazz name of the definition class langDef stores the language information for localized values
get all drilldown reports with a specific definition class clazz name of the definition class langDef stores the language information for localized values
get the list of all needed variables for a template an empty array means no variables, a $$$nulloref means that the variables contain a database pick and getFirstReportStep* is needed. name is the name of the template langDef stores the language information for localized values
get the list of all needed variables for a template for a specific target. specialy for email generation, which may need additional variables to be set. an empty array means no variables, a $$$nulloref means that the variables contain a database pick and getFirstReportStep* is needed. name is the name of the template langDef stores the language information for localized values target name of the output target, only "email" supported for now
returns if the output target has been configurated. Only needed for email right now target name of the output target, only "email" supported for now
check if the report needs a parameter dialog name is the name of the template
check if the report needs a parameter dialog for a specific target. specialy for email generation, which may need additional variables to be set. name is the name of the template target name of the output target, only "email" supported for now
after the user has entered the parameter dialog information, use this method to get the information for the next parameter dialog step reportStep is the information about the already entered variable data
reload the repository to make changes visible to the webservice
run the report after requesting the needed variables to email reportStep is the information about the already entered variable data
run the report after requesting the needed variables to html output reportStep is the information about the already entered variable data the other parameters are described in the class description.
run the report after requesting the needed variables to printer output reportStep is the information about the already entered variable data printer is the name of the printer where the output is send. If this parameter is unused, the output is send to the default printer
run the report after requesting the needed variables to pdf output reportStep is the information about the already entered variable data
run the report after requesting the needed variables to xml output reportStep is the information about the already entered variable data
run the report to csv output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented seperator is the seperating character. Normally a ',' is used quote is the quoting character. Normaly a '"" is used linesep can be either "Unix", "Mac" or "Windows" to specify the end of line characters used. encoding is the encoding used for the values.
run the report after requesting the needed variables to csv output reportStep is the information about the already entered variable data langDef stores the language information for localized values seperator is the seperating character. Normally a ',' is used quote is the quoting character. Normaly a '"" is used linesep can be either "Unix", "Mac" or "Windows" to specify the end of line characters used. encoding is the encoding used for the values.
run the report for an object to csv output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented seperator is the seperating character. Normally a ',' is used quote is the quoting character. Normaly a '"" is used linesep can be either "Unix", "Mac" or "Windows" to specify the end of line characters used. encoding is the encoding used for the values.
run the report to email output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report for an object to email output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report to html output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented the other parameters are described in the class description.
run the report for an object to html output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented the other parameters are described in the class description.
run the report to pdf output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report for an object to pdf output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report to printer output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented printer is the name of the printer where the output is send. If this parameter is unused, the output is send to the default printer
run the report for an object to printer output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented printer is the name of the printer where the output is send. If this parameter is unused, the output is send to the default printer
run the report to rtf output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report after requesting the needed variables to rtf reportStep is the information about the already entered variable data
run the report for an object to rtf output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report to xml output name is the name of the report variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented
run the report for an object to xml output name is the name of the report loid is id of the persisent object to use as report root. It is coded as {class}|{id} variables are the predefined variable values langDef stores the language information for localized values userName stores the name of the user if rights for reports are implemented