Editing the vaadin table

Hi Team,

I am using the vaadin table to display the data. i am displaying like.

[size=1]
@SuppressWarnings(“unchecked”)
public void addItemsToContainer(List transactionTypes) {

    removeAllItems();
    removeAllContainerFilters();

  [color=#DAA520]

for (TransactionType transactionType : transactionTypes) {
Object itemId = addItem();

        getContainerProperty(itemId, TransactionTypeEnum.STATUS.getText()).setValue(transactionType.getStatus().getText());
        getContainerProperty(itemId, TransactionTypeEnum.CATEGORY.getText()).setValue(transactionType.getCategory());
        
    }
    notifySubscribers();
}

[/color]
[/size]

user can able to edit multiple rows from the table, my question is how to retreive the rows which the user is editted, i know i am getting the cell value like

protected void commitFields() {
[size=1]

   [color=#DAA520]

for (Field field : fields) {

        if (field.isModified()) {
            
            Object itemId = this .getValue();

            
        }

[/color]
}
[/size]

but i wanted to get all rows so that i can send to service and to hibernate to save them in to db.
is any good way to achieve this functionaltiy??