node.commitPropertyMaps( nodeElement.propertyAddMap,
nodeElement.propertyRemoveMap );
}
else if ( param != Status.STATUS_ROLLEDBACK )
{
throw new TransactionFailureException(
"Unknown transaction status: " + param );
}
}
}
ArrayMap<Long,CowRelElement> cowRelElements = element.relationships;
Set<Entry<Long,CowRelElement>> relEntrySet =
cowRelElements.entrySet();
for ( Entry<Long,CowRelElement> entry : relEntrySet )
{
RelationshipImpl rel = nodeManager.getRelIfCached( entry.getKey() );
if ( rel != null )
{
CowRelElement relElement = entry.getValue();
if ( param == Status.STATUS_COMMITTED )
{
rel.commitPropertyMaps( relElement.propertyAddMap,
relElement.propertyRemoveMap );
}
else if ( param != Status.STATUS_ROLLEDBACK )
{
throw new TransactionFailureException(
"Unknown transaction status: " + param );
}
}
}
cowMap.remove( cowTxId );