Uses of Class
org.apache.commons.configuration2.tree.ModelTransaction
Packages that use ModelTransaction
Package
Description
A package with helper and utility classes used by hierarchical configurations.
-
Uses of ModelTransaction in org.apache.commons.configuration2.tree
Methods in org.apache.commons.configuration2.tree with parameters of type ModelTransactionModifier and TypeMethodDescriptionprivate static void
InMemoryNodeModel.addAttributeProperty
(ModelTransaction tx, NodeAddData<ImmutableNode> addData, Iterable<?> values) Handles an add property operation if the property to be added is an attribute.private static void
InMemoryNodeModel.addNodeProperty
(ModelTransaction tx, NodeAddData<ImmutableNode> addData, Iterable<?> values) Handles an add property operation if the property to be added is a node.private static void
InMemoryNodeModel.addNodesByAddData
(ModelTransaction tx, NodeAddData<ImmutableNode> addData, Collection<ImmutableNode> newNodes) Initializes a transaction to add a collection of nodes as described by aNodeAddData
object.private void
InMemoryNodeModel.initializeAddTransaction
(ModelTransaction tx, String key, Iterable<?> values, NodeKeyResolver<ImmutableNode> resolver) Initializes a transaction for an add operation.private static boolean
InMemoryNodeModel.initializeClearTransaction
(ModelTransaction tx, Collection<QueryResult<ImmutableNode>> results) Initializes a transaction to clear the values of a property based on the passed in collection of affected results.private static boolean
InMemoryNodeModel.initializeUpdateTransaction
(ModelTransaction tx, Map<QueryResult<ImmutableNode>, Object> changedValues) Initializes a transaction to change the values of some query results based on the passed in map.boolean
InMemoryNodeModel.TransactionInitializer.initTransaction
(ModelTransaction tx) Initializes the specified transaction for an update operation.