jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r607960 - in /jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm: ./ simple-strategies/
Date Wed, 02 Jan 2008 01:48:31 GMT
Author: jukka
Date: Tue Jan  1 17:48:29 2008
New Revision: 607960

URL: http://svn.apache.org/viewvc?rev=607960&view=rev
Log:
JCR-1281: Move ocm documentation to jackrabbit-site
    - s/org.apache.portals.graffito.jcr/org.apache.jackrabbit.ocm/g

Modified:
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/engine-setup.xml
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/introduction-strategies.xml
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/atomic-strategy.xml
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/bean-strategy.xml
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/collection-strategy.xml
    jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/introduction-strategies.xml

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/engine-setup.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/engine-setup.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/engine-setup.xml (original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/engine-setup.xml Tue Jan  1 17:48:29
2008
@@ -31,18 +31,18 @@
 import javax.jcr.Session;
 import javax.jcr.Repository;
 
-import org.apache.portals.graffito.jcr.mapper.Mapper;
-import org.apache.portals.graffito.jcr.mapper.impl.DigesterMapperImpl;
+import org.apache.jackrabbit.ocm.mapper.Mapper;
+import org.apache.jackrabbit.ocm.mapper.impl.DigesterMapperImpl;
 
-import org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverterProvider;
-import org.apache.portals.graffito.jcr.persistence.atomictypeconverter.impl.DefaultAtomicTypeConverterProvider;
+import org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverterProvider;
+import org.apache.jackrabbit.ocm.persistence.atomictypeconverter.impl.DefaultAtomicTypeConverterProvider;
 
-import org.apache.portals.graffito.jcr.persistence.objectconverter.ObjectConverter;
-import org.apache.portals.graffito.jcr.persistence.objectconverter.impl.ObjectConverterImpl;
+import org.apache.jackrabbit.ocm.persistence.objectconverter.ObjectConverter;
+import org.apache.jackrabbit.ocm.persistence.objectconverter.impl.ObjectConverterImpl;
 
-import org.apache.portals.graffito.jcr.query.QueryManager;
-import org.apache.portals.graffito.jcr.query.impl.QueryManagerImpl;
-import org.apache.portals.graffito.jcr.repository.RepositoryUtil;
+import org.apache.jackrabbit.ocm.query.QueryManager;
+import org.apache.jackrabbit.ocm.query.impl.QueryManagerImpl;
+import org.apache.jackrabbit.ocm.repository.RepositoryUtil;
 
 // 1. Instantiate a JCR session
 

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/introduction-strategies.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/introduction-strategies.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/introduction-strategies.xml (original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/introduction-strategies.xml Tue Jan
 1 17:48:29 2008
@@ -105,17 +105,17 @@
         </p>
         <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Page"
+    className="org.apache.jackrabbit.ocm.testmodel.Page"
     jcrType="graffito:page">
   <field-descriptor fieldName="path" path="true" />
   <bean-descriptor fieldName="pageInfo" jcrName="pageInfo" />
   <collection-descriptor
       fieldName="paragraphs" jcrName="paragraphs"
-      elementClassName="org.apache.portals.graffito.jcr.testmodel.Paragraph" />
+      elementClassName="org.apache.jackrabbit.ocm.testmodel.Paragraph" />
 </class-descriptor>
 
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.PageInfo"
+    className="org.apache.jackrabbit.ocm.testmodel.PageInfo"
     jcrType="graffito:PageInfo">
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="title" jcrName="graffito:title"/>
@@ -123,7 +123,7 @@
 </class-descriptor>
 
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Paragraph"
+    className="org.apache.jackrabbit.ocm.testmodel.Paragraph"
     jcrType="graffito:paragraph">
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="text" jcrName="graffito:text"/>
@@ -161,7 +161,7 @@
         </p>
         <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Paragraph"
+    className="org.apache.jackrabbit.ocm.testmodel.Paragraph"
     jcrType="nt:unstructured">
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="text" jcrName="graffito:text"/>
@@ -169,7 +169,7 @@
 ]]></source>
         <p>
           This class descriptor maps the class
-          "org.apache.portals.graffito.jcr.testmodel.Paragraph"
+          "org.apache.jackrabbit.ocm.testmodel.Paragraph"
           to the JCR type "nt:unstructured". Each field-descriptors maps
           one bean attribute to a JCR property. You can find more information
           on the field-descriptors in the page
@@ -178,12 +178,12 @@
         <p>
           It is also possible to map a bean class to a specific JCR node type.
           The following class-descriptor map the class
