Class ContractsFinder
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.ContractsFinder
-
public class ContractsFinder extends java.lang.Object
Just a class forClass for finding Contracts to prevent cyclic dependency between agencies and contracts module
-
-
Constructor Summary
Constructors Constructor Description ContractsFinder(MongoDbAccessAdminImpl mongoAccess, VitamCounterService counter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestResponseOK<AccessContractModel>
findAccessContrats(com.fasterxml.jackson.databind.JsonNode queryDsl)
-
-
-
Constructor Detail
-
ContractsFinder
public ContractsFinder(MongoDbAccessAdminImpl mongoAccess, VitamCounterService counter)
- Parameters:
mongoAccess
-counter
-
-
-
Method Detail
-
findAccessContrats
public RequestResponseOK<AccessContractModel> findAccessContrats(com.fasterxml.jackson.databind.JsonNode queryDsl) throws InvalidCreateOperationException, VitamException
- Parameters:
queryDsl
-- Returns:
- response as a RequestResponseOK
object - Throws:
InvalidCreateOperationException
VitamException
-
-