[exo-jcr-commits] exo-jcr SVN: r4236 - jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1604.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Apr 14 07:04:29 EDT 2011
Author: tolusha
Date: 2011-04-14 07:04:28 -0400 (Thu, 14 Apr 2011)
New Revision: 4236
Modified:
jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1604/JCR-1604.patch
Log:
JCR-1604: patch updateded
Modified: jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1604/JCR-1604.patch
===================================================================
--- jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1604/JCR-1604.patch 2011-04-13 15:51:44 UTC (rev 4235)
+++ jcr/branches/1.12.x/patch/1.12.9-GA/JCR-1604/JCR-1604.patch 2011-04-14 11:04:28 UTC (rev 4236)
@@ -1,8 +1,8 @@
-Index: exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java
-===================================================================
---- exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java (revision 4234)
-+++ exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java (working copy)
-@@ -471,6 +471,31 @@
+Index: exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java
+===================================================================
+--- exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java (revision 4235)
++++ exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/BufferedJBossCache.java (working copy)
+@@ -471,6 +471,31 @@
return parentCache.get(fqn, key);
}
@@ -34,7 +34,7 @@
public Object putInBuffer(Fqn fqn, Serializable key, Object value)
{
CompressedChangesBuffer changesContainer = getChangesBufferSafe();
-@@ -789,6 +814,42 @@
+@@ -789,6 +814,42 @@
}
/**
@@ -77,11 +77,11 @@
* Put container.
*/
public static class PutKeyValueContainer extends ChangesContainer
-Index: exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java
-===================================================================
---- exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java (revision 4234)
-+++ exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java (working copy)
-@@ -60,6 +60,7 @@
+Index: exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java
+===================================================================
+--- exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java (revision 4235)
++++ exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/JBossCacheWorkspaceStorageCache.java (working copy)
+@@ -60,6 +60,7 @@
import javax.jcr.PropertyType;
import javax.jcr.RepositoryException;
@@ -89,7 +89,7 @@
import javax.transaction.TransactionManager;
/**
-@@ -417,7 +418,7 @@
+@@ -417,7 +418,7 @@
cache.setLocal(false);
if (!inTransaction)
{
@@ -98,7 +98,7 @@
}
}
}
-@@ -556,23 +557,20 @@
+@@ -556,23 +557,20 @@
cache.setLocal(true);
@@ -124,7 +124,7 @@
}
}
}
-@@ -592,8 +590,6 @@
+@@ -592,8 +590,6 @@
}
cache.setLocal(true);
@@ -133,7 +133,7 @@
if (childs.size() > 0)
{
-@@ -603,12 +599,13 @@
+@@ -603,12 +599,13 @@
putNode(child, ModifyChildOption.NOT_MODIFY);
set.add(child.getIdentifier());
}
@@ -149,7 +149,7 @@
}
}
finally
-@@ -616,7 +613,7 @@
+@@ -616,7 +613,7 @@
cache.setLocal(false);
if (!inTransaction)
{
@@ -158,7 +158,7 @@
}
}
}
-@@ -634,8 +631,6 @@
+@@ -634,8 +631,6 @@
cache.beginTransaction();
}
cache.setLocal(true);
@@ -167,7 +167,7 @@
if (childs.size() > 0)
{
// add all new
-@@ -645,7 +640,7 @@
+@@ -645,7 +640,7 @@
putProperty(child, ModifyChildOption.NOT_MODIFY);
set.add(child.getIdentifier());
}
@@ -176,7 +176,7 @@
}
else
-@@ -658,7 +653,7 @@
+@@ -658,7 +653,7 @@
cache.setLocal(false);
if (!inTransaction)
{
@@ -185,7 +185,7 @@
}
}
}
-@@ -669,17 +664,6 @@
+@@ -669,17 +664,6 @@
public void addChildPropertiesList(NodeData parent, List<PropertyData> childProperties)
{
// TODO not implemented, will force read from DB
@@ -203,7 +203,7 @@
}
/**
-@@ -945,18 +929,19 @@
+@@ -945,18 +929,19 @@
if (node.getParentIdentifier() != null)
{
// add in CHILD_NODES
@@ -229,7 +229,7 @@
}
protected ItemData putNodeInBufferedCache(NodeData node, ModifyChildOption modifyListsOfChild)
-@@ -965,14 +950,13 @@
+@@ -965,14 +950,13 @@
if (node.getParentIdentifier() != null)
{
// add in CHILD_NODES
@@ -248,7 +248,7 @@
}
}
// add in ITEMS
-@@ -988,9 +972,8 @@
+@@ -988,9 +972,8 @@
protected PropertyData putProperty(PropertyData prop, ModifyChildOption modifyListsOfChild)
{
// add in CHILD_PROPS
@@ -260,7 +260,7 @@
if (modifyListsOfChild != ModifyChildOption.NOT_MODIFY)
{
-@@ -1025,7 +1008,8 @@
+@@ -1025,7 +1008,8 @@
}
// add in ITEMS
@@ -270,7 +270,7 @@
}
protected void removeItem(ItemData item)
-@@ -1041,8 +1025,8 @@
+@@ -1041,8 +1025,8 @@
.getQPath().getEntries().length - 1]));
// remove from CHILD_NODES_LIST of parent
@@ -281,7 +281,7 @@
// remove from CHILD_NODES as parent
cache.removeNode(makeChildListFqn(childNodes, item.getIdentifier()));
-@@ -1066,8 +1050,8 @@
+@@ -1066,8 +1050,8 @@
.getQPath().getEntries().length - 1]));
// remove from CHILD_PROPS_LIST
@@ -292,7 +292,7 @@
}
// remove from ITEMS
cache.removeNode(makeItemFqn(item.getIdentifier()));
-@@ -1096,10 +1080,10 @@
+@@ -1096,10 +1080,10 @@
}
/**
@@ -307,7 +307,7 @@
* @param node NodeData
* @param prevNode NodeData
*/
-@@ -1205,9 +1189,9 @@
+@@ -1205,9 +1189,9 @@
NodeData prevNode = (NodeData)data;
TransientNodeData newNode =
@@ -320,7 +320,7 @@
// update this node
cache.put(makeItemFqn(newNode.getIdentifier()), ITEM_DATA, newNode);
}
-@@ -1225,8 +1209,8 @@
+@@ -1225,8 +1209,8 @@
}
TransientPropertyData newProp =
@@ -331,7 +331,7 @@
cache.put(makeItemFqn(newProp.getIdentifier()), ITEM_DATA, newProp);
}
}
-@@ -1260,8 +1244,8 @@
+@@ -1260,8 +1244,8 @@
QPath
.makeChildPath(rootPath, prevProp.getQPath().getEntries()[prevProp.getQPath().getEntries().length - 1]);
TransientPropertyData newProp =
@@ -342,7 +342,7 @@
cache.put(makeItemFqn(newProp.getIdentifier()), ITEM_DATA, newProp);
}
-@@ -1274,9 +1258,9 @@
+@@ -1274,9 +1258,9 @@
QPath
.makeChildPath(rootPath, prevNode.getQPath().getEntries()[prevNode.getQPath().getEntries().length - 1]);
TransientNodeData newNode =
@@ -355,7 +355,7 @@
// update this node
cache.put(makeItemFqn(newNode.getIdentifier()), ITEM_DATA, newNode);
// update childs recursive
-@@ -1292,22 +1276,22 @@
+@@ -1292,22 +1276,22 @@
*/
protected void updateChildsACL(final String parentId, final AccessControlList acl)
{
@@ -383,7 +383,7 @@
// update this node
cache.put(makeItemFqn(newNode.getIdentifier()), ITEM_DATA, newNode);
// update childs recursive
-@@ -1347,4 +1331,44 @@
+@@ -1347,4 +1331,44 @@
NOT_MODIFY, MODIFY, FORCE_MODIFY
}
More information about the exo-jcr-commits
mailing list