public abstract class AbstractSimpleManagerService<T,K> extends Object implements SimpleManagerService<T,K>
| Constructor and Description |
|---|
AbstractSimpleManagerService() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
createAll(@NonNull Collection<T> entities) |
void |
deleteAllById(@NonNull Collection<K> primaryKeys) |
void |
deleteById(K primaryKey) |
boolean |
existsById(K primaryKey) |
Sheet<T> |
getAll(@NonNull Pagination pagination) |
Optional<T> |
getById(K primaryKey) |
List<T> |
updateAll(@NonNull Collection<T> entities) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, updatepublic void deleteAllById(@NonNull
@NonNull Collection<K> primaryKeys)
deleteAllById in interface MultipleService<T,K>public Sheet<T> getAll(@NonNull @NonNull Pagination pagination)
getAll in interface PagingService<T>public Optional<T> getById(@NonNull K primaryKey)
getById in interface SimpleService<T,K>public boolean existsById(@NonNull
K primaryKey)
existsById in interface SimpleService<T,K>public void deleteById(@NonNull
K primaryKey)
deleteById in interface SimpleService<T,K>public List<T> createAll(@NonNull @NonNull Collection<T> entities)
createAll in interface MultipleService<T,K>public List<T> updateAll(@NonNull @NonNull Collection<T> entities)
updateAll in interface MultipleService<T,K>Copyright © 2020 SADTECH. All rights reserved.