Interface StateRepository<S extends RepositoryState>

Type Parameters:
S - the state entity type
All Superinterfaces:
org.springframework.data.repository.CrudRepository<S,Long>, org.springframework.data.repository.Repository<S,Long>
All Known Subinterfaces:
JpaStateRepository, MongoDbStateRepository, RedisStateRepository

@NoRepositoryBean public interface StateRepository<S extends RepositoryState> extends org.springframework.data.repository.CrudRepository<S,Long>
Generic Repository interface for states.
  • Method Summary

    Modifier and Type
    Method
    Description
    Find states 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<S> findByMachineId(String machineId)
      Find states by machine id.
      Parameters:
      machineId - the machine id
      Returns:
      the list of transitions