Directory

← Back

Transactional Container Add-on

Transactional Container for Grid component

Author

Rating

Popularity

<100

TransactionalContainerWrapper wraps existing containers to support transactions.

Sample code

    private TransactionalContainerWrapper buildTxContainerWrapper(
            BeanContainer<Long, Ticket> beanContainer) {
        return new TransactionalContainerWrapper(beanContainer, new ItemGenerator() {
            @Override
            public Item createNewItem(Object id) {
                Ticket ticket = new Ticket();
                ticket.setId((Long) id);
                return new BeanItem<Ticket>(ticket, Ticket.class);
            }

            @Override
            public Object createNewItemId() {
                return idCounter++;
            }
        });
    }

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • Commons-collections upgraded to 3.2.2
  • Vaadin upgraded to 7.6.4
  • Grid Unbuffered Mode
Released
2016-03-11
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.6+
Vaadin 7.5+ in 1.0
Browser
N/A

Transactional Container Add-on - Vaadin Add-on Directory

Transactional Container for Grid component Transactional Container Add-on - Vaadin Add-on Directory
TransactionalContainerWrapper wraps existing containers to support transactions.
Online