Package com.skava.catalog.repository
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 TypeMethodDescriptiondefault Optional<ModelValueUsage>
findByModelValueUsage
(long collectionId, String catalogId, String modelValueId, String projectId, String versionId) default Optional<ModelValueUsage>
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 usageMethods 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
-
findByModelValueUsage
-
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
-