Interface CrudService<T,K>
- Type Parameters:
T- The type of entity being managedK- 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 Summary
Methods inherited from interface com.flowingcode.backendcore.service.CreationService
saveMethods inherited from interface com.flowingcode.backendcore.service.DeletionService
deleteMethods inherited from interface com.flowingcode.backendcore.service.QueryService
count, filter, filterWithSingleResult, findAll, findByIdMethods inherited from interface com.flowingcode.backendcore.service.UpdateService
update
-
Method Details
-
deleteById
Deletes an entity by its identifier.- Parameters:
id- The identifier of the entity to be deleted
-