public class SmallCrudRepositoryMixin<T extends HasIdentity> extends Object implements CrudRepository<T>
| Constructor and Description |
|---|
SmallCrudRepositoryMixin(PolygeneAPI api,
ServiceComposite me) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Identity identity) |
void |
delete(Identity identity) |
Iterable<T> |
find(Predicate<Composite> specification) |
Iterable<T> |
findAll() |
T |
get(Identity identity) |
T |
toValue(T entity) |
void |
update(T newStateAsValue) |
public SmallCrudRepositoryMixin(@Structure PolygeneAPI api, @This ServiceComposite me)
public void create(Identity identity)
create in interface CrudRepository<T extends HasIdentity>public T get(Identity identity)
get in interface CrudRepository<T extends HasIdentity>public void update(T newStateAsValue)
update in interface CrudRepository<T extends HasIdentity>public void delete(Identity identity)
delete in interface CrudRepository<T extends HasIdentity>public Iterable<T> findAll()
findAll in interface CrudRepository<T extends HasIdentity>public Iterable<T> find(Predicate<Composite> specification)
find in interface CrudRepository<T extends HasIdentity>public T toValue(T entity)
toValue in interface CrudRepository<T extends HasIdentity>