org.ioc.commons.ui.features.HasDataEdition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons-ext Show documentation
Show all versions of ioc-commons-ext Show documentation
Library which contains some extension classes for the library IOC-Commons.
It provides some interface definitions and some tool classes which are non-dependent from the used technology;
i.e. the classes and interfaces from this library do not depend on the choosen ioc-commons-implementation library.
package org.ioc.commons.ui.features;
/**
*
* @author Jesús Lunar Pérez
*/
public interface HasDataEdition {
/**
* Determines if there are changes made
*
* @return true if it has not saved data; false otherwise
*/
public boolean isDirty();
/**
* Flushes all changes made by the user to the data store
*/
public void flush();
/**
* Undoes all changes made by the user
*/
public void undo();
/**
* Checks if all fields on the component contain valid values
*
* @return true if all values are valid; false otherwise
*/
public boolean checkFieldsValidity();
}