Interface DeleteByApiIdService<T extends JpaApiIdentifiable>

Type Parameters:
T -
All Superinterfaces:
DeleteByIdService<T>, GenericDeleteByIdService<T,Long>, GenericJpaDeleteByIdService<T,Long,EventMetaData>, GenericJpaGetRepositoryService<T,Long>, GetApiRepositoryService<T>, GetRepositoryService<T>, ReadFindByApiIdService<T>
All Known Subinterfaces:
ApiCRUDService<T>, FullApiService<T>
All Known Implementing Classes:
StandardApiService

public interface DeleteByApiIdService<T extends JpaApiIdentifiable> extends ReadFindByApiIdService<T>, DeleteByIdService<T>
Delete by api id is a composed service, it exists of services that provide: - findByApiId - deleteById It's composed to use the same implementation, which re-uses code that also handles OnDeleteEvents
  • Field Details

    • log

      static final org.slf4j.Logger log
  • Method Details

    • deleteByApiId

      @Transactional default void deleteByApiId(UUID id, EventMetaData eventMetaData)
    • deleteByApiId

      default void deleteByApiId(UUID id)