All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ioc.commons.ui.features.HasDataEdition Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.2.1
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy