Package fr.gouv.vitam.functional.administration.core.contract

# Class IngestContractImpl.IngestContractValidationService

java.lang.Object
fr.gouv.vitam.functional.administration.core.contract.IngestContractImpl.IngestContractValidationService

Enclosing class:
  `IngestContractImpl`

protected static final class IngestContractImpl.IngestContractValidationService extends Object
Contract validator

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IngestContractValidationService(MetaDataClient metaDataClient, ContractService<ManagementContractModel> managementContractService)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `isInvalidSignaturePolicy(SignaturePolicy signaturePolicy)`
  Validate that contract have not an invalid object Signature
  `protected void`
  `validSignatureObject(SignaturePolicy signaturePolicy)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IngestContractValidationService

    public IngestContractValidationService(MetaDataClient metaDataClient, ContractService<ManagementContractModel> managementContractService)

- ## Method Details

  - ### isInvalidSignaturePolicy

    protected boolean isInvalidSignaturePolicy(SignaturePolicy signaturePolicy)
    Validate that contract have not an invalid object Signature
    Returns:
      boolean

  - ### validSignatureObject

    protected void validSignatureObject(SignaturePolicy signaturePolicy)