Interface AttributeValueRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<AttributeValue,​java.lang.String>, org.springframework.data.mongodb.repository.MongoRepository<AttributeValue,​java.lang.String>, org.springframework.data.repository.PagingAndSortingRepository<AttributeValue,​java.lang.String>, org.springframework.data.repository.query.QueryByExampleExecutor<AttributeValue>, org.springframework.data.repository.Repository<AttributeValue,​java.lang.String>

    @Repository
    public interface AttributeValueRepository
    extends org.springframework.data.mongodb.repository.MongoRepository<AttributeValue,​java.lang.String>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<AttributeValue> findByAttributeId​(java.lang.String attributeId)  
      java.util.List<AttributeValue> findGeneratedValues()  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAllById, findById, save
      • Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository

        findAll, findAll, findAll, findAll, insert, insert, saveAll
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

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

        count, exists, findAll, findOne
    • Method Detail

      • findByAttributeId

        java.util.List<AttributeValue> findByAttributeId​(java.lang.String attributeId)
      • findGeneratedValues

        @Query("{ _id : {$regex: \'gen_\'}}")
        java.util.List<AttributeValue> findGeneratedValues()