[exo-jcr-commits] exo-jcr SVN: r1304 - jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jan 5 16:56:12 EST 2010


Author: pnedonosko
Date: 2010-01-05 16:56:12 -0500 (Tue, 05 Jan 2010)
New Revision: 1304

Modified:
   jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCStorageConnection.java
Log:
EXOJCR-302 traverseQPath() and getInternalId() in JDBCStorageConnection methods made public (for load test)

Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCStorageConnection.java
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCStorageConnection.java	2010-01-05 21:52:56 UTC (rev 1303)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCStorageConnection.java	2010-01-05 21:56:12 UTC (rev 1304)
@@ -218,7 +218,7 @@
     *          Item id
     * @return String with container internal id
     */
-   protected abstract String getInternalId(String identifier);
+   public abstract String getInternalId(String identifier);
 
    /**
     * Used in loadXYZRecord methods for extract real Identifier from container value.
@@ -849,7 +849,7 @@
     * @throws IllegalNameException
     *           - if name on the path is wrong
     */
-   protected QPath traverseQPath(String cpid) throws SQLException, InvalidItemStateException, IllegalNameException
+   public QPath traverseQPath(String cpid) throws SQLException, InvalidItemStateException, IllegalNameException
    {
       // get item by Identifier usecase
       List<QPathEntry> qrpath = new ArrayList<QPathEntry>(); // reverted path



More information about the exo-jcr-commits mailing list