Class AbstractWriteTransaction<T extends org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction>
- java.lang.Object
-
- org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction<T>
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Delegator<T>,org.opendaylight.yangtools.concepts.Identifiable<Object>
- Direct Known Subclasses:
AbstractReadWriteTransaction
@Deprecated(forRemoval=true) public abstract class AbstractWriteTransaction<T extends org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction> extends Object
Deprecated, for removal: This API element is subject to removal in a future version.Abstract Base Transaction for transactions which are backed byDOMDataWriteTransaction.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractWriteTransaction(T delegate, BindingToNormalizedNodeCodec codec)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleandoCancel()Deprecated, for removal: This API element is subject to removal in a future version.protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>doCommit()Deprecated, for removal: This API element is subject to removal in a future version.protected voiddoDelete(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)Deprecated, for removal: This API element is subject to removal in a future version.protected com.google.common.util.concurrent.CheckedFuture<Boolean,org.opendaylight.controller.md.sal.common.api.data.ReadFailedException>doExists(org.opendaylight.controller.md.sal.dom.api.DOMDataReadTransaction readTx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)Deprecated, for removal: This API element is subject to removal in a future version.protected <D extends org.opendaylight.yangtools.yang.binding.DataObject>
com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<D>,org.opendaylight.controller.md.sal.common.api.data.ReadFailedException>doRead(org.opendaylight.controller.md.sal.dom.api.DOMDataReadTransaction readTx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> path)Deprecated, for removal: This API element is subject to removal in a future version.protected abstract voidensureParentsByMerge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier key, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)Deprecated, for removal: This API element is subject to removal in a future version.Subclasses of this class are required to implement creation of parent nodes based on behaviour of their underlying transaction.protected BindingToNormalizedNodeCodecgetCodec()Deprecated, for removal: This API element is subject to removal in a future version.TgetDelegate()Deprecated, for removal: This API element is subject to removal in a future version.protected <S extends org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>>
SgetDelegateChecked(Class<S> txType)Deprecated, for removal: This API element is subject to removal in a future version.ObjectgetIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.protected static com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier>getParent(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier child)Deprecated.UseYangInstanceIdentifier.getParent()instead.<U extends org.opendaylight.yangtools.yang.binding.DataObject>
voidmerge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<U> path, U data, boolean createParents)Deprecated, for removal: This API element is subject to removal in a future version.<U extends org.opendaylight.yangtools.yang.binding.DataObject>
voidput(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<U> path, U data, boolean createParents)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
AbstractWriteTransaction
protected AbstractWriteTransaction(T delegate, BindingToNormalizedNodeCodec codec)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
put
public final <U extends org.opendaylight.yangtools.yang.binding.DataObject> void put(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<U> path, U data, boolean createParents)Deprecated, for removal: This API element is subject to removal in a future version.
-
merge
public final <U extends org.opendaylight.yangtools.yang.binding.DataObject> void merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<U> path, U data, boolean createParents)Deprecated, for removal: This API element is subject to removal in a future version.
-
getParent
@Deprecated protected static com.google.common.base.Optional<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier> getParent(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier child)
Deprecated.UseYangInstanceIdentifier.getParent()instead.Deprecated.
-
ensureParentsByMerge
protected abstract void ensureParentsByMerge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier key, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)Deprecated, for removal: This API element is subject to removal in a future version.Subclasses of this class are required to implement creation of parent nodes based on behaviour of their underlying transaction.
-
doDelete
protected final void doDelete(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)Deprecated, for removal: This API element is subject to removal in a future version.
-
doCommit
protected final com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> doCommit()
Deprecated, for removal: This API element is subject to removal in a future version.
-
doCancel
protected final boolean doCancel()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIdentifier
public final Object getIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifierin interfaceorg.opendaylight.yangtools.concepts.Identifiable<T extends org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>>
-
getDelegate
public final T getDelegate()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDelegatein interfaceorg.opendaylight.yangtools.concepts.Delegator<T extends org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>>
-
getDelegateChecked
protected final <S extends org.opendaylight.controller.md.sal.common.api.data.AsyncTransaction<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>>> S getDelegateChecked(Class<S> txType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCodec
protected final BindingToNormalizedNodeCodec getCodec()
Deprecated, for removal: This API element is subject to removal in a future version.
-
doRead
protected final <D extends org.opendaylight.yangtools.yang.binding.DataObject> com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<D>,org.opendaylight.controller.md.sal.common.api.data.ReadFailedException> doRead(org.opendaylight.controller.md.sal.dom.api.DOMDataReadTransaction readTx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> path)Deprecated, for removal: This API element is subject to removal in a future version.
-
doExists
protected final com.google.common.util.concurrent.CheckedFuture<Boolean,org.opendaylight.controller.md.sal.common.api.data.ReadFailedException> doExists(org.opendaylight.controller.md.sal.dom.api.DOMDataReadTransaction readTx, org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-