Interface PanacheManagedReactiveEntity
- All Superinterfaces:
PanacheEntityMarker,PanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>>
- All Known Subinterfaces:
PanacheEntity.Reactive
- All Known Implementing Classes:
PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl
public interface PanacheManagedReactiveEntity
extends PanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.hibernate.panache.PanacheEntityMarker
PanacheEntityMarker.PanacheManagedBlockingEntityOperationsImpl, PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl, PanacheEntityMarker.PanacheStatelessBlockingEntityOperationsImpl, PanacheEntityMarker.PanacheStatelessReactiveEntityOperationsImpl -
Method Summary
Modifier and TypeMethodDescriptiondefault io.smallrye.mutiny.Uni<Void> delete()Delete this entity from the database, if it is already persisted.default io.smallrye.mutiny.Uni<Boolean> Returns true if this entity is persistent in the database.default io.smallrye.mutiny.Uni<Void> persist()Persist this entity in the database, if not already persisted.default io.smallrye.mutiny.Uni<Void> Persist this entity in the database, if not already persisted.Methods inherited from interface io.quarkus.hibernate.panache.PanacheEntityMarker
managedBlocking, managedReactive, statelessBlocking, statelessReactive
-
Method Details
-
persist
Persist this entity in the database, if not already persisted. This will set your ID field if it is not already set.- Specified by:
persistin interfacePanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>> - See Also:
-
persistAndFlush
Persist this entity in the database, if not already persisted. This will set your ID field if it is not already set. Then flushes all pending changes to the database.- Specified by:
persistAndFlushin interfacePanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>> - See Also:
-
delete
Delete this entity from the database, if it is already persisted.- Specified by:
deletein interfacePanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>> - See Also:
-
isPersistent
Returns true if this entity is persistent in the database. If yes, all modifications to its persistent fields will be automatically committed to the database at transaction commit time.- Specified by:
isPersistentin interfacePanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>> - Returns:
- true if this entity is persistent in the database.
-