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

nyla.solutions.global.patterns.creational.KeyValueCRUD Maven / Gradle / Ivy

package nyla.solutions.global.patterns.creational;

import nyla.solutions.global.exception.DuplicateRowException;

/**
 * Implement create, read, update and delete operations for records
 * @author Gregory Green
 *
 * @param 
 * @param 
 */
public interface KeyValueCRUD extends KeyValueSaver
{
	
	Value create(Key key, Value value)
	throws DuplicateRowException;
	
	Value read(Key key);
	
	Value update(Key key,Value value);
	
	Value delete(Key key);
	
	void deleteAll();
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy