Interface PanacheRepositoryResource<Repository extends PanacheRepositoryBase<Entity,ID>,Entity,ID>
- Type Parameters:
Repository
-PanacheRepositoryBase
instance that should be used for data access.Entity
- Entity type that is handled by this resource and the linkedPanacheRepositoryBase
instance.ID
- ID type of the entity.
- All Superinterfaces:
RestDataResource<Entity,
ID>
public interface PanacheRepositoryResource<Repository extends PanacheRepositoryBase<Entity,ID>,Entity,ID>
extends RestDataResource<Entity,ID>
REST data Panache resource that uses
PanacheRepositoryBase
instance for data access and exposes it as a JAX-RS
resource.
See RestDataResource
for the methods provided by this resource.
See ResourceProperties
and MethodProperties
for the ways to customize this resource.
-
Method Summary