Package io.quarkus.hibernate.panache
Class PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl
java.lang.Object
io.quarkus.hibernate.panache.PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl
- All Implemented Interfaces:
PanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,,io.smallrye.mutiny.Uni<Boolean>> PanacheManagedReactiveEntity,PanacheEntityMarker
- Enclosing interface:
PanacheEntityMarker
public static class PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl
extends Object
implements PanacheManagedReactiveEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.hibernate.panache.PanacheEntityMarker
PanacheEntityMarker.PanacheManagedBlockingEntityOperationsImpl, PanacheEntityMarker.PanacheManagedReactiveEntityOperationsImpl, PanacheEntityMarker.PanacheStatelessBlockingEntityOperationsImpl, PanacheEntityMarker.PanacheStatelessReactiveEntityOperationsImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void> delete()Delete this entity from the database, if it is already persisted.io.smallrye.mutiny.Uni<Boolean> Returns true if this entity is persistent in the database.io.smallrye.mutiny.Uni<Void> persist()Persist this entity in the database, if not already persisted.io.smallrye.mutiny.Uni<Void> Persist this entity in the database, if not already persisted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.hibernate.panache.PanacheEntityMarker
managedBlocking, managedReactive, statelessBlocking, statelessReactive
-
Constructor Details
-
PanacheManagedReactiveEntityOperationsImpl
-
-
Method Details
-
persist
Description copied from interface:PanacheManagedReactiveEntityPersist 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>> - Specified by:
persistin interfacePanacheManagedReactiveEntity- See Also:
-
persistAndFlush
Description copied from interface:PanacheManagedReactiveEntityPersist 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>> - Specified by:
persistAndFlushin interfacePanacheManagedReactiveEntity- See Also:
-
delete
Description copied from interface:PanacheManagedReactiveEntityDelete this entity from the database, if it is already persisted.- Specified by:
deletein interfacePanacheManagedEntityOperations<io.smallrye.mutiny.Uni<Void>,io.smallrye.mutiny.Uni<Boolean>> - Specified by:
deletein interfacePanacheManagedReactiveEntity- See Also:
-
isPersistent
Description copied from interface:PanacheManagedReactiveEntityReturns 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>> - Specified by:
isPersistentin interfacePanacheManagedReactiveEntity- Returns:
- true if this entity is persistent in the database.
-