Interface CrudService<T,K>

Type Parameters:
T - The type of entity being managed
K - The type of entity's identifier
All Superinterfaces:
CreationService<T,K>, DeletionService<T>, QueryService<T,K>, UpdateService<T>

public interface CrudService<T,K> extends CreationService<T,K>, UpdateService<T>, DeletionService<T>, QueryService<T,K>
Specifies the contract of a generic service that provides methods to manage entities based on CRUD operations.
Author:
mlopez
  • Method Details

    • deleteById

      void deleteById(K id)
      Deletes an entity by its identifier.
      Parameters:
      id - The identifier of the entity to be deleted