Class ContractLogbookService
java.lang.Object
fr.gouv.vitam.functional.administration.core.contract.ContractLogbookService
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionContractLogbookService
(LogbookOperationsClient logbookClient, GUID eip, String contractsImportEventCode, String contractUpdateEventCode, String collectionType, String contractCheckKey) -
Method Summary
Modifier and TypeMethodDescriptionvoid
logFatalError
(String errorsDetails, String eventType) log fatal error (system or technical error)void
log start processvoid
log end success processvoid
log update start processvoid
logUpdateSuccess
(String id, String identifier, List<String> listDiffs) void
logValidationError
(String errorsDetails, String eventType, String KOEventType) Log validation error (business error)
-
Field Details
-
MC_GLOBAL_ERROR
- See Also:
-
IC_GLOBAL_ERROR
- See Also:
-
AC_GLOBAL_ERROR
- See Also:
-
EMPTY_REQUIRED_FIELD
- See Also:
-
WRONG_FIELD_FORMAT
- See Also:
-
DUPLICATE_IN_DATABASE
- See Also:
-
PROFILE_NOT_FOUND_IN_DATABASE
- See Also:
-
AGENCY_NOT_FOUND_IN_DATABASE
- See Also:
-
CONTRACT_VALIDATION_ERROR
- See Also:
-
FORMAT_NOT_FOUND
- See Also:
-
FORMAT_MUST_BE_EMPTY
- See Also:
-
FORMAT_MUST_NOT_BE_EMPTY
- See Also:
-
MANAGEMENTCONTRACT_NOT_FOUND
- See Also:
-
CONTRACT_BAD_REQUEST
- See Also:
-
UPDATE_CONTRACT_NOT_FOUND
- See Also:
-
UPDATE_VALUE_NOT_IN_ENUM
- See Also:
-
UPDATE_WRONG_FILEFORMAT
- See Also:
-
STRATEGY_VALIDATION_ERROR
- See Also:
-
VERSION_RETENTION_POLICY_VALIDATION_ERROR
- See Also:
-
PERSISTENCE_IDENTIFIER_POLICY_VALIDATION_ERROR
- See Also:
-
-
Constructor Details
-
ContractLogbookService
-
-
Method Details
-
logValidationError
public void logValidationError(String errorsDetails, String eventType, String KOEventType) throws VitamException Log validation error (business error)- Parameters:
errorsDetails
-- Throws:
VitamException
-
logFatalError
log fatal error (system or technical error)- Parameters:
errorsDetails
-- Throws:
VitamException
-
logStarted
log start process- Throws:
VitamException
-
logUpdateStarted
log update start process- Throws:
VitamException
-
logSuccess
log end success process- Throws:
VitamException
-
logUpdateSuccess
public void logUpdateSuccess(String id, String identifier, List<String> listDiffs) throws VitamException - Throws:
VitamException
-