Interface TransitionRepository<T extends RepositoryTransition>

Type Parameters:
T - the transition entity type
All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,Long>, org.springframework.data.repository.Repository<T,Long>
All Known Subinterfaces:
JpaTransitionRepository, MongoDbTransitionRepository, RedisTransitionRepository

@NoRepositoryBean public interface TransitionRepository<T extends RepositoryTransition> extends org.springframework.data.repository.CrudRepository<T,Long>
Generic Repository interface for transitions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Find transitions by machine id.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findByMachineId

      List<T> findByMachineId(String machineId)
      Find transitions by machine id.
      Parameters:
      machineId - the machine id
      Returns:
      the list of transitions