Interface LoadUnitRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<LoadUnit,Long>, org.springframework.data.jpa.repository.JpaRepository<LoadUnit,Long>, org.springframework.data.repository.ListCrudRepository<LoadUnit,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<LoadUnit,Long>, org.springframework.data.repository.PagingAndSortingRepository<LoadUnit,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<LoadUnit>, org.springframework.data.repository.Repository<LoadUnit,Long>

@Repository public interface LoadUnitRepository extends org.springframework.data.jpa.repository.JpaRepository<LoadUnit,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.springframework.data.domain.Page<LoadUnit>
    findByStatus(LoadUnitStatus status, org.springframework.data.domain.Pageable pageable)
     
    findByTrackingCode(String trackingCode)
     

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

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    findAll, findAllById, saveAll

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

    findAll

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

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • existsByTrackingCode

      boolean existsByTrackingCode(String trackingCode)
    • findByTrackingCode

      Optional<LoadUnit> findByTrackingCode(String trackingCode)
    • findByStatus

      org.springframework.data.domain.Page<LoadUnit> findByStatus(LoadUnitStatus status, org.springframework.data.domain.Pageable pageable)