Interface Repository<T,ID extends Serializable>
- Type Parameters:
T
- the type of objects managed by the repositoryID
- the type used to identify the objects
- All Known Subinterfaces:
JpaStoredEventRepository
,StoredEventRepository
public interface Repository<T,ID extends Serializable>
A mechanism for encapsulating storage, retrieval, and search behavior which emulates a collection of objects.
- Author:
- RealLifeDeveloper
-
Method Summary
-
Method Details
-
findById
Gives the entity with the given id.- Parameters:
id
- the id of the entity to find- Returns:
- the entity with the given id, or
null
if no such entity could be found
-