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 ITransactionContentHolder 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Integer>getAvailablePartitionIds()Get all the partitions' id involved in the transaction.IPartitionTransactionContentgetPartitionContent(int partitionId)Get the content of the transaction for a specific partition.intgetSelectionId()Get the id of theISelectionas defined in theICompositeSelectionaffected by this transaction content.
-
-
-
Method Detail
-
getAvailablePartitionIds
Collection<Integer> getAvailablePartitionIds()
Get all the partitions' id involved in the transaction.- Returns:
- the list of partitions' id involved in the transaction
-
getPartitionContent
IPartitionTransactionContent getPartitionContent(int partitionId)
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
-
-