public interface PersistableRepository<T extends AggregateRoot> extends Repository<T>, SearchableRepository<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
delete(Collection<T> items) |
default void |
delete(T item) |
default void |
delete(T[] items) |
default String[] |
insert(Collection<T> items) |
default String |
insert(T item) |
default String[] |
insert(T[] items) |
String[] |
persist(Collection<T> insert,
Collection<Map.Entry<T,T>> update,
Collection<T> delete) |
default void |
update(Collection<T> items) |
default void |
update(T item) |
default void |
update(T[] items) |
default void |
update(T old,
T current) |
find, find, findString[] persist(Collection<T> insert, Collection<Map.Entry<T,T>> update, Collection<T> delete) throws IOException
IOExceptiondefault String[] insert(Collection<T> items) throws IOException
IOExceptiondefault String[] insert(T[] items) throws IOException
IOExceptiondefault String insert(T item) throws IOException
IOExceptiondefault void update(Collection<T> items) throws IOException
IOExceptiondefault void update(T[] items) throws IOException
IOExceptiondefault void update(T old, T current) throws IOException
IOExceptiondefault void update(T item) throws IOException
IOExceptiondefault void delete(Collection<T> items) throws IOException
IOExceptiondefault void delete(T[] items) throws IOException
IOExceptiondefault void delete(T item) throws IOException
IOExceptionCopyright © 2016. All rights reserved.