Package org.chenile.utils.entity.service
Interface EntityStore<T>
public interface EntityStore<T>
-
Method Summary
-
Method Details
-
store
Store the entity into permanent store.- Parameters:
entity
- the entity that needs to be persisted
-
retrieve
Retrieve the entity by ID- Parameters:
id
- the ID of the entity- Returns:
- the entity from the store
-