public interface PersistenceProvider<ENTITY>
| Modifier and Type | Method and Description |
|---|---|
Persister<ENTITY> |
persister()
Returns a
Persister which can be used to persist
entities in the underlying database. |
Persister<ENTITY> |
persister(HasLabelSet<ENTITY> fields)
Provides a
Persister that operates on a given subset of entity fields. |
Remover<ENTITY> |
remover()
Returns a
Remover which can be used to remove
entities in the underlying database. |
Updater<ENTITY> |
updater()
Returns a
Updater which can be used to update
entities in the underlying database. |
Updater<ENTITY> |
updater(HasLabelSet<ENTITY> fields)
Provides a
Updater that operates on a given subset of entity fields. |
Persister<ENTITY> persister()
Persister which can be used to persist
entities in the underlying database.Persister.apply(ENTITY)Persister<ENTITY> persister(HasLabelSet<ENTITY> fields)
Persister that operates on a given subset of entity fields. Useful
for example when persisting an entity with auto incremented fields of fields with
defaults.
See persister()fields - the fields to persist, any others are ignoredUpdater<ENTITY> updater()
Updater which can be used to update
entities in the underlying database.Updater.apply(ENTITY)Updater<ENTITY> updater(HasLabelSet<ENTITY> fields)
Updater that operates on a given subset of entity fields. Useful
for example when persisting an entity with auto incremented fields of fields with
defaults.
See updater()fields - the fields to updatepersist, any others are ignoredRemover<ENTITY> remover()
Remover which can be used to remove
entities in the underlying database.Remover.apply(ENTITY)Copyright © 2019 Speedment, Inc.. All rights reserved.