Author: smumford
Date: 2011-11-17 21:52:23 -0500 (Thu, 17 Nov 2011)
New Revision: 8090
Added:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml
Removed:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr-with-gatein.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/framework-for-cross-domain-ajax.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/groovy-scripts-as-rest-services.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/introduction-to-rest.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/overwrite-default-providers.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/restservicelist-service.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/ws.xml
Log:
Relocating eXo JCR chapter to new Part
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml 2011-11-18
02:51:34 UTC (rev 8089)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -13,6 +13,7 @@
<xi:include href="modules/AuthenticationAndIdentity.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="modules/WSRP.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="modules/Advanced.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/eXoJCR.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Modified: epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced.xml 2011-11-18
02:51:34 UTC (rev 8089)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -6,6 +6,6 @@
<part id="part-Reference_Guide_eXo_JCR_1.14-Advanced_Development">
<title>Advanced Development</title>
<xi:include href="Advanced/Foundations.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Advanced/eXoJCR.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
</part>
Deleted:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,171 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide_eXo_JCR_1.14.ent">
-%BOOK_ENTITIES;
-]>
-<section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type">
- <title>Finding Nodes by Mixin Type</title>
- <para>
- Find all nodes in repository, that contain a mixin type "mix:title".
- </para>
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Repository_structure">
- <title>Repository structure:</title>
- <para>
- The repository contains nodes with different primary types and mixin types.
- </para>
- <itemizedlist>
- <listitem>
- <para>
- root
- </para>
- <itemizedlist>
- <listitem>
- <para>
- document1 primarytype = "nt:unstructured" mixintype
= "mix:title"
- </para>
-
- </listitem>
- <listitem>
- <para>
- document2 primarytype = "nt:file" mixintype =
"mix:lockable"
- </para>
-
- </listitem>
- <listitem>
- <para>
- document3 primarytype = "nt:file" mixintype =
"mix:title"
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Query_execution">
- <title>Query execution</title>
- <para>
- <emphasis role="bold">SQL</emphasis>
- </para>
-
-<programlisting language="Java" role="Java">// make SQL query
-QueryManager queryManager = workspace.getQueryManager();
-// create query
-String sqlStatement = "SELECT * FROM mix:title";
-Query query = queryManager.createQuery(sqlStatement, Query.SQL);
-// execute query and fetch result
-QueryResult result = query.execute();</programlisting>
- <para>
- <emphasis role="bold">XPath</emphasis>
- </para>
-
-<programlisting language="Java" role="Java">// make XPath
query
-QueryManager queryManager = workspace.getQueryManager();
-// create query
-String xpathStatement = "//element(*,mix:title)";
-Query query = queryManager.createQuery(xpathStatement, Query.XPATH);
-// execute query and fetch result
-QueryResult result = query.execute();</programlisting>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Fetching_result">
- <title>Fetching result</title>
- <para>
- Let's get nodes:
- </para>
-
-<programlisting language="Java" role="Java">NodeIterator it =
result.getNodes();
-
-if(it.hasNext())
-{
- Node findedNode = it.nextNode();
-}</programlisting>
- <para>
- The NodeIterator will return "document1" and
"document3".
- </para>
- <para>
- We can also get a table:
- </para>
-
-<programlisting language="Java" role="Java">String[]
columnNames = result.getColumnNames();
-RowIterator rit = result.getRows();
-while (rit.hasNext())
-{
- Row row = rit.nextRow();
- // get values of the row
- Value[] values = row.getValues();
-}</programlisting>
- <para>
- Table content is
- <table>
- <title>Table content</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>
- jcr:title
- </entry>
- <entry>
- ...
- </entry>
- <entry>
- jcr:path
- </entry>
- <entry>
- jcr:score
- </entry>
-
- </row>
-
- </thead>
- <tbody>
- <row>
- <entry>
- First document
- </entry>
- <entry>
- ...
- </entry>
- <entry>
- /document1
- </entry>
- <entry>
- 2674
- </entry>
-
- </row>
- <row>
- <entry>
- Second document
- </entry>
- <entry>
- ...
- </entry>
- <entry>
- /document3
- </entry>
- <entry>
- 2674
- </entry>
-
- </row>
-
- </tbody>
-
- </tgroup>
-
- </table>
-
- </para>
-
- </section>
-
-
-</section>
-
-
Copied:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml
(from rev 8088,
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml)
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml
(rev 0)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/find-nodes-by-mixin-type.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -0,0 +1,150 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide_eXo_JCR_1.14.ent">
+%BOOK_ENTITIES;
+]>
+<section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type">
+ <title>Finding Nodes by Mixin Type</title>
+ <formalpara>
+ <title>Task:</title>
+ <para>
+ Find all nodes in repository, that contain a mixin type
<literal>mix:title</literal>.
+ </para>
+ </formalpara>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Repository_structure">
+ <title>Repository structure:</title>
+ <para>
+ The repository contains nodes with different primary types and mixin types.
+ </para>
+<programlisting>root
+ ├── document1 primarytype = "nt:unstructured" mixintype =
"mix:title"
+ ├── document2 primarytype = "nt:file" mixintype = "mix:lockable"
+ └── document3 primarytype = "nt:file" mixintype = "mix:title"
+</programlisting>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Query_execution">
+ <title>Query execution</title>
+ <para>
+ <emphasis role="bold">SQL</emphasis>
+ </para>
+
+<programlisting language="Java" role="Java">// make SQL query
+QueryManager queryManager = workspace.getQueryManager();
+// create query
+String sqlStatement = "SELECT * FROM mix:title";
+Query query = queryManager.createQuery(sqlStatement, Query.SQL);
+// execute query and fetch result
+QueryResult result = query.execute();</programlisting>
+ <para>
+ <emphasis role="bold">XPath</emphasis>
+ </para>
+
+<programlisting language="Java" role="Java">// make XPath
query
+QueryManager queryManager = workspace.getQueryManager();
+// create query
+String xpathStatement = "//element(*,mix:title)";
+Query query = queryManager.createQuery(xpathStatement, Query.XPATH);
+// execute query and fetch result
+QueryResult result = query.execute();</programlisting>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type-Fetching_result">
+ <title>Fetching result</title>
+ <para>
+ Let's get nodes:
+ </para>
+
+<programlisting language="Java" role="Java">NodeIterator it =
result.getNodes();
+
+if(it.hasNext())
+{
+ Node findedNode = it.nextNode();
+}</programlisting>
+ <para>
+ The NodeIterator will return "document1" and
"document3".
+ </para>
+ <para>
+ We can also get a table:
+ </para>
+
+<programlisting language="Java" role="Java">String[]
columnNames = result.getColumnNames();
+RowIterator rit = result.getRows();
+while (rit.hasNext())
+{
+ Row row = rit.nextRow();
+ // get values of the row
+ Value[] values = row.getValues();
+}</programlisting>
+ <para>
+ Table content is
+ <table>
+ <title>Table content</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>
+ jcr:title
+ </entry>
+ <entry>
+ ...
+ </entry>
+ <entry>
+ jcr:path
+ </entry>
+ <entry>
+ jcr:score
+ </entry>
+
+ </row>
+
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ First document
+ </entry>
+ <entry>
+ ...
+ </entry>
+ <entry>
+ /document1
+ </entry>
+ <entry>
+ 2674
+ </entry>
+
+ </row>
+ <row>
+ <entry>
+ Second document
+ </entry>
+ <entry>
+ ...
+ </entry>
+ <entry>
+ /document3
+ </entry>
+ <entry>
+ 2674
+ </entry>
+
+ </row>
+
+ </tbody>
+
+ </tgroup>
+
+ </table>
+
+ </para>
+
+ </section>
+
+
+</section>
+
+
Deleted:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/jcr/searching/jcr-query-usecases.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,370 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide_eXo_JCR_1.14.ent">
-%BOOK_ENTITIES;
-]>
-<section id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases">
- <title>JCR Query Usecases</title>
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Intro">
- <title>Intro</title>
- <para>
- The JCR supports two query languages; JCR and XPath. A query, whether XPath
or SQL, specifies a subset of nodes within a workspace, called the result set. The result
set constitutes all the nodes in the workspace that meet the constraints stated in the
query.
- </para>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_Lifecycle">
- <title>Query Lifecycle</title>
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Query_Creation_and_Execution">
- <title>Query Creation and Execution</title>
- <formalpara>
- <title>SQL</title>
- <para>
-<programlisting language="Java" role="Java">// get
QueryManager
-QueryManager queryManager = workspace.getQueryManager();
-// make SQL query
-Query query = queryManager.createQuery("SELECT * FROM nt:base ", Query.SQL);
-// execute query
-QueryResult result = query.execute();</programlisting>
- </para>
- </formalpara>
- <formalpara>
- <title>XPath</title>
- <para>
-<programlisting language="Java" role="Java">// get
QueryManager
-QueryManager queryManager = workspace.getQueryManager();
-// make XPath query
-Query query = queryManager.createQuery("//element(*,nt:base)", Query.XPATH);
-// execute query
-QueryResult result = query.execute();</programlisting>
- </para>
- </formalpara>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Query_Result_Processing">
- <title>Query Result Processing</title>
-
-<programlisting language="Java" role="Java">// fetch query
result
-QueryResult result = query.execute();</programlisting>
- <para>
- To fetch the nodes:
- </para>
-
-<programlisting language="Java" role="Java">NodeIterator it =
result.getNodes();</programlisting>
- <para>
- The results can be formatted in a table:
- </para>
-
-<programlisting language="Java" role="Java">// get column
names
-String[] columnNames = result.getColumnNames();
-// get column rows
-RowIterator rowIterator = result.getRows();
-while(rowIterator.hasNext()){
- // get next row
- Row row = rowIterator.nextRow();
- // get all values of row
- Value[] values = row.getValues();
-}</programlisting>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Scoring">
- <title>Scoring</title>
- <para>
- The result returns a score for each row in the result set. The score
contains a value that indicates a rating of how well the result node matches the query. A
high value means a better matching than a low value. This score can be used for ordering
the result.
- </para>
- <para>
- eXo JCR Scoring is a mapping of Lucene scoring. For a more in-depth
understanding, please study <ulink
url="http://lucene.apache.org/java/2_4_1/scoring.html">Lucene
documentation</ulink>.
- </para>
- <para>
- The <literal>jcr:score</literal> is calculated as;
<literal>(lucene score)*1000f</literal>.
- </para>
- <para>
- Score may be increased for specified nodes, see <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Changing_Priority_of_Node" />
- </para>
- <para>
- Also, see an example <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Score" />
- </para>
-
- </section>
-
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_result_settings">
- <title>Query result settings</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-SetOffset_and_SetLimit" />
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Type_Constraints">
- <title>Type Constraints</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_All_Nodes" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Primary_Type" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type" />
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Property_Constraints">
- <title>Property Constraints</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Property_Comparison" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-LIKE_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Escaping_in_LIKE_Statements" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-NOT_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-AND_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-OR_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Property_Existence_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_in_a_Case_Insensitive_Way"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Date_Property_Comparison" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Node_Name_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Multivalue_Property_Comparison"
/>
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Path_Constraint">
- <title>Path Constraint</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Exact_Path_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Child_Node_Constraint" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_All_Descendant_Nodes" />
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Ordering_specifying">
- <title>Ordering specifying</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Sorting_Nodes_by_Property" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Descendant_Nodes_Property_XPath_only"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Score" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Path_or_Name" />
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Indexing_rules_and_additional_features">
- <title>Indexing rules and additional features</title>
- <itemizedlist>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_ntfile_node_by_content_of_child_jcrcontent_node"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-High_lighting_Result_of_Fulltext_Search"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Changing_Priority_of_Node" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Removing_Nodes_Property_From_Indexing_Scope"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Regular_Expression_as_Property_Name_in_Indexing_Rules"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Searching_By_Synonym" />
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Checking_the_spelling_of_Phrase"
/>
- </para>
-
- </listitem>
- <listitem>
- <para>
- <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Similar_Nodes" />
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_Examples">
- <title>Query Examples</title>
- <xi:include href="offset-and-limit.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-all-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-nodes-by-primary-type.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-nodes-by-mixin-type.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="like-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="escaping-like-statements.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="not-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="and-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="or-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="property-existance-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-nodes-case-insensitive.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="date-property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="node-name-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="multivalue-property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="exact-path-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="child-node-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-all-descendant-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="order-by-property.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="order-by-descendant.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="order-by-score.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="order-by-path-or-name.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="fulltext-search-by-property.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="fulltext-search-by-all-properties.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="ignore-accent-symbols.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="aggregation-rule.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="index-boost-value.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="node-scope-index.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="regexp-indexing-rule.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="higlight.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="synonim-provider.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="spell-checker.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="find-similar-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-
- </section>
-
- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Tips_and_tricks">
- <title>Tips and tricks</title>
- <xi:include href="tip-nodename-with-number.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-
- </section>
-
-
-</section>
-
-
Copied:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml
(from rev 8088,
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/jcr/searching/jcr-query-usecases.xml)
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml
(rev 0)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr/searching/jcr-query-usecases.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -0,0 +1,373 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide_eXo_JCR_1.14.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases">
+ <title>JCR Query Usecases</title>
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Intro">
+ <title>Introduction</title>
+ <para>
+ The JCR supports two query languages; JCR and XPath. A query, whether XPath
or SQL, specifies a subset of nodes within a workspace, called the result set. The result
set constitutes all the nodes in the workspace that meet the constraints stated in the
query.
+ </para>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_Lifecycle">
+ <title>Query Lifecycle</title>
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Query_Creation_and_Execution">
+ <title>Query Creation and Execution</title>
+ <formalpara>
+ <title>SQL</title>
+ <para>
+<programlisting language="Java" role="Java">// get
QueryManager
+QueryManager queryManager = workspace.getQueryManager();
+// make SQL query
+Query query = queryManager.createQuery("SELECT * FROM nt:base ", Query.SQL);
+// execute query
+QueryResult result = query.execute();</programlisting>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>XPath</title>
+ <para>
+<programlisting language="Java" role="Java">// get
QueryManager
+QueryManager queryManager = workspace.getQueryManager();
+// make XPath query
+Query query = queryManager.createQuery("//element(*,nt:base)", Query.XPATH);
+// execute query
+QueryResult result = query.execute();</programlisting>
+ </para>
+ </formalpara>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Query_Result_Processing">
+ <title>Query Result Processing</title>
+
+<programlisting language="Java" role="Java">// fetch query
result
+QueryResult result = query.execute();</programlisting>
+ <para>
+ To fetch the nodes:
+ </para>
+
+<programlisting language="Java" role="Java">NodeIterator it =
result.getNodes();</programlisting>
+ <para>
+ The results can be formatted in a table:
+ </para>
+
+<programlisting language="Java" role="Java">// get column
names
+String[] columnNames = result.getColumnNames();
+// get column rows
+RowIterator rowIterator = result.getRows();
+while(rowIterator.hasNext()){
+ // get next row
+ Row row = rowIterator.nextRow();
+ // get all values of row
+ Value[] values = row.getValues();
+}</programlisting>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-Query_Lifecycle-Scoring">
+ <title>Scoring</title>
+ <para>
+ The result returns a score for each row in the result set. The score
contains a value that indicates a rating of how well the result node matches the query. A
high value means a better matching than a low value. This score can be used for ordering
the result.
+ </para>
+ <para>
+ eXo JCR Scoring is a mapping of Lucene scoring. For a more in-depth
understanding, please study <ulink
url="http://lucene.apache.org/java/2_4_1/scoring.html">Lucene
documentation</ulink>.
+ </para>
+ <para>
+ The <literal>jcr:score</literal> is calculated as;
<literal>(lucene score)*1000f</literal>.
+ </para>
+ <para>
+ Score may be increased for specified nodes, see <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Changing_Priority_of_Node" />
+ </para>
+ <para>
+ Also, see an example in <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Score" />
+ </para>
+
+ </section>
+
+
+ </section>
+
+ <!--DOCS NOTE: The following 'ToC' sections are not required in Publican
builds if the publican.cfg parameter
+ "generate_section_toc_level:" is set to "3" -->
+
+ <!-- <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_result_settings">
+ <title>Query result settings</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-SetOffset_and_SetLimit" />
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Type_Constraints">
+ <title>Type Constraints</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_All_Nodes" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Primary_Type" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_by_Mixin_Type" />
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Property_Constraints">
+ <title>Property Constraints</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Property_Comparison" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-LIKE_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Escaping_in_LIKE_Statements" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-NOT_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-AND_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-OR_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Property_Existence_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Nodes_in_a_Case_Insensitive_Way"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Date_Property_Comparison" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Node_Name_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Multivalue_Property_Comparison"
/>
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Path_Constraint">
+ <title>Path Constraint</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Exact_Path_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Child_Node_Constraint" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_All_Descendant_Nodes" />
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Ordering_specifying">
+ <title>Ordering specifying</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Sorting_Nodes_by_Property" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Descendant_Nodes_Property_XPath_only"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Score" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Ordering_by_Path_or_Name" />
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Indexing_rules_and_additional_features">
+ <title>Indexing rules and additional features</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_ntfile_node_by_content_of_child_jcrcontent_node"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-High_lighting_Result_of_Fulltext_Search"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Changing_Priority_of_Node" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Removing_Nodes_Property_From_Indexing_Scope"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Regular_Expression_as_Property_Name_in_Indexing_Rules"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Searching_By_Synonym" />
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Checking_the_spelling_of_Phrase"
/>
+ </para>
+
+ </listitem>
+ <listitem>
+ <para>
+ <xref
linkend="sect-Reference_Guide_eXo_JCR_1.14-Finding_Similar_Nodes" />
+ </para>
+
+ </listitem>
+
+ </itemizedlist>
+
+ </section> -->
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Query_Examples">
+ <title>Query Examples</title>
+ <xi:include href="offset-and-limit.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-all-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-nodes-by-primary-type.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-nodes-by-mixin-type.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="like-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="escaping-like-statements.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="not-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="and-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="or-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="property-existance-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-nodes-case-insensitive.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="date-property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="node-name-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="multivalue-property-comparison.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="exact-path-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="child-node-constraint.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-all-descendant-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="order-by-property.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="order-by-descendant.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="order-by-score.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="order-by-path-or-name.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="fulltext-search-by-property.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="fulltext-search-by-all-properties.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ignore-accent-symbols.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="aggregation-rule.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="index-boost-value.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="node-scope-index.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="regexp-indexing-rule.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="higlight.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="synonim-provider.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="spell-checker.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="find-similar-nodes.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+ </section>
+
+ <section
id="sect-Reference_Guide_eXo_JCR_1.14-JCR_Query_Usecases-Tips_and_tricks">
+ <title>Tips and tricks</title>
+ <xi:include href="tip-nodename-with-number.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+ </section>
+
+
+</section>
+
+
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr-with-gatein.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/jcr-with-gatein.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/jcr-with-gatein.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -3,9 +3,9 @@
<!ENTITY % BOOK_ENTITIES SYSTEM "Reference_Guide_eXo_JCR_1.14.ent">
%BOOK_ENTITIES;
]>
-<section id="sect-Reference_Guide_eXo_JCR_1.14-eXo_JCR_with_GateIn">
- <title>eXo JCR with GateIn</title>
- <!-- <xi:include
href="jcr-with-gtn/how-to-extend-my-gatein-instance.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" /> --> <xi:include
href="jcr-with-gtn/managed-datasources-under-jboss-as.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
-</section>
+<chapter id="sect-Reference_Guide_eXo_JCR_1.14-eXo_JCR_with_GateIn">
+ <title>eXo JCR with GateIn</title>
+ <!-- <xi:include
href="jcr-with-gtn/how-to-extend-my-gatein-instance.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" /> --> <xi:include
href="jcr-with-gtn/managed-datasources-under-jboss-as.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/framework-for-cross-domain-ajax.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/framework-for-cross-domain-ajax.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/framework-for-cross-domain-ajax.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section>
+<chapter>
<title>Framework for cross-domain AJAX</title>
@@ -116,4 +116,4 @@
<programlisting language="HTML" role="HTML"><button
onclick='test()'>test
cross-domain</button></programlisting>
</section>
-</section>
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/groovy-scripts-as-rest-services.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/groovy-scripts-as-rest-services.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/groovy-scripts-as-rest-services.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section>
+<chapter>
<title>Groovy Scripts as REST Services</title>
@@ -382,4 +382,4 @@
<para>That is all.</para>
</section>
-</section>
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/introduction-to-rest.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/introduction-to-rest.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/introduction-to-rest.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section>
+<chapter>
<title>Introduction to the Representational State Transfer (REST)</title>
@@ -208,4 +208,4 @@
communication-state between messages. Any state retained by the server
must be modeled as a resource..</para>
</section>
-</section>
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/overwrite-default-providers.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/overwrite-default-providers.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/overwrite-default-providers.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section>
+<chapter>
<title>OverwriteDefaultProviders</title>
@@ -209,4 +209,4 @@
to/from Resource1. But it will not impact to other services in any kind.
</para>
</section>
-</section>
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/restservicelist-service.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/restservicelist-service.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/restservicelist-service.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section>
+<chapter>
<title>RestServicesList Service</title>
@@ -211,4 +211,4 @@
<para></para>
</section>
</section>
-</section>
+</chapter>
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/ws.xml
===================================================================
---
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/eXoJCR/ws/ws.xml 2011-11-17
21:39:57 UTC (rev 8087)
+++
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/eXoJCR/ws/ws.xml 2011-11-18
02:52:23 UTC (rev 8090)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<section id="WS.RestFramework">
+<chapter id="WS.RestFramework">
<title>eXo Web Services</title>
@@ -15,4 +15,4 @@
Servlet and cross-domain AJAX web-frameworks and JavaBean-JSON
transformer.</para>
</section>
-</section>
+</chapter>