CINXE.COM

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html itemscope="itemscope" class="&#10; js flexbox canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations&#10; csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths&#10; " itemtype="http://schema.org/WebPage" itemid="" xmlns:n0="http://www.w3.org/2000/xmlns/" n0:og="http://ogp.me/ns#" n0:fb="http://ogp.me/ns/fb#" n0:xhv="http://www.w3.org/1999/xhtml/vocab#"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script src="/skin/wiki/js/modernizr.js"></script><script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: './', VERSION: 'stable', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script><script type="text/javascript" src="/skin/wiki/js/jquery-2.js"></script><script type="text/javascript" src="/skin/wiki/js/jquery-migrate-1.js"></script><script type="text/javascript" src="/skin/wiki/js/underscore.js"></script><script type="text/javascript" src="/skin/wiki/js/doctools.js"></script><script type="text/javascript" src="/skin/wiki/js/translations.js"></script><script type="text/javascript" src="/skin/wiki/js/readthedocs-doc-embed.js"></script><link rel="stylesheet" href="/skin/wiki/css/default.css" type="text/css" /> <link rel="stylesheet" href="/skin/wiki/css/sphinx_rtd_theme.css" type="text/css" /> <link rel="stylesheet" href="/skin/wiki/css/readthedocs-doc-embed.css" type="text/css" /> <link rel="stylesheet" href="/skin/wiki/css/opl-style-overrides.css" type="text/css" /> <style type="text/css"> #HD_ODS_BAR { display: none; } table.dialog_body { display: none; } </style><script type="text/turtle" id="API_Wiki"> ## Generic Description ## Schema.org Terms @prefix oplwebsrv: <http://www.openlinksw.com/ontology/webservices#> . @prefix schema: <http://schema.org/> . @prefix wdrs: <http://www.w3.org/2007/05/powder-s#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema> . <#this_ODSWikiModuleAPIDoc> a schema:CreativeWork ; schema:name "ODS_Wiki" ; schema:description "ODS Wiki" ; schema:mainEntity <#this_ODSWikiModuleAPI> ; schema:about <#this_ODSWikiModuleAPI> . <#this_ODSWikiModuleAPI> a schema:WebApplication ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:name "ODS_Wiki" ; schema:description "ODS Wiki" ; schema:potentialAction <#action_e72f6fa9c9ded1dde2b1de4401640245> , <#action_9e7a615dc6a7d7c51ba06e8a8f23a008> , <#action_429602fd7c998576f4d0479442ca2d22> , <#action_729cba6da6eef97dd52310600fa19380> , <#action_ded71b69f3cb2382c41de656b0e47dc5> , <#action_635b7b603cb0f0eb209b48d84314936c> , <#action_45d783d5b32cc296c593ca9a8d0bc35d> , <#action_cdde6197c8d59cebb8175bb1ac4762e2> , <#action_7b702067e20ab47a339c5516028609f5> , <#action_e9f39bdb106aa5fe5f90ef9b326b2a4d> , <#action_b29f785d6b93058262bdf3fe34ecf228> , <#action_15a5d8e3f66d971db4861d1d65ff6cf1> , <#action_deacc95f5b016e50fb5f932072088b13> , <#action_d77c206f66cda3441af285832fa261fc> , <#action_b861d5c5bc09cc685019f0a4c0cbdbfd> , <#action_50c6359a7bba57e4875535108bf64f42> , <#action_08e13b75c529088b4afb42c25c7de2f3> , <#action_5b209cdd34211ac5e8bd5cfdad0d2d5a> . <#action_e72f6fa9c9ded1dde2b1de4401640245> a schema:Action ; schema:name "wiki_comment_delete" ; schema:target <#action_wiki.comment.delete> . <#action_wiki.comment.delete> a schema:EntryPoint ; schema:name "EntryPoint - wiki_comment_delete" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.comment.delete> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.comment.delete> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>comment_id</parametername> </parameternamelist> <parameterdescription> <p>The numerical id of the comment to delete.</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <simplesect kind=\"see\"><p><ref kindref=\"member\" refid=\"group__ods__module__wiki_1ga429602fd7c998576f4d0479442ca2d22\">wiki.comment.new</ref></p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.comment.delete?comment_id=5555&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 07:07:00 GMT Accept-Ranges: bytes Content-Type: text/xml; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Delete a comment. </p>" ; oplwebsrv:hasParameter <#action_wiki.comment.delete_#_comment_id> . <#action_wiki.comment.delete_#_comment_id> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "comment_id" ; schema:name "comment_id" ; # oplwebsrv:parameterType "integer" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The numerical id of the comment to delete.</p>" . <#action_9e7a615dc6a7d7c51ba06e8a8f23a008> a schema:Action ; schema:name "wiki_comment_get" ; schema:target <#action_wiki.comment.get> . <#action_wiki.comment.get> a schema:EntryPoint ; schema:name "EntryPoint - wiki_comment_get" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.comment.get> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.comment.get> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>comment_id</parametername> </parameternamelist> <parameterdescription> <p>The id of the comment.</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>The details of the comment encoded as RDF+XML triples.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.comment.get?comment_id=5555&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 07:04:08 GMT Accept-Ranges: bytes Content-Type: application/sparql-results+xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Get details of a comment. </p>" ; oplwebsrv:hasParameter <#action_wiki.comment.get_#_comment_id> . <#action_wiki.comment.get_#_comment_id> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "comment_id" ; schema:name "comment_id" ; # oplwebsrv:parameterType "integer" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The id of the comment.</p>" . <#action_429602fd7c998576f4d0479442ca2d22> a schema:Action ; schema:name "wiki_comment_new" ; schema:target <#action_wiki.comment.new> . <#action_wiki.comment.new> a schema:EntryPoint ; schema:name "EntryPoint - wiki_comment_new" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.comment.new> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.comment.new> ; schema:description "<p>Comments can be put in threads, ie. a comment can have a parent comment. In that case it is considered a reply to the parent comment.</p><p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>topic</parametername> </parameternamelist> <parameterdescription> <p>The topic name </p></parameterdescription> </li> <li> <parameternamelist> <parametername>title</parametername> </parameternamelist> <parameterdescription> <p>The title of the comment. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>text</parametername> </parameternamelist> <parameterdescription> <p>The text body of the comment. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The name of the commenter. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>email</parametername> </parameternamelist> <parameterdescription> <p>The email address of the commenter. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>url</parametername> </parameternamelist> <parameterdescription> <p>An optional URL to identify the commenter.</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>. If successful the error code matches the id of the newly created comment.</p></simplesect> <simplesect kind=\"see\"><p><ref kindref=\"member\" refid=\"group__ods__module__wiki_1gae72f6fa9c9ded1dde2b1de4401640245\">wiki.comment.delete</ref></p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.comment.new?cluster=DemoWiki&amp;topic=Test&amp;title=test&amp;text=simple&amp;name=Kate&amp;email=kate@yahoo.com&amp;url=http://openlinksw.com&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 07:03:15 GMT Accept-Ranges: bytes Content-Type: text/xml; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;5555&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Create a new comment on an event or task. </p>" ; oplwebsrv:hasParameter <#action_wiki.comment.new_#_cluster> , <#action_wiki.comment.new_#_topic> , <#action_wiki.comment.new_#_parent_id> , <#action_wiki.comment.new_#_title> , <#action_wiki.comment.new_#_text> , <#action_wiki.comment.new_#_name> , <#action_wiki.comment.new_#_email> , <#action_wiki.comment.new_#_url> . <#action_wiki.comment.new_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.comment.new_#_topic> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "topic" ; schema:name "topic" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name </p>" . <#action_wiki.comment.new_#_parent_id> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "parent_id" ; schema:name "parent_id" ; # oplwebsrv:parameterType "integer" ; oplwebsrv:isRequired false ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> . <#action_wiki.comment.new_#_title> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "title" ; schema:name "title" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The title of the comment. </p>" . <#action_wiki.comment.new_#_text> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "text" ; schema:name "text" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The text body of the comment. </p>" . <#action_wiki.comment.new_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The name of the commenter. </p>" . <#action_wiki.comment.new_#_email> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "email" ; schema:name "email" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The email address of the commenter. </p>" . <#action_wiki.comment.new_#_url> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "url" ; schema:name "url" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired false ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>An optional URL to identify the commenter.</p>" . <#action_729cba6da6eef97dd52310600fa19380> a schema:Action ; schema:name "wiki_options_get" ; schema:target <#action_wiki.options.get> . <#action_wiki.options.get> a schema:EntryPoint ; schema:name "EntryPoint - wiki_options_get" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.options.get> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.options.get> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The configuration option name. Supported options are:<itemizedlist> <listitem><p>indexPage</p></listitem><listitem><p>skinSource</p></listitem><listitem><p>primarySkin</p></listitem><listitem><p>secondarySkin</p></listitem><listitem><p>wikiPlugin</p></listitem><listitem><p>newTopicTemplate</p></listitem><listitem><p>newCategoryTempate</p></listitem><listitem><p>vhostRegularExpression</p></listitem><listitem><p>deliciousEnabled</p></listitem><listitem><p>webmailEnabled</p></listitem><listitem><p>antiSpam</p></listitem><listitem><p>technoratiApiKey</p></listitem><listitem><p>conversationEnabled</p></listitem><listitem><p>inlineMacros</p></listitem><listitem><p>interClusterAutolinks</p></listitem></itemizedlist> </p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>The configuration option value</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.options.get?cluster=DemoWiki&amp;name=indexPage&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:10:08 GMT Accept-Ranges: bytes Content-Type: text/plain Content-Length: 625 WelcomeVisitors </pre> </p>" ; schema:shortDescription "<p>Get the configuration option of a Wiki instance. </p>" ; oplwebsrv:hasParameter <#action_wiki.options.get_#_cluster> , <#action_wiki.options.get_#_name> . <#action_wiki.options.get_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.options.get_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The configuration option name. Supported options are:<itemizedlist> <listitem><p>indexPage</p></listitem><listitem><p>skinSource</p></listitem><listitem><p>primarySkin</p></listitem><listitem><p>secondarySkin</p></listitem><listitem><p>wikiPlugin</p></listitem><listitem><p>newTopicTemplate</p></listitem><listitem><p>newCategoryTempate</p></listitem><listitem><p>vhostRegularExpression</p></listitem><listitem><p>deliciousEnabled</p></listitem><listitem><p>webmailEnabled</p></listitem><listitem><p>antiSpam</p></listitem><listitem><p>technoratiApiKey</p></listitem><listitem><p>conversationEnabled</p></listitem><listitem><p>inlineMacros</p></listitem><listitem><p>interClusterAutolinks</p></listitem></itemizedlist> </p>" . <#action_ded71b69f3cb2382c41de656b0e47dc5> a schema:Action ; schema:name "wiki_options_set" ; schema:target <#action_wiki.options.set> . <#action_wiki.options.set> a schema:EntryPoint ; schema:name "EntryPoint - wiki_options_set" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.options.set> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.options.set> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The configuration option name<itemizedlist> <listitem><p>indexPage</p></listitem><listitem><p>skinSource</p></listitem><listitem><p>primarySkin</p></listitem><listitem><p>secondarySkin</p></listitem><listitem><p>wikiPlugin</p></listitem><listitem><p>newTopicTemplate</p></listitem><listitem><p>newCategoryTempate</p></listitem><listitem><p>vhostRegularExpression</p></listitem><listitem><p>deliciousEnabled</p></listitem><listitem><p>webmailEnabled</p></listitem><listitem><p>antiSpam</p></listitem><listitem><p>technoratiApiKey</p></listitem><listitem><p>conversationEnabled</p></listitem><listitem><p>inlineMacros</p></listitem><listitem><p>interClusterAutolinks </p></listitem></itemizedlist> </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The configuration option value</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.options.set?cluster=DemoWiki&amp;name=indexPage&amp;value=WelcomeVisitors&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:10:08 GMT Accept-Ranges: bytes Content-Type: text/plain Content-Length: 625 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Set the configuration option of a Wiki instance. </p>" ; oplwebsrv:hasParameter <#action_wiki.options.set_#_cluster> , <#action_wiki.options.set_#_name> , <#action_wiki.options.set_#_value> . <#action_wiki.options.set_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.options.set_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The configuration option name<itemizedlist> <listitem><p>indexPage</p></listitem><listitem><p>skinSource</p></listitem><listitem><p>primarySkin</p></listitem><listitem><p>secondarySkin</p></listitem><listitem><p>wikiPlugin</p></listitem><listitem><p>newTopicTemplate</p></listitem><listitem><p>newCategoryTempate</p></listitem><listitem><p>vhostRegularExpression</p></listitem><listitem><p>deliciousEnabled</p></listitem><listitem><p>webmailEnabled</p></listitem><listitem><p>antiSpam</p></listitem><listitem><p>technoratiApiKey</p></listitem><listitem><p>conversationEnabled</p></listitem><listitem><p>inlineMacros</p></listitem><listitem><p>interClusterAutolinks </p></listitem></itemizedlist> </p>" . <#action_wiki.options.set_#_value> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "value" ; schema:name "value" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> . <#action_635b7b603cb0f0eb209b48d84314936c> a schema:Action ; schema:name "wiki_topic_delete" ; schema:target <#action_wiki.topic.delete> . <#action_wiki.topic.delete> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_delete" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.delete> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.delete> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name to be delete</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <simplesect kind=\"see\"><p><ref kindref=\"member\" refid=\"group__ods__module__wiki_1ga7b702067e20ab47a339c5516028609f5\">wiki.topic.new</ref></p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.delete?cluster=DemoWiki&amp;name=Test&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Delete a topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.delete_#_cluster> , <#action_wiki.topic.delete_#_name> . <#action_wiki.topic.delete_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired false ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.delete_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name to be delete</p>" . <#action_45d783d5b32cc296c593ca9a8d0bc35d> a schema:Action ; schema:name "wiki_topic_edit" ; schema:target <#action_wiki.topic.edit> . <#action_wiki.topic.edit> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_edit" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.edit> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.edit> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name </p></parameterdescription> </li> <li> <parameternamelist> <parametername>content</parametername> </parameternamelist> <parameterdescription> <p>The topic content</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <simplesect kind=\"see\"><p><ref kindref=\"member\" refid=\"group__ods__module__wiki_1ga7b702067e20ab47a339c5516028609f5\">wiki.topic.new</ref></p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.edit?cluster=DemoWiki&amp;name=Test&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Modify a topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.edit_#_cluster> , <#action_wiki.topic.edit_#_name> , <#action_wiki.topic.edit_#_content> . <#action_wiki.topic.edit_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.edit_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name </p>" . <#action_wiki.topic.edit_#_content> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "content" ; schema:name "content" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic content</p>" . <#action_cdde6197c8d59cebb8175bb1ac4762e2> a schema:Action ; schema:name "wiki_topic_get" ; schema:target <#action_wiki.topic.get> . <#action_wiki.topic.get> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_get" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.get> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.get> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.get?cluster=DemoWiki&amp;name=Test&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: application/sparql-results+xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Get the details of a specific topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.get_#_cluster> , <#action_wiki.topic.get_#_name> . <#action_wiki.topic.get_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.get_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name</p>" . <#action_7b702067e20ab47a339c5516028609f5> a schema:Action ; schema:name "wiki_topic_new" ; schema:target <#action_wiki.topic.new> . <#action_wiki.topic.new> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_new" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.new> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.new> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name </p></parameterdescription> </li> <li> <parameternamelist> <parametername>content</parametername> </parameternamelist> <parameterdescription> <p>The topic content</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.new?cluster=DemoWiki&amp;name=Test&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Create a new topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.new_#_cluster> , <#action_wiki.topic.new_#_name> , <#action_wiki.topic.new_#_content> . <#action_wiki.topic.new_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.new_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name </p>" . <#action_wiki.topic.new_#_content> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "content" ; schema:name "content" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic content</p>" . <#action_e9f39bdb106aa5fe5f90ef9b326b2a4d> a schema:Action ; schema:name "wiki_topic_sync" ; schema:target <#action_wiki.topic.sync> . <#action_wiki.topic.sync> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_sync" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.sync> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.sync> ; schema:shortDescription "" ; oplwebsrv:hasParameter <#action_wiki.topic.sync_#_cluster> , <#action_wiki.topic.sync_#_name> . <#action_wiki.topic.sync_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> . <#action_wiki.topic.sync_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> . <#action_b29f785d6b93058262bdf3fe34ecf228> a schema:Action ; schema:name "wiki_topic_versions" ; schema:target <#action_wiki.topic.versions> . <#action_wiki.topic.versions> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_versions" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.versions> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.versions> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.versions?cluster=DemoWiki&amp;name=Test&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Get the details of the versions of the specific topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.versions_#_cluster> , <#action_wiki.topic.versions_#_name> . <#action_wiki.topic.versions_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired false ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.versions_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name</p>" . <#action_15a5d8e3f66d971db4861d1d65ff6cf1> a schema:Action ; schema:name "wiki_topic_versions_diff" ; schema:target <#action_wiki.topic.versions.diff> . <#action_wiki.topic.versions.diff> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_versions_diff" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.versions.diff> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.versions.diff> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name </p></parameterdescription> </li> <li> <parameternamelist> <parametername>version</parametername> </parameternamelist> <parameterdescription> <p>The topic version number</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.versions.diff?cluster=DemoWiki&amp;name=Test&amp;version=1&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Get the diff of the specific version of the specific topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.versions.diff_#_cluster> , <#action_wiki.topic.versions.diff_#_name> , <#action_wiki.topic.versions.diff_#_version> . <#action_wiki.topic.versions.diff_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.versions.diff_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name </p>" . <#action_wiki.topic.versions.diff_#_version> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "version" ; schema:name "version" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic version number</p>" . <#action_deacc95f5b016e50fb5f932072088b13> a schema:Action ; schema:name "wiki_topic_versions_get" ; schema:target <#action_wiki.topic.versions.get> . <#action_wiki.topic.versions.get> a schema:EntryPoint ; schema:name "EntryPoint - wiki_topic_versions_get" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.topic.versions.get> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.topic.versions.get> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the topic </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>The topic name </p></parameterdescription> </li> <li> <parameternamelist> <parametername>version</parametername> </parameternamelist> <parameterdescription> <p>The topic version number</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>A set of RDF triples detailing the event or task encoded as RDF+XML.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.topic.versions.get?cluster=DemoWiki&amp;name=Test&amp;version=1&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 21:05:58 GMT Accept-Ranges: bytes Content-Type: text/xml Content-Length: 1234 ... </pre> </p>" ; schema:shortDescription "<p>Get the details of the specific version of the specific topic. </p>" ; oplwebsrv:hasParameter <#action_wiki.topic.versions.get_#_cluster> , <#action_wiki.topic.versions.get_#_name> , <#action_wiki.topic.versions.get_#_version> . <#action_wiki.topic.versions.get_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the topic </p>" . <#action_wiki.topic.versions.get_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic name </p>" . <#action_wiki.topic.versions.get_#_version> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "version" ; schema:name "version" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The topic version number</p>" . <#action_d77c206f66cda3441af285832fa261fc> a schema:Action ; schema:name "wiki_upstream_check" ; schema:target <#action_wiki.upstream.check> . <#action_wiki.upstream.check> a schema:EntryPoint ; schema:name "EntryPoint - wiki_upstream_check" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.upstream.check> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.upstream.check> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>url</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.upstream.check?url=http://vos.openlinksw.com/dataspace/demo/wiki/demoWiki2/atom-pub\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:28:58 GMT Accept-Ranges: bytes Content-Type: text/plain; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Check a wiki upstream URL. </p>" ; oplwebsrv:hasParameter <#action_wiki.upstream.check_#_url> . <#action_wiki.upstream.check_#_url> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "url" ; schema:name "url" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_b861d5c5bc09cc685019f0a4c0cbdbfd> a schema:Action ; schema:name "wiki_upstream_delete" ; schema:target <#action_wiki.upstream.delete> . <#action_wiki.upstream.delete> a schema:EntryPoint ; schema:name "EntryPoint - wiki_upstream_delete" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.upstream.delete> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.upstream.delete> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the upstream </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>A human-readable name for the upstream.</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.upstream.delete?cluster=DemoWiki&amp;name=demoUpstream&amp;userName=demo&amp;userPassword=demo&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:31:09 GMT Accept-Ranges: bytes Content-Type: text/xml; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Delete a wiki upstream. </p>" ; oplwebsrv:hasParameter <#action_wiki.upstream.delete_#_cluster> , <#action_wiki.upstream.delete_#_name> . <#action_wiki.upstream.delete_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the upstream </p>" . <#action_wiki.upstream.delete_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>A human-readable name for the upstream.</p>" . <#action_50c6359a7bba57e4875535108bf64f42> a schema:Action ; schema:name "wiki_upstream_edit" ; schema:target <#action_wiki.upstream.edit> . <#action_wiki.upstream.edit> a schema:EntryPoint ; schema:name "EntryPoint - wiki_upstream_edit" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.upstream.edit> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.upstream.edit> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the upstream </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>A human-readable name for the upstream. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>url</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> <li> <parameternamelist> <parametername>user</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> <li> <parameternamelist> <parametername>password</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.upstream.edit?cluster=DemoWiki&amp;name=demoUpstream&amp;url=http://vos.openlinksw.com/dataspace/demo/wiki/demoWiki2/atom-pub&amp;userName=demo&amp;userPassword=demo&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:30:08 GMT Accept-Ranges: bytes Content-Type: text/plain; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Modify a wiki upstream. </p>" ; oplwebsrv:hasParameter <#action_wiki.upstream.edit_#_cluster> , <#action_wiki.upstream.edit_#_name> , <#action_wiki.upstream.edit_#_url> , <#action_wiki.upstream.edit_#_user> , <#action_wiki.upstream.edit_#_password> . <#action_wiki.upstream.edit_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the upstream </p>" . <#action_wiki.upstream.edit_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>A human-readable name for the upstream. </p>" . <#action_wiki.upstream.edit_#_url> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "url" ; schema:name "url" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_wiki.upstream.edit_#_user> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "user" ; schema:name "user" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_wiki.upstream.edit_#_password> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "password" ; schema:name "password" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_08e13b75c529088b4afb42c25c7de2f3> a schema:Action ; schema:name "wiki_upstream_new" ; schema:target <#action_wiki.upstream.new> . <#action_wiki.upstream.new> a schema:EntryPoint ; schema:name "EntryPoint - wiki_upstream_new" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.upstream.new> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.upstream.new> ; schema:description "<p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the upstream </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>A human-readable name for the new upstream. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>url</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> <li> <parameternamelist> <parametername>user</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> <li> <parameternamelist> <parametername>password</parametername> </parameternamelist> <parameterdescription> <p /></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>. If successful the error code matches the id of the newly created upstream.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.upstream.new?cluster=DemoWiki&amp;name=demoUpstream&amp;url=http://vos.openlinksw.com/dataspace/demo/wiki/demoWiki2/atom-pub&amp;userName=demo&amp;userPassword=demo&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Fri, 20 May 2011 08:28:58 GMT Accept-Ranges: bytes Content-Type: text/plain; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Create a new wiki upstream. </p>" ; oplwebsrv:hasParameter <#action_wiki.upstream.new_#_cluster> , <#action_wiki.upstream.new_#_name> , <#action_wiki.upstream.new_#_url> , <#action_wiki.upstream.new_#_user> , <#action_wiki.upstream.new_#_password> . <#action_wiki.upstream.new_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the upstream </p>" . <#action_wiki.upstream.new_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>A human-readable name for the new upstream. </p>" . <#action_wiki.upstream.new_#_url> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "url" ; schema:name "url" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_wiki.upstream.new_#_user> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "user" ; schema:name "user" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_wiki.upstream.new_#_password> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "password" ; schema:name "password" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p />" . <#action_5b209cdd34211ac5e8bd5cfdad0d2d5a> a schema:Action ; schema:name "wiki_upstream_sync" ; schema:target <#action_wiki.upstream.sync> . <#action_wiki.upstream.sync> a schema:EntryPoint ; schema:name "EntryPoint - wiki_upstream_sync" ; schema:url <https://vos.openlinksw.com/ods/api/wiki.upstream.sync> ; schema:httpMethod "GET" ; schema:contentType "text/xml" ; ## OpenLink Web Services Ontology Terms oplwebsrv:isWebServiceOf <#this_ODSWikiModuleAPI> ; oplwebsrv:endPointURL <https://vos.openlinksw.com/ods/api/wiki.upstream.sync> ; schema:description "<p>Manually synchonizes a cluster upstream created with <ref kindref=\"member\" refid=\"group__ods__module__wiki_1ga08e13b75c529088b4afb42c25c7de2f3\">wiki.upstream.new()</ref>. This is required if the subscription has been configured to be manually updated. However, it can also be used to force an update on subscriptions with a scheduled update interval.</p><p><parameterlist kind=\"param\"><li> <parameternamelist> <parametername>cluster</parametername> </parameternamelist> <parameterdescription> <p>The cluster name of the upstream </p></parameterdescription> </li> <li> <parameternamelist> <parametername>name</parametername> </parameternamelist> <parameterdescription> <p>A human-readable name for the upstream.</p></parameterdescription> </li> </ul> <simplesect kind=\"return\"><p>An error code stating the success of the command execution as detailed in <ref kindref=\"member\" refid=\"ods_response_format_1ods_response_format_result_code\">ODS Error Result Codes</ref>.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i \"http://vos.openlinksw.com/ods/api/wiki.upstream.sync?cluster=DemoWiki&amp;name=demoUpstream&amp;userName=demo&amp;userPassword=demo&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64 VDB Connection: Keep-Alive Date: Tue, 24 May 2011 22:40:59 GMT Accept-Ranges: bytes Content-Type: text/xml; charset=\"UTF-8\" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre> </p>" ; schema:shortDescription "<p>Synchronize a cluster upstream. </p>" ; oplwebsrv:hasParameter <#action_wiki.upstream.sync_#_cluster> , <#action_wiki.upstream.sync_#_name> . <#action_wiki.upstream.sync_#_cluster> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "cluster" ; schema:name "cluster" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>The cluster name of the upstream </p>" . <#action_wiki.upstream.sync_#_name> a oplwebsrv:WebServiceParameter ; oplwebsrv:parameterName "name" ; schema:name "name" ; # oplwebsrv:parameterType "varchar" ; oplwebsrv:isRequired true ; wdrs:describedby <#this_ODSWikiModuleAPIDoc> ; schema:mainEntityOfPage <#this_ODSWikiModuleAPIDoc> ; schema:description "<p>A human-readable name for the upstream.</p>" . </script> </head> <body class="wy-body-for-nav" role="document"> <div class="wy-grid-for-nav"> <nav data-toggle="wy-nav-shift" class="wy-nav-side"> <div class="wy-side-scroll"> <div class="wy-side-nav-search"> <a href="." class="icon icon-home">VOS.VirtJdbcHibernate</a> <div role="search"> <form id="rtd-search-form" class="wy-form" action="/wiki/resources/advanced_search.vspx" method="post"><input type="hidden" name="cluster" value="VOS" /><input type="text" name="q" size="60" id="new_search_txt" value="" /><input name="area" value="default" type="hidden" /> </form> </div> </div><!--Left margin menu--> <div aria-label="main navigation" role="navigation" data-spy="affix" class="wy-menu wy-menu-vertical" style="padding-left: 1em"> <ul class="oplleftmenu"> <li class="oplleftmenutitle">You are here: </li> <li class="toctrlite-l1 tocsoliton breadcrumb">/<a href="http://vos.openlinksw.com/dataspace/owiki/wiki/VOS">VOS</a>/<a href="http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate">VirtJdbcHibernate</a> </li> <li class="oplleftmenutitle">Tools</li> <li> <a id="loginlink" href="">Login</a> </li> <li class="oplleftmenutitle">Formats <br /> </li> <li> <a rel="nofollow" href="?command=text">Text</a> </li> <li> <a rel="nofollow" href="?command=plain-html">Plain HTML</a> </li> <li> <a rel="nofollow" href="?command=docbook">DocBook</a> </li> <li> <a rel="nofollow" href="?command=export_rdf">Export RDF</a> </li> <li class="oplleftmenutitle">Cluster Changes</li> <li> <img border="0" alt="RSS" title="RSS" src="https://vos.openlinksw.com/wiki/resources/images/rss-icon-12.png" /><a href="https://vos.openlinksw.com/wiki/resources/gems.vsp?type=rss20"> RSS 2.0 </a> </li> <li> <img border="0" alt="RDF" title="RDF" src="https://vos.openlinksw.com/wiki/resources/images/rdf-icon-12.png" /><a href="https://vos.openlinksw.com/wiki/resources/gems.vsp?type=rdf"> RDF </a> </li> <li> <img border="0" alt="SIOC (RDF/XML)" title="SIOC (RDF/XML)" src="https://vos.openlinksw.com/wiki/resources/images/rdf-icon-12.png" /><a href="http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/sioc.rdf&#10; "> SIOC (RDF/XML) </a> </li> <li> <img border="0" alt="SIOC (N3/Turtle)" title="SIOC (N3/Turtle)" src="https://vos.openlinksw.com/wiki/resources/images/rdf-icon-12.png" /><a href="http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/sioc.ttl&#10; "> SIOC (N3/Turtle) </a> </li> <li class="oplleftmenutitle">Meta</li> <li> Modified by at </li> <li> <br /> Version History:<br /> <a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?rev=3">1.3</a><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=diff&amp;rev=2" alt="View changes between revisions" title="View changes between revisions">&gt;</a><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?rev=2">1.2</a><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=diff&amp;rev=1" alt="View changes between revisions" title="View changes between revisions">&gt;</a><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?rev=1">1.1</a> </li> </ul> </div> <div class="wy-menu wy-menu-vertical" data-toggle="rst-versions" role="note" aria-label="versions"> <hr style="width: 50%; text-align: center; margin: 1em;" /> <br /> <dl> <dt style="color: white">OpenLink Software</dt> <dd> <a href="https://www.openlinksw.com/">Home</a> </dd> <dd> <a href="http://uda.openlinksw.com/">Universal Data Access (UDA) <br /> - ODBC, JDBC, ADO.NET and OleDB Drivers </a> </dd> <dd> <a href="http://virtuoso.openlinksw.com/">Virtuoso</a> </dd> <dd> <a href="http://vos.openlinksw.com/漏">Virtuoso Open-Souce Edition</a> </dd> <dd> <a href="http://osde.openlinksw.com/">OpenLink Structured Data Editor</a> </dd> <dd> <a href="http://osds.openlinksw.com/">OpenLink Structured Data Sniffer</a> </dd> <dd> <a href="http://ode.openlinksw.com/">OpenLink Data Explorer (ODE)</a> </dd> <dd> <a href="http://oat.openlinksw.com/">OpenLink AJAX Toolkit (OAT)</a> </dd> <dd> <a href="http://ods.openlinksw.com/wiki/ODS/">OpenLink Data Spaces (ODS)</a> </dd> </dl> </div> </div> </nav> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <nav class="wy-nav-top" role="navigation" aria-label="top navigation"><i data-toggle="wy-nav-top" class="fa fa-bars"></i><a href=".">Virtuoso Documentation</a> </nav> <div class="wy-nav-content"> <div class="rst-content"> <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> <div itemprop="articleBody"> <hr /><!--Start body content--><!--Invoked as wiki: cluster=VOS, site=wiki-VOS --> <div id="thecontent"> <div style="display: none"> <li id="wiki-nstab-main" class="selected"> <a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate" id="current-topic">Topic</a> </li> <li id="wiki-nstab-talks"> <a id="current-topic-talks" href="javascript: void(0);" title="Discussion" onclick="javascript: window.open('https://vos.openlinksw.com/wiki/resources/conversation.vspx?fid=545934711', 'conversation', 'width=700,height=650,scrollbars=yes'); return false;"> Discussion </a> </li> <div id="other-output-toolbar"> <span><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate">VOS.VirtJdbcHibernate</a>(Last) </span><span> -- DAVWikiAdmin<a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/DAVWikiAdmin?WikiCluster=VOS">? </a>, 2018-05-16 10:00:45</span> <span><a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=edit">Edit</a> </span><span></span> <span> <div class="wiki-source-type"> <a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=text">[TXT]</a> </div> </span> <span> <div class="wiki-source-type"> <a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=plain-html">[PLAIN]</a> </div> </span> <span> <div class="wiki-source-type"> <a href="https://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtJdbcHibernate?command=docbook">[DOCBOOK]</a> </div> </span> <span id="top-mod-by"><a href="https://vos.openlinksw.com/dataspace/person/dav#this">WebDAV System Administrator</a> </span><span id="top-mod-time">2018-05-16 10:00:45</span> </div> </div> <div class="topic-text"> <h1> <a name="Virtuoso JDBC Driver Hibernate Support"></a> Virtuoso JDBC Driver Hibernate Support</h1> <p> </p> <div class="MACRO_TOC"> <div class="wikitoc"> <ul> <li> <a href="#What">What</a> </li> <li> <a href="#Why">Why</a> </li> <li> <a href="#How">How</a> </li> <li> <a href="#Setup%20and%20Testing">Setup and Testing</a> </li> <ul> <li> <a href="#Requirements">Requirements</a> </li> <li> <a href="#Building%20and%20running%20the%20example">Building and running the example</a> </li> <li> <a href="#Hibernate%20connection%20string">Hibernate connection string</a> </li> <li> <a href="#Example%201">Example 1</a> </li> <li> <a href="#Example%202">Example 2</a> </li> <li> <a href="#Example%203">Example 3</a> </li> </ul> <p> </p> </ul> </div> </div> <h2> <a name="What"></a>What</h2> <p>Hibernate is a powerful, open source, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following the object-oriented idiom - including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.</p> <h2> <a name="Why"></a>Why</h2> <p>Hibernate employs very aggressive, and very intelligent first and second level caching strategy, providing a high performance and scalable development framework for Java. Greater cross portability and productivity can also be achieve using hibernate as the same techniques can be employed across multiple databases.</p> <h2> <a name="How"></a>How</h2> <p>Hibernate uses JDBC for accessing databases and may require a given database has a custom <code>SQL dialect</code> file that informs Hibernate what SQL dialects are to be use for performing certain operations against the target database. Although not strictly required, it should be used to ensure Hibernate Query Language (HQL) statements are correctly converted into the proper SQL dialect for the underlying database. Virtuoso includes a new jar file called <code>virt_dialect.jar</code> containing the SQL dialect mappings required between hibernate and Virtuoso and is used in conjunction to the Virtuoso JDBC Drivers (<code>virtjdbc3.jar</code> or <code>virtjdbc4.jar</code>).</p> <h2> <a name="Setup and Testing"></a>Setup and Testing</h2> <p>Three <a href="http://download3.openlinksw.com/uda/virtuoso/6.1/hibernate/Hibernate_Examples.zip" class="absuri">sample programs</a> are provided to test Virtuoso hibernate support. Extract the contents of the zip file to a location of choice.</p> <h3> <a name="Requirements"></a>Requirements</h3> <ul> <li> <a href="https://www.hibernate.org/" class="absuri">Hibernate</a> 3.3 or higher </li> <li>JDK 5.0 or higher on any operating system </li> <li>Ant 1.6 </li> <li> <a href="http://download3.openlinksw.com/uda/virtuoso/6.2/hibernate/virt_dialect.jar" class="absuri">Virtuoso SQL Dialect jar file</a> (<code>virt_dialect.jar</code>) </li> <li> <a href="http://download3.openlinksw.com/uda/virtuoso/jdbc/virtjdbc4.jar" class="absuri">Virtuoso JDBC Driver jar file</a> (<code>virtjdbc4.jar</code>)</li> </ul> <h3> <a name="Building and running the example"></a>Building and running the example</h3> <p>The following Ant targets are available: </p> <br /> <pre> clean Clean the build directory compile Build example run Build and run example </pre><p> </p> <h3> <a name="Hibernate connection string"></a>Hibernate connection string</h3> <p>Edit the file <code>hibernate.cfg.xml</code> in the &quot;<code>bin</code>&quot; and &quot;<code>src</code>&quot; directories of the hibernate application directory with the correct connection attributes for the Virtuoso Server instance:</p> <br /> <pre>$ more hibernate.cfg.xml &lt;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&gt; &lt;!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD 3.0//EN&quot; &quot;http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&quot;&gt; &lt;hibernate-configuration&gt; &lt;session-factory&gt; &lt;!-- Database connection settings --&gt; &lt;property name=&quot;connection.driver_class&quot;&gt;virtuoso.jdbc4.Driver&lt;/property&gt; &lt;property name=&quot;connection.url&quot;&gt;jdbc:virtuoso://localhost:1111/&lt;/property&gt; &lt;property name=&quot;connection.username&quot;&gt;dba&lt;/property&gt; &lt;property name=&quot;connection.password&quot;&gt;dba&lt;/property&gt; &lt;!-- JDBC connection pool (use the built-in) --&gt; &lt;property name=&quot;connection.pool_size&quot;&gt;1&lt;/property&gt; &lt;!-- SQL dialect --&gt; &lt;property name=&quot;dialect&quot;&gt;virtuoso.hibernate.VirtuosoDialect&lt;/property&gt; &lt;!-- Enable Hibernate&#39;s current session context --&gt; &lt;property name=&quot;current_session_context_class&quot;&gt;thread&lt;/property&gt; &lt;!-- Disable the second-level cache --&gt; &lt;property name=&quot;cache.provider_class&quot;&gt;org.hibernate.cache.NoCacheProvider&lt;/property&gt; &lt;!-- Echo all executed SQL to stdout --&gt; &lt;property name=&quot;show_sql&quot;&gt;true&lt;/property&gt; &lt;!-- Drop and re-create the database schema on startup --&gt; &lt;property name=&quot;hbm2ddl.auto&quot;&gt;create&lt;/property&gt; &lt;mapping resource=&quot;events/Event.hbm.xml&quot;/&gt; &lt;/session-factory&gt; &lt;/hibernate-configuration&gt; </pre><p> The key attributes to set are --</p> <ul> <li> <b><code>connection.driver_class</code> </b> - Virtuoso JDBC Driver class name, typically <code>virtuoso.jdbc4.Driver</code> </li> <li> <b><code>connection.url</code> </b> - Virtuoso JDBC Driver connect string for target Virtuoso server instance, of the form <code>jdbc:virtuoso://hostname:portno</code> </li> <li> <b><code>connection.username</code> </b> - Virtuoso Server username </li> <li> <b><code>connection.password</code> </b> - Virtuoso Server password</li> </ul> <h3> <a name="Example 1"></a>Example 1</h3> <p>This sample performs a simple insert and retrieval of data against the Virtuoso database.</p> <ol> <li>Open your command shell and change to the &quot;<code>ex1</code>&quot; directory </li> <li>Place the following required files in the <code>./lib</code> directory: <br /> <pre><br />antlr-2.7.6.jar commons-collections-3.1.jar commons-logging-1.0.4.jar dom4j-1.6.1.jar hibernate3.jar javassist-3.4.GA.jar jta-1.1.jar lib.lst log4j-1.2.15.jar slf4j-api-1.5.10.jar slf4j-api-1.5.2.jar slf4j-jcl-1.5.10.jar virtjdbc4.jar virt_dialect.jar </pre><br /> </li> <li>Run the example with &quot;<code>ant run</code>&quot;, and read the log output on the console. <br /> <br /> <i><b>Note:</b> Hibernate logging levels can be varied by changing the settings in the <code>src/hibernate.cfg.xml</code> and <code>src/log4j.properties</code> files.</i> <br /> <pre><br />$ ant run Buildfile: build.xml clean: [delete] Deleting directory /Users/hughwilliams/hibernate/ex1/bin [mkdir] Created dir: /Users/hughwilliams/hibernate/ex1/bin copy-resources: [copy] Copying 3 files to /Users/hughwilliams/hibernate/ex1/bin [copy] Copied 2 empty directories to 1 empty directory under /Users/hughwilliams/hibernate/ex1/bin compile: [javac] Compiling 3 source files to /Users/hughwilliams/hibernate/ex1/bin run: [java] Hibernate: insert into Event (EVENT_DATE, title) values (?, ?) [java] Hibernate: select identity_value() [java] Hibernate: insert into Event (EVENT_DATE, title) values (?, ?) [java] Hibernate: select identity_value() [java] Hibernate: select event0_.EVENT_ID as EVENT1_0_, event0_.EVENT_DATE as EVENT2_0_, event0_.title as title0_ from Event event0_ [java] Event: My Event1 Time: 2010-03-14 03:27:51.0 [java] Event: My Event2 Time: 2010-03-14 03:27:53.0 BUILD SUCCESSFUL Total time: 3 seconds </pre><br /> </li> </ol> <h3> <a name="Example 2"></a>Example 2</h3> <p>Hello World with Java Persistence</p> <ol> <li>Open your command shell and change to the &quot;<code>ex2</code>&quot; directory </li> <li>Place the following required files in the <code>./lib</code> directory: <br /> <pre><br />antlr-2.7.6.jar asm-attrs.jar asm.jar c3p0-0.9.0.jar cglib-2.1.3.jar commons-collections-2.1.1.jar commons-logging-1.0.4.jar dom4j-1.6.1.jar ejb3-persistence.jar freemarker.jar hibernate-annotations.jar hibernate-commons-annotations.jar hibernate-entitymanager.jar hibernate-tools.jar hibernate3.jar javassist.jar jboss-archive-browsing.jar jta.jar log4j-1.2.13.jar virtjdbc4.jar virt_dialect.jar </pre><br /> </li> <li>Use &quot;<code>ant schemaexport</code>&quot; to export a database schema automatically to the database. Ignore any errors about failing <code>ALTER TABLE</code> statements; these are thrown because there are no tables when you run this for the first time. <br /> <pre><br />$ ant schemaexport Buildfile: build.xml compile: copymetafiles: schemaexport: [hibernatetool] Executing Hibernate Tool with a JPA Configuration [hibernatetool] 1. task: hbm2ddl (Generates database schema) [hibernatetool] [hibernatetool] drop table MESSAGES; [hibernatetool] [hibernatetool] create table MESSAGES ( [hibernatetool] MESSAGE_ID decimal(20,0) identity, [hibernatetool] MESSAGE_TEXT varchar(255) null, [hibernatetool] NEXT_MESSAGE_ID decimal(20,0) null, [hibernatetool] primary key (MESSAGE_ID) [hibernatetool] ); [hibernatetool] [hibernatetool] alter table MESSAGES [hibernatetool] add [hibernatetool] foreign key (NEXT_MESSAGE_ID) [hibernatetool] references MESSAGES; BUILD SUCCESSFUL Total time: 2 seconds </pre><br /> </li> <li>Check the DDL that was also exported to the file <code>helloworld-ddl.sql</code> <br /> <pre><br />$ more helloworld-ddl.sql drop table MESSAGES; create table MESSAGES ( MESSAGE_ID decimal(20,0) identity, MESSAGE_TEXT varchar(255) null, NEXT_MESSAGE_ID decimal(20,0) null, primary key (MESSAGE_ID) ); alter table MESSAGES add foreign key (NEXT_MESSAGE_ID) references MESSAGES; </pre><br /> </li> <li>Run the example with &quot;<code>ant run</code>&quot;, and read the log output on the console. <br /> <br /> <i><b>Note:</b> Hibernate logging levels can be varied by changing the settings in the <code>src/etc/log4j.properties</code> and <code>src/etc/META-INF/persistence.xml</code> files.</i> <br /> <pre><br />$ ant run Buildfile: build.xml compile: copymetafiles: run: [java] 1 message(s) found: [java] Hello World with JPA BUILD SUCCESSFUL Total time: 2 seconds </pre><br /> </li> <li>Call <code>ant run</code> again <br /> <pre><br />$ ant run Buildfile: build.xml compile: copymetafiles: run: [java] 2 message(s) found: [java] Hello World with JPA [java] Hello World with JPA BUILD SUCCESSFUL Total time: 2 seconds </pre><br /> </li> <li>If you call <code>ant schemaexport</code> again, all tables will be re-created</li> </ol> <p> </p> <h3> <a name="Example 3"></a>Example 3</h3> <p>This sample performs more complex insert and retrieval of data against the Virtuoso database.</p> <ol> <li>Open your command shell and change to the &quot;<code>ex3</code>&quot; directory </li> <li>The following required files need to be placed in the <code>./lib</code> directory: <br /> <pre><br />antlr-2.7.6.jar commons-collections-3.1.jar commons-logging-1.0.4.jar dom4j-1.6.1.jar hibernate3.jar javassist-3.4.GA.jar jta-1.1.jar libs.lst log4j-1.2.15.jar slf4j-api-1.5.10.jar slf4j-api-1.5.2.jar slf4j-jcl-1.5.10.jar virtjdbc4.jar virt_dialect.jar </pre><br /> </li> <li>Run the example with &quot;<code>ant run</code>&quot;, and read the log output on the console. <br /> <br /> <i><b>Note:</b> Hibernate logging levels can be varied by changing the settings in the <code>src/hibernate.cfg.xml</code> and <code>src/log4j.properties</code> files.</i> <br /> <pre><br />$ ant run Buildfile: build.xml clean: [delete] Deleting directory /Users/hughwilliams/hibernate/ex3/bin [mkdir] Created dir: /Users/hughwilliams/hibernate/ex3/bin copy-resources: [copy] Copying 4 files to /Users/hughwilliams/hibernate/ex3/bin [copy] Copied 2 empty directories to 1 empty directory under /Users/hughwilliams/hibernate/ex3/bin compile: [javac] Compiling 4 source files to /Users/hughwilliams/hibernate/ex3/bin [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. run: [java] Hibernate: insert into EVENTS (EVENT_DATE, title) values (?, ?) [java] Hibernate: select identity_value() [java] Hibernate: insert into EVENTS (EVENT_DATE, title) values (?, ?) [java] Hibernate: select identity_value() [java] Hibernate: insert into PERSON (age, firstname, lastname) values (?, ?, ?) [java] Hibernate: select identity_value() [java] Hibernate: select person0_.PERSON_ID as PERSON1_2_0_, event2_.EVENT_ID as EVENT1_0_1_, person0_.age as age2_0_, person0_.firstname as firstname2_0_, person0_.lastname as lastname2_0_, event2_.EVENT_DATE as EVENT2_0_1_, event2_.title as title0_1_, events1_.PERSON_ID as PERSON2_0__, events1_.EVENT_ID as EVENT1_0__ from PERSON person0_ left outer join PERSON_EVENT events1_ on person0_.PERSON_ID=events1_.PERSON_ID left outer join EVENTS event2_ on events1_.EVENT_ID=event2_.EVENT_ID where person0_.PERSON_ID=? [java] Hibernate: select event0_.EVENT_ID as EVENT1_0_0_, event0_.EVENT_DATE as EVENT2_0_0_, event0_.title as title0_0_ from EVENTS event0_ where event0_.EVENT_ID=? [java] Hibernate: select participan0_.EVENT_ID as EVENT1_1_, participan0_.PERSON_ID as PERSON2_1_, person1_.PERSON_ID as PERSON1_2_0_, person1_.age as age2_0_, person1_.firstname as firstname2_0_, person1_.lastname as lastname2_0_ from PERSON_EVENT participan0_ left outer join PERSON person1_ on participan0_.PERSON_ID=person1_.PERSON_ID where participan0_.EVENT_ID=? [java] Hibernate: insert into PERSON_EVENT (PERSON_ID, EVENT_ID) values (?, ?) [java] Hibernate: update PERSON set age=?, firstname=?, lastname=? where PERSON_ID=? [java] Added person 1 to event 2 [java] Hibernate: insert into PERSON (age, firstname, lastname) values (?, ?, ?) [java] Hibernate: select identity_value() [java] Hibernate: select person0_.PERSON_ID as PERSON1_2_0_, person0_.age as age2_0_, person0_.firstname as firstname2_0_, person0_.lastname as lastname2_0_ from PERSON person0_ where person0_.PERSON_ID=? [java] Hibernate: select emailaddre0_.PERSON_ID as PERSON1_0_, emailaddre0_.EMAIL_ADDR as EMAIL2_0_ from PERSON_EMAIL_ADDR emailaddre0_ where emailaddre0_.PERSON_ID=? [java] Hibernate: insert into PERSON_EMAIL_ADDR (PERSON_ID, EMAIL_ADDR) values (?, ?) [java] Hibernate: select person0_.PERSON_ID as PERSON1_2_0_, person0_.age as age2_0_, person0_.firstname as firstname2_0_, person0_.lastname as lastname2_0_ from PERSON person0_ where person0_.PERSON_ID=? [java] Hibernate: select emailaddre0_.PERSON_ID as PERSON1_0_, emailaddre0_.EMAIL_ADDR as EMAIL2_0_ from PERSON_EMAIL_ADDR emailaddre0_ where emailaddre0_.PERSON_ID=? [java] Hibernate: insert into PERSON_EMAIL_ADDR (PERSON_ID, EMAIL_ADDR) values (?, ?) [java] Added two email addresses (value typed objects) to person entity : 1 [java] Hibernate: select event0_.EVENT_ID as EVENT1_0_, event0_.EVENT_DATE as EVENT2_0_, event0_.title as title0_ from EVENTS event0_ [java] Event: My Event Time: 2010-03-14 03:30:02.0 [java] Event: My Event Time: 2010-03-14 03:30:06.0 BUILD SUCCESSFUL Total time: 5 seconds </pre><br /> </li> </ol> <Versions></Versions><tags></tags> </div> </div><!--End body content--> </div> <footer><div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"></div> <hr /> <div role="contentinfo" class="contentinfo"> <p> 漏 Copyright <a href="https://www.openlinksw.com/">OpenLink Software </a> 2016- <br /> OpenLink Software Documentation Team &lt;virtuoso.docs@openlinksw.com&gt; </p> </div> </footer> </div> </div> </div> </section> </div> <script type="text/javascript"> jQuery(function () { SphinxRtdTheme.StickyNav.enable(); }); $("footer >div.contentinfo p").html(' 漏 Copyright <a href="https://www.openlinksw.com/">OpenLink Software </a> '+(new Date).getFullYear()+'- <br /> OpenLink Software Documentation Team <virtuoso.docs@openlinksw.com>') </script> <!--Begin OSDI data--> <!--OSDI structured data injection end--> <script type="text/javascript"> document.getElementById("HD_ODS_BAR").style.cssText = 'position:relative; top: -1em;'; if (document.location.toString().indexOf("advanced_search.vspx") > 0) { ["head", "head-cols", "wiki-path", "hdr-search-form-ctr"].forEach(function (cls) { var elid = document.getElementById(cls); if (elid) { elid.parentElement.removeChild(elid); } }) } </script><script type="text/javascript"> $("#loginlink").attr("href", "/ods//login.vspx?URL=" + encodeURI(document.location)); </script><!--Google tag (gtag.js)--><script async="async" type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=G-ST19C236MC"></script><script type="text/javascript"> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-ST19C236MC'); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10