Interface SingleItemFinder<K extends Serializable,T extends Serializable>
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SingleItemFinder<K extends Serializable,T extends Serializable>
extends Serializable
Strategy for finding single item.
-
Method Summary
-
Method Details
-
getItem
Retrieves item from primary key or id, or null if not found.- Throws:
Exception
-