public abstract class BaseRepository<TKey,T extends ObjectWithId<TKey>,TDataStore> extends BaseComponent<TKey,TDataStore> implements Repository<TKey,T,TDataStore>, BaseStorageService<TKey,T,TDataStore>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRepository(DataStoreContext<TKey,TDataStore> dataStoreContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.util.Optional<java.time.Instant>> |
getCreatedUtc(TKey id) |
getDataStoreContext, getTKeyClass, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateEmpty, parseAndDeleteOne, parseAndGetOnedeleteOne, deleteOne, getAll, getAllIds, getOne, getOne, getTClass, insert, insertOnegetDataStoreContext, getTKeyClass, parse, parseUnsafeprotected BaseRepository(DataStoreContext<TKey,TDataStore> dataStoreContext)
public java.util.concurrent.CompletableFuture<java.util.Optional<java.time.Instant>> getCreatedUtc(TKey id)
getCreatedUtc in interface Repository<TKey,T extends ObjectWithId<TKey>,TDataStore>id - The id of the documentInstant