[exo-jcr-commits] exo-jcr SVN: r368 - jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Oct 26 07:14:55 EDT 2009
Author: pnedonosko
Date: 2009-10-26 07:14:55 -0400 (Mon, 26 Oct 2009)
New Revision: 368
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java
Log:
EXOJCR-200: conn impl
Modified: jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java
===================================================================
--- jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java 2009-10-26 11:10:54 UTC (rev 367)
+++ jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnection.java 2009-10-26 11:14:55 UTC (rev 368)
@@ -221,11 +221,19 @@
*/
public ItemData getItemData(NodeData parentData, QPathEntry name) throws RepositoryException, IllegalStateException
{
- // Node<Serializable, Object> node = cache.getNode(makeNodeFqn(parentData.getQPath()));
- // if (node == null)
- // {
- // throw new IllegalStateException("Get child Nodes error: parent not found " + parent.getQPath().getAsString());
- // };
+ Node<Serializable, Object> parentNode = cache.getNode(makeNodeFqn(parentData.getQPath()));
+ if (parentNode == null)
+ {
+ throw new IllegalStateException("Get Item data error: parent not found " + parentData.getQPath().getAsString());
+ }
+
+
+ String propertyId = (String) parentNode.get(name.getAsString(true));
+ if (propertyId != null) {
+
+ } else {
+
+ }
return null;
}
More information about the exo-jcr-commits
mailing list