Interface PanacheMongoRepositoryResource<Repository extends io.quarkus.mongodb.panache.PanacheMongoRepositoryBase<Entity,ID>,Entity,ID>

Type Parameters:
Repository - PanacheMongoRepositoryBase instance that should be used for data access.
Entity - Entity type that is handled by this resource and the linked PanacheMongoRepositoryBase instance.
ID - ID type of the entity.
All Superinterfaces:
io.quarkus.rest.data.panache.RestDataResource<Entity,ID>

public interface PanacheMongoRepositoryResource<Repository extends io.quarkus.mongodb.panache.PanacheMongoRepositoryBase<Entity,ID>,Entity,ID> extends io.quarkus.rest.data.panache.RestDataResource<Entity,ID>
REST data Panache resource that uses PanacheMongoRepositoryBase 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

    Methods inherited from interface io.quarkus.rest.data.panache.RestDataResource

    add, count, delete, get, list, update