Class LogbookLFCAdministration
java.lang.Object
fr.gouv.vitam.logbook.administration.core.LogbookLFCAdministration
Business class for Logbook LFC Administration (traceability)
-
Constructor Summary
ConstructorDescriptionLogbookLFCAdministration
(LogbookOperations logbookOperations, LogbookLifeCycles logbookLifeCycles, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory, Integer lifecycleTraceabilityTemporizationDelay, Integer lifecycleTraceabilityMaxRenewalDelay, ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit, Integer lifecycleTraceabilityMaxEntries) LogbookLFCAdministration constructor -
Method Summary
Modifier and TypeMethodDescriptioncheckLifecycleTraceabilityStatus
(String operationId) Check lifecycle traceability statusboolean
generateSecureLogbookLFC
(GUID traceabilityOperationGUID, LfcTraceabilityType lfcTraceabilityType) Secure the logbook Lifecycles since last securisation by launching a workflow.
-
Constructor Details
-
LogbookLFCAdministration
public LogbookLFCAdministration(LogbookOperations logbookOperations, LogbookLifeCycles logbookLifeCycles, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory, Integer lifecycleTraceabilityTemporizationDelay, Integer lifecycleTraceabilityMaxRenewalDelay, ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit, Integer lifecycleTraceabilityMaxEntries) LogbookLFCAdministration constructor- Parameters:
logbookOperations
- the logbook operationsprocessingManagementClientFactory
- the processManagementClient factoryworkspaceClientFactory
- the Workspace Client FactorylifecycleTraceabilityTemporizationDelay
-lifecycleTraceabilityMaxEntries
-
-
-
Method Details
-
generateSecureLogbookLFC
public boolean generateSecureLogbookLFC(GUID traceabilityOperationGUID, LfcTraceabilityType lfcTraceabilityType) throws VitamException Secure the logbook Lifecycles since last securisation by launching a workflow.- Throws:
VitamException
-
checkLifecycleTraceabilityStatus
public LifecycleTraceabilityStatus checkLifecycleTraceabilityStatus(String operationId) throws VitamException, InvalidCreateOperationException Check lifecycle traceability status- Parameters:
operationId
- the process id- Returns:
- the lifecycle traceability status
- Throws:
VitamException
InvalidCreateOperationException
-