![JAR search and dependency download from the Maven repository](/logo.png)
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