Package de.dlr.proseo.model.dao
Interface ConfiguredProcessorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ConfiguredProcessor,,Long> org.springframework.data.jpa.repository.JpaRepository<ConfiguredProcessor,,Long> org.springframework.data.repository.ListCrudRepository<ConfiguredProcessor,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ConfiguredProcessor,,Long> org.springframework.data.repository.PagingAndSortingRepository<ConfiguredProcessor,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ConfiguredProcessor>,org.springframework.data.repository.Repository<ConfiguredProcessor,Long>
public interface ConfiguredProcessorRepository
extends org.springframework.data.jpa.repository.JpaRepository<ConfiguredProcessor,Long>
Data Access Object for the ConfiguredProcessor class
- Author:
- Dr. Thomas Bassler
-
Method Summary
Modifier and TypeMethodDescriptionfindByMissionCodeAndIdentifier(String missionCode, String identifier) Get the configured processor associated with the given mission code and identifierfindByUuid(UUID uuid) Get the configured processor associated with the given UUIDMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByMissionCodeAndIdentifier
@Query("select cp from ConfiguredProcessor cp where cp.processor.processorClass.mission.code = ?1 and cp.identifier = ?2") ConfiguredProcessor findByMissionCodeAndIdentifier(String missionCode, String identifier) Get the configured processor associated with the given mission code and identifier- Parameters:
missionCode- the mission code of the configured processoridentifier- the identifier of the configured processor- Returns:
- the unique configured processor identified by the given identifier
-
findByUuid
Get the configured processor associated with the given UUID- Parameters:
uuid- the UUID of the configured processor- Returns:
- the unique configured processor identified by the given UUID
-