Interface ModelValueUsageRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ModelValueUsage,ModelValueUsageId>, CustomQuerydslPredicateExecutor<ModelValueUsage>, org.springframework.data.repository.ListCrudRepository<ModelValueUsage,ModelValueUsageId>, org.springframework.data.repository.ListPagingAndSortingRepository<ModelValueUsage,ModelValueUsageId>, org.springframework.data.mongodb.repository.MongoRepository<ModelValueUsage,ModelValueUsageId>, org.springframework.data.repository.PagingAndSortingRepository<ModelValueUsage,ModelValueUsageId>, org.springframework.data.repository.query.QueryByExampleExecutor<ModelValueUsage>, org.springframework.data.querydsl.QuerydslPredicateExecutor<ModelValueUsage>, org.springframework.data.repository.Repository<ModelValueUsage,ModelValueUsageId>

@CacheConfig(cacheNames="cache_catalog_services") public interface ModelValueUsageRepository extends org.springframework.data.mongodb.repository.MongoRepository<ModelValueUsage,ModelValueUsageId>, CustomQuerydslPredicateExecutor<ModelValueUsage>
The Interface ModelValueRepository
Author:
Infosys Equinox
  • Method Summary

    Modifier and Type
    Method
    Description
    findByModelValueUsage(long collectionId, String catalogId, String modelValueId, String projectId, String versionId)
     
    findByModelValueUsage(long collectionId, String catalogId, String modelValueId, String projectId, String versionId, boolean mongoRegexCheckEnabled)
     
    findByModelValueUsageInCaseSensitive(long collectionId, String catalogId, String modelValueId, String projectId, String versionId)
    This method returns the model value usage

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

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

    Methods inherited from interface com.skava.catalog.repository.CustomQuerydslPredicateExecutor

    findAll

    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.mongodb.repository.MongoRepository

    findAll, findAll, insert, insert

    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

    Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor

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

    • findByModelValueUsage

      default Optional<ModelValueUsage> findByModelValueUsage(long collectionId, String catalogId, String modelValueId, String projectId, String versionId)
    • findByModelValueUsage

      default Optional<ModelValueUsage> findByModelValueUsage(long collectionId, String catalogId, String modelValueId, String projectId, String versionId, boolean mongoRegexCheckEnabled)
    • findByModelValueUsageInCaseSensitive

      @Query("{\'_id.collection_id\': ?0, \'_id.catalog_id\': ?1, \'_id.model_value_id\': {$regex : \'^?2$\', $options: \'i\'}, \'_id.project_id\': ?3, \'_id.version_id\': ?4}") Optional<ModelValueUsage> findByModelValueUsageInCaseSensitive(long collectionId, String catalogId, String modelValueId, String projectId, String versionId)
      This method returns the model value usage
      Parameters:
      collectionId - a Long object.
      catalogId - a String object.
      modelValueId - a String object.
      projectId - a String object.
      versionId - a String object.
      Returns:
      a Optional of ModelValueUsage object.