Added: jakarta/slide/trunk/proposals/purexmladapter/slide/Domain.xml URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/proposals/purexmladapter/slide/Domain.xml?view=auto&rev=524298 ============================================================================== --- jakarta/slide/trunk/proposals/purexmladapter/slide/Domain.xml (added) +++ jakarta/slide/trunk/proposals/purexmladapter/slide/Domain.xml Fri Mar 30 15:24:26 2007 @@ -0,0 +1,384 @@ +<?xml version="1.0"?> +<slide> + <namespace name="slide"> + <definition> + <store name="DB2Store"> + <!--<parameter name="cache-mode">off</parameter>--> + <nodestore classname="org.apache.slide.store.impl.rdbms.JDBCStore"> + <parameter name="adapter">com.ibm.db2.purexml.DB2PureXML</parameter> + <parameter name="driver">com.ibm.db2.jcc.DB2Driver</parameter> + <parameter name="url">jdbc:db2://localhost:50000/slidexml</parameter> + <parameter name="user">username</parameter> + <parameter name="password">pwd</parameter> + <parameter name="dbcpPooling">false</parameter> + <parameter name="maxPooledConnections">10</parameter> + <parameter name="isolation">SERIALIZABLE</parameter> + <parameter name="compress">false</parameter> + </nodestore> + <sequencestore> + <reference store="nodestore"/> + </sequencestore> + <securitystore> + <reference store="nodestore"/> + </securitystore> + <lockstore> + <reference store="nodestore"/> + </lockstore> + <revisiondescriptorsstore> + <reference store="nodestore"/> + </revisiondescriptorsstore> + <revisiondescriptorstore> + <reference store="nodestore"/> + </revisiondescriptorstore> + <contentstore> + <reference store="nodestore"/> + </contentstore> + <!-- uncomment if you want to use the sample Indexer --> + <!-- be sure to have Lucene in your classpath --> + <!-- + <contentindexer classname="org.apache.slide.index.SampleTxtContainsIndexer"> + <parameter name="indexpath">./index</parameter> + </contentindexer> + --> + </store> + <scope match="/" store="DB2Store"/> + </definition> + <configuration> + <!-- Actions mapping --> + <read-object>/actions/read</read-object> + <create-object>/actions/write</create-object> + <remove-object>/actions/write</remove-object> + <grant-permission>/actions/write-acl</grant-permission> + <revoke-permission>/actions/write-acl</revoke-permission> + <read-permissions>/actions/read-acl</read-permissions> + <read-own-permissions>/actions/read-current-user-privilege-set</read-own-permissions> + <lock-object>/actions/write</lock-object> + <kill-lock>/actions/unlock</kill-lock> + <read-locks>/actions/read</read-locks> + <read-revision-metadata>/actions/read</read-revision-metadata> + <create-revision-metadata>/actions/write-properties</create-revision-metadata> + <modify-revision-metadata>/actions/write-properties</modify-revision-metadata> + <remove-revision-metadata>/actions/write-properties</remove-revision-metadata> + <read-revision-content>/actions/read</read-revision-content> + <create-revision-content>/actions/write-content</create-revision-content> + <modify-revision-content>/actions/write-content</modify-revision-content> + <remove-revision-content>/actions/write-content</remove-revision-content> + <bind-member>/actions/bind</bind-member> + <unbind-member>/actions/unbind</unbind-member> + <!-- Paths configuration --> + <userspath>/users</userspath> + <rolespath>/roles</rolespath> + <actionspath>/actions</actionspath> + <filespath>/files</filespath> + <parameter name="dav">true</parameter> + <parameter name="standalone">true</parameter> + <parameter name="acl_inheritance_type">path</parameter> + <!-- Nested roles: 0 means no nesting (default), 1 means one sublevel, etc. --> + <parameter name="nested_roles_maxdepth">0</parameter> + <!-- Can be "off", "write" and "full" --> + <parameter name="sequential-mode">full</parameter> + <!-- "false" lets all read-only methods be executed outside of transactions --> + <parameter name="all-methods-in-transactions">true</parameter> + <!-- Setting this to true will force Slide to internally convert the username a user + enters at login to lowercase. This is useful for users who can't be bothered + with turning off their capslock key before logging in. --> + <parameter name="force-lowercase-login">false</parameter> + </configuration> + <data> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/"> + <!-- Subject can be: + any user "all" + authenticated user "authenticated" + unauthenticated user "unauthenticated" + self "self" + owner of resource "owner" + a user "/users/john" + a role "/roles/admin" + --> + <permission action="all" subject="/roles/root" inheritable="true"/> + <permission action="/actions/read-acl" subject="all" inheritable="true" negative="true"/> + <permission action="/actions/write-acl" subject="all" inheritable="true" negative="true"/> + <permission action="/actions/unlock" subject="all" inheritable="true" negative="true"/> + <permission action="/actions/read" subject="all" inheritable="true"/> + <!-- /users --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users"> + <permission action="all" subject="self" inheritable="true"/> + <permission action="all" subject="/roles/projector" inheritable="true"/> + <permission action="all" subject="unauthenticated" inheritable="true" negative="true"/> + <!-- /users/root represents the administrator --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/root"> + <revision> + <property namespace="http://jakarta.apache.org/slide/" name="password">root</property> + </revision> + </objectnode> + <!-- /users/john and /users/john2 represent authenticated users --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/john"> + <revision> + <property namespace="http://jakarta.apache.org/slide/" name="password">john</property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/john2"> + <revision> + <property namespace="http://jakarta.apache.org/slide/" name="password">john2</property> + </revision> + </objectnode> + <!-- /users/guest represents an authenticated or unauthenticated guest user --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/guest"> + <revision> + <property namespace="http://jakarta.apache.org/slide/" name="password">guest</property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/projector"> + <revision> + <property namespace="http://jakarta.apache.org/slide/" name="password">projector</property> + </revision> + </objectnode> + </objectnode> + <!-- /roles --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles"> + <permission action="all" subject="self" inheritable="true"/> + <permission action="all" subject="/roles/projector" inheritable="true"/> + <permission action="all" subject="unauthenticated" inheritable="true" negative="true"/> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/root"> + <revision> + <property name="group-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/users/root</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/user"> + <revision> + <property name="group-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/users/john</D:href><D:href xmlns:D='DAV:'>/users/john2</D:href><D:href xmlns:D='DAV:'>/users/root</D:href><D:href xmlns:D='DAV:'>/users/projector</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/guest"> + <revision> + <property name="group-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/users/guest</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/projector"> + <revision> + <property name="group-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/users/root</D:href><D:href xmlns:D='DAV:'>/users/projector</D:href>]]></property> + </revision> + </objectnode> + </objectnode> + <!-- action --> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions"> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read"> + <revision> + <property name="privilege-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/actions/read-acl</D:href> <D:href xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read-acl"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read-current-user-privilege-set"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write"> + <revision> + <property name="privilege-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/actions/write-acl</D:href> <D:href xmlns:D='DAV:'>/actions/write-properties</D:href> <D:href xmlns:D='DAV:'>/actions/write-content</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write-acl"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write-properties"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/write-content"> + <revision> + <property name="privilege-member-set"><![CDATA[<D:href xmlns:D='DAV:'>/actions/bind</D:href> <D:href xmlns:D='DAV:'>/actions/unbind</D:href>]]></property> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/bind"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/unbind"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/unlock"> + <revision> + <property name="privilege-member-set"/> + </revision> + </objectnode> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files"> + <permission action="all" subject="unauthenticated" inheritable="true"/> + <permission action="/actions/write" subject="/roles/user" inheritable="true"/> + <permission action="/actions/read-acl" subject="owner" inheritable="true"/> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/projector"> + <permission action="all" subject="unauthenticated" inheritable="true"/> + <permission action="/actions/write" subject="/roles/projector" inheritable="true"/> + <permission action="/actions/read-acl" subject="owner" inheritable="true"/> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/projector/work"> + </objectnode> + </objectnode> + <!-- DeltaV: default history and workspace paths --> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/history"> + <permission action="all" subject="unauthenticated" inheritable="true"/> + <permission action="/actions/write" subject="/roles/user" inheritable="true"/> + <permission action="/actions/read-acl" subject="owner" inheritable="true"/> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workspace"> + <permission action="all" subject="unauthenticated" inheritable="true"/> + <permission action="/actions/write" subject="/roles/user" inheritable="true"/> + <permission action="/actions/read-acl" subject="owner" inheritable="true"/> + </objectnode> + <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/workingresource"> + <permission action="all" subject="unauthenticated" inheritable="true"/> + <permission action="/actions/write" subject="/roles/user" inheritable="true"/> + <permission action="/actions/read-acl" subject="owner" inheritable="true"/> + </objectnode> + </objectnode> + </data> + </namespace> + <!-- + DeltaV global parameters + ======================== + * historypath (mandatory=no, default="/history"): + Specifies a Slide path which determines the location where this DeltaV + server stores history data. + + * workspacepath (mandatory=no, default="/workspace"): + Specifies a Slide path which determines the location where this DeltaV + server allows workspaces to reside. + + * workingresourcepath (mandatory=no, default="/workingresource"): + Specifies a Slide path which determines the location where this DeltaV + server stores working resources. + + * auto-version (mandatory=no, default="checkout-checkin"): + Controls the DeltaV auto-version behaviour. + + * auto-version-control (mandatory=no, default="false"): + Indicates if a resource just created by a PUT should be set under + version-control. + + * versioncontrol-exclude (mandatory=no, default=""): + Specifies a Slide path which determines resources which are excluded from version-control. + The default value "" makes no path being excluded. + + * checkout-fork (mandatory=no, default="forbidden"): + Controls the DeltaV check-out behaviour when a version is already + checked-out or has a successor. + + * checkin-fork (mandatory=no, default="forbidden"): + Controls the DeltaV check-out behaviour when a version has already a + successor. + + * standardLivePropertiesClass (mandatory=no, + default="org.apache.slide.webdav.util.resourcekind.AbstractResourceKind"): + Determines the "agent" knowing about what the standard live properties are. + It should be a loadable class containing the following static methods: + - boolean isLiveProperty(String propName) + - boolean isProtectedProperty(String propName) + - boolean isComputedProperty(String propName) + - Set getAllLiveProperties() + - Set getAllProtectedProperties() + - Set getAllComputedProperties() + + * uriRedirectorClass (mandatory=no, + default="org.apache.slide.webdav.util.DeltavUriRedirector"): + Determines the URI redirector class. The DeltaV URI redirector is in + charge of the following redirections: + - version URI to history URI, e.g. /history/2/1.4 to /history/2 + - latest revision number for history resource to 0.0 + - latest revision number for version resource to last URI token, + e.g. /history/2/1.4 to 1.4 + It should be a loadable class containing the following static methods: + - String redirectUri(String uri) + - NodeRevisionNumber redirectLatestRevisionNumber(String uri) + --> + <parameter name="historypath">/history</parameter> + <parameter name="workspacepath">/workspace</parameter> + <parameter name="workingresourcepath">/workingresource</parameter> + <parameter name="auto-version">checkout-checkin</parameter> + <parameter name="auto-version-control">false</parameter> + <parameter name="versioncontrol-exclude"/> + <parameter name="checkout-fork">forbidden</parameter> + <parameter name="checkin-fork">forbidden</parameter> + + + <!-- Extractor configuration --> + <extractors> + <extractor classname="org.apache.slide.extractor.SimpleXmlExtractor" uri="/files/articles/test.xml"> + <configuration> + <instruction property="title" xpath="/article/title/text()" /> + <instruction property="summary" xpath="/article/summary/text()" /> + </configuration> + </extractor> + <extractor classname="org.apache.slide.extractor.OfficeExtractor" uri="/files/docs/"> + <configuration> + <instruction property="author" id="SummaryInformation-0-4" /> + <instruction property="application" id="SummaryInformation-0-18" /> + </configuration> + </extractor> + </extractors> + + <!-- Event configuration --> + <events> + <event classname="org.apache.slide.webdav.event.WebdavEvent" enable="true" /> + <event classname="org.apache.slide.event.ContentEvent" enable="true" /> + <event classname="org.apache.slide.event.ContentEvent" method="retrieve" enable="false" /> + <event classname="org.apache.slide.event.EventCollection" enable="true" /> + <event classname="org.apache.slide.event.TransactionEvent" enable="true" /> + + <event classname="org.apache.slide.event.MacroEvent" enable="true"/> + + <!--listener classname="org.apache.slide.util.event.EventLogger" /--> + <listener classname="org.apache.slide.event.VetoableEventCollector" /> + <listener classname="org.apache.slide.event.TransientEventCollector" /> + <listener classname="org.apache.slide.webdav.event.NotificationTrigger"> + <configuration> + <notification include-events="false" /> + <persist-subscriptions filename="subscriptions.xml" /> + </configuration> + </listener> + <listener classname="org.apache.slide.extractor.PropertyExtractorTrigger" /> + <listener classname="org.apache.slide.search.IndexTrigger"> + <configuration> + <indexer classname="org.apache.slide.search.LoggingIndexer" synchronous="false" uri="/files/articles" /> + </configuration> + </listener> + + <!-- Uncomment for cluster support. Be sure to local-host and repository-host --> + <!-- + <listener classname="org.apache.slide.cluster.ClusterCacheRefresher"> + <configuration> + <node local-host="local.host.domain" + local-port="4444" + repository-host="remote.host.domain" + repository-port="8080" + repository-protocol="http" + username="root" + password="root" + base-uri="/files/" + /> + </configuration> + </listener> + --> + + <listener classname="org.apache.slide.macro.MacroPropertyUpdater"> + <!-- Listener that updates some properties if resources are + copied or moved. This requires MacroEvents enabled (at + least methods copy and move) --> + <configuration> + <update-displayname>true</update-displayname> + <update-owner-on-move>false</update-owner-on-move> + <update-owner-on-copy>true</update-owner-on-copy> + </configuration> + </listener> + </events> +</slide>
Added: jakarta/slide/trunk/proposals/purexmladapter/slide/PUREXMLSP.html URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/proposals/purexmladapter/slide/PUREXMLSP.html?view=auto&rev=524298 ============================================================================== --- jakarta/slide/trunk/proposals/purexmladapter/slide/PUREXMLSP.html (added) +++ jakarta/slide/trunk/proposals/purexmladapter/slide/PUREXMLSP.html Fri Mar 30 15:24:26 2007 @@ -0,0 +1,377 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.4.2_12) on Wed Feb 21 13:37:39 PST 2007 --> +<TITLE> +PUREXMLSP +</TITLE> + +<META NAME="keywords" CONTENT="com.ibm.db2.purexml.storeproc.PUREXMLSP class"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + parent.document.title="PUREXMLSP"; +} +</SCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../com/ibm/db2/purexml/storeproc/PureXMLResourceDescriptor.html" title="class in com.ibm.db2.purexml.storeproc"><B>PREV CLASS</B></A> + <A HREF="../../../../../com/ibm/db2/purexml/storeproc/PureXMLUtilities.html" title="class in com.ibm.db2.purexml.storeproc"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> + <A HREF="PUREXMLSP.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +com.ibm.db2.purexml.storeproc</FONT> +<BR> +Class PUREXMLSP</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.ibm.db2.purexml.storeproc.PUREXMLSP</B> +</PRE> +<HR> +<DL> +<DT>public class <B>PUREXMLSP</B><DT>extends java.lang.Object</DL> + +<P> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + + +<!-- =========== FIELD SUMMARY =========== --> + + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../../../com/ibm/db2/purexml/storeproc/PUREXMLSP.html#PUREXMLSP()">PUREXMLSP</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../com/ibm/db2/purexml/storeproc/PUREXMLSP.html#createCollection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">createCollection</A></B>(java.lang.String colParentPath, + java.lang.String collectionName, + java.lang.String schemaName, + java.lang.String tableName, + java.lang.String columnIDName, + java.lang.String columnContentName, + java.lang.String creator)</CODE> + +<BR> + Creates a WebDAV collection/folder.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../com/ibm/db2/purexml/storeproc/PUREXMLSP.html#enable()">enable</A></B>()</CODE> + +<BR> + Configures the database for WEBDAV functionality.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../com/ibm/db2/purexml/storeproc/PUREXMLSP.html#exposeResource(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">exposeResource</A></B>(java.lang.String fileName, + java.lang.String collectionPath, + java.lang.String columnContentName, + java.lang.String fileID, + java.lang.String creator, + java.lang.String aVersioning)</CODE> + +<BR> + Exposes an existing resource/file.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../com/ibm/db2/purexml/storeproc/PUREXMLSP.html#registerColumn(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])">registerColumn</A></B>(java.lang.String schemaName, + java.lang.String tableName, + java.lang.String columnIDName, + java.lang.String columnContentName, + java.lang.String creator, + java.lang.String aVersioning, + java.lang.String[] outputMessage)</CODE> + +<BR> + Exposes a table with documents on WebDAV.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TD><B>Methods inherited from class java.lang.Object</B></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="PUREXMLSP()"><!-- --></A><H3> +PUREXMLSP</H3> +<PRE> +public <B>PUREXMLSP</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="createCollection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> +createCollection</H3> +<PRE> +public static void <B>createCollection</B>(java.lang.String colParentPath, + java.lang.String collectionName, + java.lang.String schemaName, + java.lang.String tableName, + java.lang.String columnIDName, + java.lang.String columnContentName, + java.lang.String creator) + throws java.sql.SQLException, + java.lang.Exception</PRE> +<DL> +<DD>Creates a WebDAV collection/folder. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>colParentPath</CODE> - Path of the parent collection. If <b>null</b>, then the collection will be created on the root folder.<DD><CODE>collectionName</CODE> - Display name of the collection.<DD><CODE>schemaName</CODE> - Schema of table where the resources/files of the collection will be stored.<DD><CODE>tableName</CODE> - Name of the table where the resources/files of the collection will be stored.<DD><CODE>columnIDName</CODE> - Name of the column that uniquely identifies the resource in the table. + <p>Must be of type INTEGER or VARCHAR</p><DD><CODE>columnContentName</CODE> - Name of the column which contains the documents. Only XML or BLOB types accepted.<DD><CODE>creator</CODE> - Name of the user who is creating this resource <b>e.g. John or Jane</b>, for Access Control (ACL). If <b>null</b> then <I>unauthenticated</I> will be used. +<DT><B>Throws:</B> +<DD><CODE>java.sql.SQLException</CODE> +<DD><CODE>java.lang.Exception</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="registerColumn(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])"><!-- --></A><H3> +registerColumn</H3> +<PRE> +public static void <B>registerColumn</B>(java.lang.String schemaName, + java.lang.String tableName, + java.lang.String columnIDName, + java.lang.String columnContentName, + java.lang.String creator, + java.lang.String aVersioning, + java.lang.String[] outputMessage) + throws java.sql.SQLException, + java.lang.Exception</PRE> +<DL> +<DD>Exposes a table with documents on WebDAV. + <p> + The table must contain an INTEGER or VARCHAR Column whose values are unique. This will serve as the name of the file. + </p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>schemaName</CODE> - Schema name of the table to expose.<DD><CODE>tableName</CODE> - Name of the table to expose.<DD><CODE>columnIDName</CODE> - Name of the column which serves as the PK of the resource/file.<DD><CODE>columnContentName</CODE> - Name of the column which contains the documents. Only XML or BLOB types accepted.<DD><CODE>creator</CODE> - Name of the user who is creating this resource <b>e.g. John or Jane</b>, for Access Control (ACL). If <b>null</b> then <I>unauthenticated</I> will be used.<DD><CODE>aVersioning</CODE> - If user wants the resource to be versioned everytime a GET and PUT is done on the resource. Possible values: "true"|"false".<DD><CODE>outputMessage</CODE> - Error message returned in case of an Exception. Value must be set as OUT parameter in Java. +<DT><B>Throws:</B> +<DD><CODE>java.sql.SQLException</CODE> +<DD><CODE>java.lang.Exception</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="exposeResource(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> +exposeResource</H3> +<PRE> +public static void <B>exposeResource</B>(java.lang.String fileName, + java.lang.String collectionPath, + java.lang.String columnContentName, + java.lang.String fileID, + java.lang.String creator, + java.lang.String aVersioning) + throws java.sql.SQLException, + java.lang.Exception</PRE> +<DL> +<DD>Exposes an existing resource/file. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The exact name that will be displayed for the file <b>e.g: mydoc.xsl</b>. File name may contain file extension.<DD><CODE>collectionPath</CODE> - Path of the containing folder <b>myFolder/mySubfolder/</b>. The containing folder must have the correct tablename, tableschema and columnIdname of the resource to expose.<DD><CODE>columnContentName</CODE> - Name of the column which contains the documents. Only XML or BLOB types accepted.<DD><CODE>fileID</CODE> - ID of the table row where the file/resource is located. Usually the PK of the table. Must be unique.<DD><CODE>creator</CODE> - Name of the user who is creating this resource <b>e.g. John or Jane</b>, for Access Control (ACL). Can be null. If null then "unauthenticated" will be used.<DD><CODE>aVersioning</CODE> - If user wants the resource to be versioned everytime a GET and PUT is done on the resource. Possible values: "true"|"false". +<DT><B>Throws:</B> +<DD><CODE>java.sql.SQLException</CODE> +<DD><CODE>java.lang.Exception</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="enable()"><!-- --></A><H3> +enable</H3> +<PRE> +public static void <B>enable</B>() + throws java.sql.SQLException, + java.io.IOException</PRE> +<DL> +<DD>Configures the database for WEBDAV functionality. It creates the following default tables:<br/> +<ul><li>WEBDAV.SLIDEMETADATA</li><li>WEBDAV.HISTORY</li><li>WEBDAV.DATADEFAULT</li></ul> +<p> +It loads the SLIDE default metadata to the WEBDAV.SLIDEMETADATA table. +Must be an UTF-8 database with XML support. +</p> +<P> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.sql.SQLException</CODE> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.Exception</CODE></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../com/ibm/db2/purexml/storeproc/PureXMLResourceDescriptor.html" title="class in com.ibm.db2.purexml.storeproc"><B>PREV CLASS</B></A> + <A HREF="../../../../../com/ibm/db2/purexml/storeproc/PureXMLUtilities.html" title="class in com.ibm.db2.purexml.storeproc"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> + <A HREF="PUREXMLSP.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]