Interface TypedWriteTransaction<D extends Datastore>

  • Type Parameters:
    D - The logical datastore handled by the transaction.
    All Superinterfaces:
    org.opendaylight.yangtools.concepts.Identifiable<java.lang.Object>, org.opendaylight.mdsal.binding.api.Transaction
    All Known Subinterfaces:
    TypedReadWriteTransaction<D>

    @Deprecated(forRemoval=true)
    public interface TypedWriteTransaction<D extends Datastore>
    extends org.opendaylight.mdsal.binding.api.Transaction
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use TypedWriteTransaction instead.
    Write transaction which is specific to a single logical datastore (configuration or operational). Designed for use with ManagedNewTransactionRunner (it doesn’t support explicit cancel or commit operations).
    See Also:
    WriteTransaction
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void delete​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deletes the object present at the given path.
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      merge​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Merges an object with the data already present at the given path.
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      mergeParentStructureMerge​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Merges an object with the data already present at the given path, creating missing parents if requested.
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      mergeParentStructurePut​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Writes an object to the given path, creating missing parents if requested.
      <T extends org.opendaylight.yangtools.yang.binding.DataObject>
      void
      put​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path, T data)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Writes an object to the given path.
      • Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable

        getIdentifier
    • Method Detail

      • put

        <T extends org.opendaylight.yangtools.yang.binding.DataObject> void put​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                T data)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Writes an object to the given path.
        Type Parameters:
        T - The type of the provided object.
        Parameters:
        path - The path to write to.
        data - The object to write.
        See Also:
        )
      • mergeParentStructurePut

        <T extends org.opendaylight.yangtools.yang.binding.DataObject> void mergeParentStructurePut​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                                    T data)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Writes an object to the given path, creating missing parents if requested.
        Type Parameters:
        T - The type of the provided object.
        Parameters:
        path - The path to write to.
        data - The object to write.
        See Also:
        WriteOperations.put(LogicalDatastoreType, InstanceIdentifier, DataObject)
      • merge

        <T extends org.opendaylight.yangtools.yang.binding.DataObject> void merge​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                  T data)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Merges an object with the data already present at the given path.
        Type Parameters:
        T - The type of the provided object.
        Parameters:
        path - The path to write to.
        data - The object to merge.
        See Also:
        WriteOperations.merge(LogicalDatastoreType, InstanceIdentifier, DataObject)
      • mergeParentStructureMerge

        <T extends org.opendaylight.yangtools.yang.binding.DataObject> void mergeParentStructureMerge​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path,
                                                                                                      T data)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Merges an object with the data already present at the given path, creating missing parents if requested.
        Type Parameters:
        T - The type of the provided object.
        Parameters:
        path - The path to write to.
        data - The object to merge.
        See Also:
        WriteOperations.merge(LogicalDatastoreType, InstanceIdentifier, DataObject)
      • delete

        void delete​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Deletes the object present at the given path.
        Parameters:
        path - The path to delete.
        See Also:
        WriteOperations.delete(LogicalDatastoreType, InstanceIdentifier)