public abstract class AbstractSimpleService<T,K> extends Object implements SimpleService<T,K>
| Constructor and Description |
|---|
AbstractSimpleService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(K primaryKey) |
boolean |
existsById(K primaryKey) |
Optional<T> |
getById(K primaryKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, updatepublic 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>Copyright © 2020 SADTECH. All rights reserved.