Class LogbookLFCAdministration
- java.lang.Object
-
- fr.gouv.vitam.logbook.administration.core.LogbookLFCAdministration
-
public class LogbookLFCAdministration extends java.lang.Object
Business class for Logbook LFC Administration (traceability)
-
-
Constructor Summary
Constructors Constructor Description LogbookLFCAdministration(LogbookOperations logbookOperations, LogbookLifeCycles logbookLifeCycles, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory, java.lang.Integer lifecycleTraceabilityTemporizationDelay, java.lang.Integer lifecycleTraceabilityMaxRenewalDelay, java.time.temporal.ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit, java.lang.Integer lifecycleTraceabilityMaxEntries)
LogbookLFCAdministration constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleTraceabilityStatus
checkLifecycleTraceabilityStatus(java.lang.String operationId)
Check lifecycle traceability statusboolean
generateSecureLogbookLFC(GUID traceabilityOperationGUID, LfcTraceabilityType lfcTraceabilityType)
Secure the logbook Lifecycles since last securisation by launching a workflow.
-
-
-
Constructor Detail
-
LogbookLFCAdministration
public LogbookLFCAdministration(LogbookOperations logbookOperations, LogbookLifeCycles logbookLifeCycles, ProcessingManagementClientFactory processingManagementClientFactory, WorkspaceClientFactory workspaceClientFactory, java.lang.Integer lifecycleTraceabilityTemporizationDelay, java.lang.Integer lifecycleTraceabilityMaxRenewalDelay, java.time.temporal.ChronoUnit lifecycleTraceabilityMaxRenewalDelayUnit, java.lang.Integer lifecycleTraceabilityMaxEntries)
LogbookLFCAdministration constructor- Parameters:
logbookOperations
- the logbook operationsprocessingManagementClientFactory
- the processManagementClient factoryworkspaceClientFactory
- the Workspace Client FactorylifecycleTraceabilityTemporizationDelay
-lifecycleTraceabilityMaxEntries
-
-
-
Method Detail
-
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(java.lang.String operationId) throws VitamException, InvalidCreateOperationException
Check lifecycle traceability status- Parameters:
operationId
- the process id- Returns:
- the lifecycle traceability status
- Throws:
VitamException
InvalidCreateOperationException
-
-