-          "org.apache.portals.graffito.jcr.testmodel.Paragraph" to the node
+          "org.apache.jackrabbit.ocm.testmodel.Paragraph" to the node
           type "graffito:paragraph".
         </p>
         <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Paragraph"
+    className="org.apache.jackrabbit.ocm.testmodel.Paragraph"
     jcrType="graffito:paragraph">
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="text" jcrName="graffito:text"/>

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/atomic-strategy.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/atomic-strategy.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/atomic-strategy.xml
(original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/atomic-strategy.xml
Tue Jan  1 17:48:29 2008
@@ -115,25 +115,25 @@
             Specify the converter class in the field descriptor :
             <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Atomic"
+    className="org.apache.jackrabbit.ocm.testmodel.Atomic"
     jcrType="nt:unstructured">
   <field-descriptor
       fieldName="int2boolean" jcrName="int2boolean"
-      converter="org.apache.portals.graffito.jcr.persistence.atomic.Int2BooleanTypeConverterImpl"
/>
+      converter="org.apache.jackrabbit.ocm.persistence.atomic.Int2BooleanTypeConverterImpl"
/>
 </class-descriptor>
 ]]></source>
           </li>
           <li>
             Implement the converter class (based on the interface
-            org.apache.portals.graffito.jcr.persistence.atomic.AtomicTypeConverter):
+            org.apache.jackrabbit.ocm.persistence.atomic.AtomicTypeConverter):
             <source><![CDATA[
-package org.apache.portals.graffito.jcr.persistence.atomic;
+package org.apache.jackrabbit.ocm.persistence.atomic;
 
 import javax.jcr.Value;
 import javax.jcr.ValueFactory;
 
-import org.apache.portals.graffito.jcr.exception.IncorrectAtomicTypeException;
-import org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverter;
+import org.apache.jackrabbit.ocm.exception.IncorrectAtomicTypeException;
+import org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverter;
 
 /**
  * This is a simple converter which convert a boolean field value into a jcr long property.
@@ -144,7 +144,7 @@
 {
   /**
    *
-   * @see org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverter#getValue(java.lang.Object)
+   * @see org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverter#getValue(java.lang.Object)
    */
   public Value getValue(ValueFactory valueFactory, Object propValue)
   {
@@ -165,7 +165,7 @@
 
     /**
      *
-     * @see org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverter#getObject(javax.jcr.Value)
+     * @see org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverter#getObject(javax.jcr.Value)
      */
   public Object getObject(Value value)
     {
@@ -189,7 +189,7 @@
 
   /**
    *
-   * @see org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverter#getStringValue(java.lang.Object)
+   * @see org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverter#getStringValue(java.lang.Object)
    */
   public String getStringValue(Object object)
   {

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/bean-strategy.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/bean-strategy.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/bean-strategy.xml
(original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/bean-strategy.xml
Tue Jan  1 17:48:29 2008
@@ -85,7 +85,7 @@
           </tr>
           <tr>
             <td>
-              org.apache.portals.graffito.jcr.persistence.beanconverter.impl.ParentBeanConverterImpl
+              org.apache.jackrabbit.ocm.persistence.beanconverter.impl.ParentBeanConverterImpl
             </td>
             <td>
               Map a bean field to the parent node. it is used to access to the
@@ -95,7 +95,7 @@
           </tr>
           <tr>
             <td>
-              org.apache.portals.graffito.jcr.persistence.beanconverter.impl.InlineBeanConverterImpl
+              org.apache.jackrabbit.ocm.persistence.beanconverter.impl.InlineBeanConverterImpl
             </td>
             <td>
               Bean converter used to map some node properties into one nested
@@ -116,13 +116,13 @@
         </p>
 <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.inheritance.impl.CmsObjectImpl"
+    className="org.apache.jackrabbit.ocm.testmodel.inheritance.impl.CmsObjectImpl"
     jcrType="graffito:cmsobjectimpl" >
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="name" jcrName="graffito:name" id="true" />
   <bean-descriptor
       fieldName="parentFolder"
-      converter="org.apache.portals.graffito.jcr.persistence.beanconverter.impl.ParentBeanConverterImpl"
/>
+      converter="org.apache.jackrabbit.ocm.persistence.beanconverter.impl.ParentBeanConverterImpl"
/>
 </class-descriptor>
 ]]></source>
       </subsection>
@@ -136,17 +136,17 @@
             Specify the converter class in the bean descriptor:
             <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.inheritance.impl.CmsObjectImpl"
+    className="org.apache.jackrabbit.ocm.testmodel.inheritance.impl.CmsObjectImpl"
     jcrType="graffito:cmsobjectimpl" >
   <bean-descriptor
       fieldName="parentFolder"
-      converter="org.apache.portals.graffito.jcr.persistence.beanconverter.impl.ParentBeanConverterImpl"
/>
+      converter="org.apache.jackrabbit.ocm.persistence.beanconverter.impl.ParentBeanConverterImpl"
/>
 </class-descriptor>
 ]]></source>
         </li>
         <li>
           Implement the converter class (based on the interface
-          org.apache.portals.graffito.jcr.persistence.beanconverter.BeanConverter).
+          org.apache.jackrabbit.ocm.persistence.beanconverter.BeanConverter).
           Your bean converter class can also extends the class
           AbstractBeanConverterImpl to have a default implementation for
           some methods.
@@ -156,15 +156,15 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.portals.graffito.jcr.exception.JcrMappingException;
-import org.apache.portals.graffito.jcr.exception.PersistenceException;
-import org.apache.portals.graffito.jcr.exception.RepositoryException;
-import org.apache.portals.graffito.jcr.mapper.Mapper;
-import org.apache.portals.graffito.jcr.mapper.model.BeanDescriptor;
-import org.apache.portals.graffito.jcr.mapper.model.ClassDescriptor;
-import org.apache.portals.graffito.jcr.persistence.atomictypeconverter.AtomicTypeConverterProvider;
-import org.apache.portals.graffito.jcr.persistence.beanconverter.BeanConverter;
-import org.apache.portals.graffito.jcr.persistence.objectconverter.ObjectConverter;
+import org.apache.jackrabbit.ocm.exception.JcrMappingException;
+import org.apache.jackrabbit.ocm.exception.PersistenceException;
+import org.apache.jackrabbit.ocm.exception.RepositoryException;
+import org.apache.jackrabbit.ocm.mapper.Mapper;
+import org.apache.jackrabbit.ocm.mapper.model.BeanDescriptor;
+import org.apache.jackrabbit.ocm.mapper.model.ClassDescriptor;
+import org.apache.jackrabbit.ocm.persistence.atomictypeconverter.AtomicTypeConverterProvider;
+import org.apache.jackrabbit.ocm.persistence.beanconverter.BeanConverter;
+import org.apache.jackrabbit.ocm.persistence.objectconverter.ObjectConverter;
 /**
  *
  * Bean converter used to access to the parent object.

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/collection-strategy.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/collection-strategy.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/collection-strategy.xml
(original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/collection-strategy.xml
Tue Jan  1 17:48:29 2008
@@ -35,16 +35,16 @@
         </p>
         <source><![CDATA[
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Page"
+    className="org.apache.jackrabbit.ocm.testmodel.Page"
     jcrType="graffito:page">
   <collection-descriptor
       fieldName="paragraphs" jcrName="paragraphs"
-      elementClassName="org.apache.portals.graffito.jcr.testmodel.Paragraph" />
+      elementClassName="org.apache.jackrabbit.ocm.testmodel.Paragraph" />
   <!-- other field, bean and collection mapping here !-->
 </class-descriptor>
 
 <class-descriptor
-    className="org.apache.portals.graffito.jcr.testmodel.Paragraph"
+    className="org.apache.jackrabbit.ocm.testmodel.Paragraph"
     jcrType="graffito:paragraph">
   <field-descriptor fieldName="path" path="true" />
   <field-descriptor fieldName="text" jcrName="graffito:text"/>

Modified: jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/introduction-strategies.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/introduction-strategies.xml?rev=607960&r1=607959&r2=607960&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/introduction-strategies.xml
(original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/xdoc/ocm/simple-strategies/introduction-strategies.xml
Tue Jan  1 17:48:29 2008
@@ -136,7 +136,7 @@
         <p align="center"><img src="../images/simple-classdescriptor-def.jpg"/></p>
         <p>
           This class descriptor maps the class
-          "org.apache.portals.graffito.jcr.testmodel.Paragraph" into the
+          "org.apache.jackrabbit.ocm.testmodel.Paragraph" into the
           JCR type "nt:unstructured". Each field-descriptor maps one bean
           field into a JCR property. For example, the first field descriptor
           maps the java bean field "text" into the jcr property called
@@ -152,7 +152,7 @@
           It is also possible to map a bean class to a particular JCR node
           type by specifying the desired type in the attribute jcrType.
           The following class-descriptor map the class
-          "org.apache.portals.graffito.jcr.testmodel.Paragraph" into the
+          "org.apache.jackrabbit.ocm.testmodel.Paragraph" into the
           node type "graffito:paragraph".
         </p>
         <p>



Mime
View raw message