Package com.qfs.plan
Interface ITransactionContent
- All Known Subinterfaces:
IPartitionTransactionContent
- All Known Implementing Classes:
AGenericTransactionContent,AIncrementalPartitionTransactionContent,APartitionTransactionContent,ATransactionContent,DropPartitionTransactionContent,FastForwardTransactionContent,IncrementalPartitionTransactionContent,IncrementalPartitionTransactionContentDeleteFirst,IncrementalTransactionContent,InitialPartitionTransactionContent,InitialTransactionContent
public interface ITransactionContent
Holder for all the records modified by a transaction.
Do not keep any strong reference to this in non transient objects instance to prevent memory leaks.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionGet all the partitions' id involved in the transaction.getPartitionContent(int partitionId) Get the content of the transaction for a specific partition.intGet the id of theISelectionas defined in theICompositeSelectionaffected by this transaction content.
-
Method Details
-
getAvailablePartitionIds
Collection<Integer> getAvailablePartitionIds()Get all the partitions' id involved in the transaction.- Returns:
- the list of partitions' id involved in the transaction
-
getPartitionContent
Get the content of the transaction for a specific partition.- Parameters:
partitionId- the id of the partition to get content for- Returns:
- the transaction's content for the specific partition, or null if the partition has not been modified
-
getSelectionId
int getSelectionId()Get the id of theISelectionas defined in theICompositeSelectionaffected by this transaction content.- Returns:
- the id of the selection affected by this transaction content
-