You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BufferedValidatable.java 788B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. @ITMillApache2LicenseForJavaFiles@
  3. */
  4. package com.itmill.toolkit.data;
  5. /**
  6. * <p>
  7. * This interface defines the combination of <code>Validatable</code> and
  8. * <code>Buffered</code> interfaces. The combination of the interfaces defines
  9. * if the invalid data is committed to datasource.
  10. * </p>
  11. *
  12. * @author IT Mill Ltd.
  13. * @version
  14. * @VERSION@
  15. * @since 3.0
  16. */
  17. public interface BufferedValidatable extends Buffered, Validatable {
  18. /**
  19. * Tests if the invalid data is committed to datasource. The default is
  20. * <code>false</code>.
  21. */
  22. public boolean isInvalidCommitted();
  23. /**
  24. * Sets if the invalid data should be committed to datasource. The default
  25. * is <code>false</code>.
  26. */
  27. public void setInvalidCommitted(boolean isCommitted);
  28. }