Interface PanacheStatelessRepositoryOperations<Entity,Session,Completion,Confirmation,Id>
- All Known Subinterfaces:
PanacheRepository.Reactive.Stateless<Entity,,Id> PanacheRepository.Stateless<Entity,,Id> PanacheStatelessBlockingRepository<Entity>,PanacheStatelessBlockingRepositoryBase<Entity,,Id> PanacheStatelessBlockingRepositoryOperations<Entity,,Id> PanacheStatelessReactiveRepository<Entity>,PanacheStatelessReactiveRepositoryBase<Entity,,Id> PanacheStatelessReactiveRepositoryOperations<Entity,Id>
public interface PanacheStatelessRepositoryOperations<Entity,Session,Completion,Confirmation,Id>
-
Method Summary
Modifier and TypeMethodDescriptionDelete the given entity from the database.Returns thePanacheStatelessRepositoryOperationsfor theentity class for extra operations (eg. Insert the given entity in the database.Insert all given entities.Insert all given entities.Insert all given entities.Update the given entity in the database.
-
Method Details
-
getSession
Session getSession()Returns thePanacheStatelessRepositoryOperationsfor theentity class for extra operations (eg. CriteriaQueries) - Returns:
- the
PanacheStatelessRepositoryOperationsfor theentity class
-
insert
Insert the given entity in the database.- Parameters:
entity- the entity to insert.- See Also:
-
delete
Delete the given entity from the database.- Parameters:
entity- the entity to delete.- See Also:
-
update
Update the given entity in the database.- Parameters:
entity- the entity to update.
-
insert
Insert all given entities.- Parameters:
entities- the entities to insert- See Also:
-
insert
Insert all given entities.- Parameters:
entities- the entities to insert- See Also:
-
insert
Insert all given entities.- Parameters:
entities- the entities to insert- See Also:
-