@Beta public interface WriteTransaction extends AsyncWriteTransaction<InstanceIdentifier<?>,TreeNode>
 For more information on usage and examples, please see the documentation in AsyncWriteTransaction.
| Modifier and Type | Method and Description | 
|---|---|
void | 
delete(LogicalDatastoreType store,
      InstanceIdentifier<? extends TreeNode> path)
Removes a piece of data from specified path. 
 | 
<T extends TreeNode> | 
merge(LogicalDatastoreType store,
     InstanceIdentifier<T> path,
     T data)
Merges a piece of data with the existing data at a specified path. 
 | 
<T extends TreeNode> | 
merge(LogicalDatastoreType store,
     InstanceIdentifier<T> path,
     T data,
     boolean createMissingParents)
Merges a piece of data with the existing data at a specified path. 
 | 
<T extends TreeNode> | 
put(LogicalDatastoreType store,
   InstanceIdentifier<T> path,
   T data)
Stores a piece of data at the specified path. 
 | 
<T extends TreeNode> | 
put(LogicalDatastoreType store,
   InstanceIdentifier<T> path,
   T data,
   boolean createMissingParents)
Stores a piece of data at the specified path. 
 | 
cancel, submitgetIdentifier<T extends TreeNode> void put(LogicalDatastoreType store, InstanceIdentifier<T> path, T data)
 This method does not automatically create missing parent nodes. It is equivalent to invoking
 put(LogicalDatastoreType, InstanceIdentifier, TreeNode, boolean)
 with createMissingParents set to false.
 
 For more information on usage and examples, please see the documentation in AsyncWriteTransaction.
 
 If you need to make sure that a parent object exists but you do not want modify
 its pre-existing state by using put, consider using merge(org.opendaylight.mdsal.common.api.LogicalDatastoreType, org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier<T>, T) instead.
T - data tree typestore - the logical data store which should be modifiedpath - the data object pathdata - the data object to be written to the specified pathIllegalStateException - if the transaction has already been submitted<T extends TreeNode> void put(LogicalDatastoreType store, InstanceIdentifier<T> path, T data, boolean createMissingParents)
 For more information on usage and examples, please see the documentation
 in AsyncWriteTransaction.
 
 If you need to make sure that a parent object exists but you do not want
 modify its pre-existing state by using put, consider using merge(org.opendaylight.mdsal.common.api.LogicalDatastoreType, org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier<T>, T)
 instead.
 
 Note: Using createMissingParents with value true, may
 introduce garbage in data store, or recreate nodes, which were deleted by
 previous transaction.
T - data tree typestore - the logical data store which should be modifiedpath - the data object pathdata - the data object to be written to the specified pathcreateMissingParents - if true, any missing parent nodes will be automatically
            created using a merge operation.IllegalStateException - if the transaction has already been submitted<T extends TreeNode> void merge(LogicalDatastoreType store, InstanceIdentifier<T> path, T data)
 This method does not automatically create missing parent nodes. It is equivalent to invoking
 merge(LogicalDatastoreType, InstanceIdentifier, TreeNode, boolean)
 with createMissingParents set to false.
 
 For more information on usage and examples, please see the documentation in
 AsyncWriteTransaction.
 If you require an explicit replace operation, use put(org.opendaylight.mdsal.common.api.LogicalDatastoreType, org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier<T>, T) instead.
T - data tree typestore - the logical data store which should be modifiedpath - the data object pathdata - the data object to be merged to the specified pathIllegalStateException - if the transaction has already been submitted<T extends TreeNode> void merge(LogicalDatastoreType store, InstanceIdentifier<T> path, T data, boolean createMissingParents)
 For more information on usage and examples, please see the documentation
 in AsyncWriteTransaction.
 
 If you require an explicit replace operation, use put(org.opendaylight.mdsal.common.api.LogicalDatastoreType, org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier<T>, T) instead.
T - data tree typestore - the logical data store which should be modifiedpath - the data object pathdata - the data object to be merged to the specified pathcreateMissingParents - if true, any missing parent nodes will be automatically created
            using a merge operation.IllegalStateException - if the transaction has already been submittedvoid delete(LogicalDatastoreType store, InstanceIdentifier<? extends TreeNode> path)
AsyncWriteTransactiondelete in interface AsyncWriteTransaction<InstanceIdentifier<?>,TreeNode>store - Logical data store which should be modifiedpath - Data object pathCopyright © 2018 OpenDaylight. All rights reserved.