+ return newReadWriteTransaction.commit();
+ }
+
+ newReadWriteTransaction.delete(LogicalDatastoreType.CONFIGURATION, path.getParent().getParent());
+ simplePost(newReadWriteTransaction, LogicalDatastoreType.CONFIGURATION, path, data, schemaContext,
+ transactionChain);
+ makePost(path, readData, schemaContext, transactionChain, newReadWriteTransaction);
+ return newReadWriteTransaction.commit();
+ }
+ case "last":
+ makePost(path, data, schemaContext, transactionChain, newReadWriteTransaction);
+ return newReadWriteTransaction.commit();
+ case "before":
+ if (schemaNode instanceof ListSchemaNode) {
+ final NormalizedNode<?, ?> readData = PutDataTransactionUtil.readList(path.getParent(),
+ schemaContext, transactionNode.getTransactionChainHandler(), schemaNode);
+ final OrderedMapNode readList = (OrderedMapNode) readData;
+ if (readList == null || readList.getValue().isEmpty()) {
+ makePost(path, data, schemaContext, transactionChain, newReadWriteTransaction);
+ return newReadWriteTransaction.commit();
+ }
+
+ insertWithPointListPost(newReadWriteTransaction, LogicalDatastoreType.CONFIGURATION, path,
+ data, schemaContext, point, readList, true, transactionChain);