|
The gendoc API method:
- executes the SPARQL query script found as the rdf:object of the 'hasQueryscript' property of each of the instances of template type &oim:ST-DOCUMENT_CELL-0096-001 found in steps 1f and 1g of the invoking format_message API method ;
- executes the PHP script found as the rdf:object of the 'hasPresentationScript' property of the instance of the template type &oim:ST-DOCUMENT-0098-001, found in step 1 of the invoking format_message API method, and generates a PDF rendering of the document; stores that at a user-defined location (given as argument) and assigns a URL;
- generates an instance of template type &oim:ST-FILE-0802-001, relating the ID of the document, given in step 1, with the URL assigned in step 10, and stores that template instance in the "data" section of the sending façade;
- generates an instance of template type &oim:ST-FACADE-2311-001 with feedback information, and stores that in the "sentmsgs" section of the sending façade.
|