public class ArchiveUnitListener extends Unmarshaller.Listener
| Constructor and Description |
|---|
ArchiveUnitListener(HandlerIO handlerIO,
com.fasterxml.jackson.databind.node.ObjectNode archiveUnitTree,
Map<String,String> unitIdToGuid,
Map<String,String> guidToUnitId,
Map<String,String> unitIdToGroupId,
Map<String,List<String>> objectGroupIdToUnitId,
Map<String,String> dataObjectIdToObjectGroupId,
Map<String,GotObj> dataObjectIdWithoutObjectGroupId,
Map<String,LogbookLifeCycleParameters> guidToLifeCycleParameters,
Set<String> existingUnitGuids,
LogbookTypeProcess logbookTypeProcess,
String containerId,
MetaDataClientFactory metaDataClientFactory,
Map<String,String> objectGroupIdToGuid,
Map<String,String> dataObjectIdToGuid,
Map<String,Set<String>> unitIdToSetOfRuleId,
UnitType workflowUnitType,
List<String> originatingAgencies,
Map<String,com.fasterxml.jackson.databind.JsonNode> existingGOTs,
Map<String,String> existingUnitIdWithExistingObjectGroup,
Map<String,Boolean> isThereManifestRelatedReferenceRemained,
Map<String,String> existingGOTGUIDToNewGotGUIDInAttachment,
AdminManagementClientFactory adminManagementClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Object target,
Object parent)
listener call after end of unmarshall
|
IngestContractModel |
loadIngestContract(String ingestContractIdentifier)
Load Ingest Contract
|
Query |
tryApplyIngestContractRestriction(IngestContractModel ingestContract,
Query query) |
beforeUnmarshalpublic ArchiveUnitListener(HandlerIO handlerIO, com.fasterxml.jackson.databind.node.ObjectNode archiveUnitTree, Map<String,String> unitIdToGuid, Map<String,String> guidToUnitId, Map<String,String> unitIdToGroupId, Map<String,List<String>> objectGroupIdToUnitId, Map<String,String> dataObjectIdToObjectGroupId, Map<String,GotObj> dataObjectIdWithoutObjectGroupId, Map<String,LogbookLifeCycleParameters> guidToLifeCycleParameters, Set<String> existingUnitGuids, LogbookTypeProcess logbookTypeProcess, String containerId, MetaDataClientFactory metaDataClientFactory, Map<String,String> objectGroupIdToGuid, Map<String,String> dataObjectIdToGuid, Map<String,Set<String>> unitIdToSetOfRuleId, UnitType workflowUnitType, List<String> originatingAgencies, Map<String,com.fasterxml.jackson.databind.JsonNode> existingGOTs, Map<String,String> existingUnitIdWithExistingObjectGroup, Map<String,Boolean> isThereManifestRelatedReferenceRemained, Map<String,String> existingGOTGUIDToNewGotGUIDInAttachment, AdminManagementClientFactory adminManagementClientFactory)
handlerIO - archiveUnitTree - unitIdToGuid - guidToUnitId - unitIdToGroupId - objectGroupIdToUnitId - dataObjectIdToObjectGroupId - dataObjectIdWithoutObjectGroupId - guidToLifeCycleParameters - existingUnitGuids - logbookTypeProcess - containerId - metaDataClientFactory - objectGroupIdToGuid - dataObjectIdToGuid - unitIdToSetOfRuleId - workflowUnitType - originatingAgencies - existingGOTs - existingUnitIdWithExistingObjectGroup - public void afterUnmarshal(Object target, Object parent)
afterUnmarshal in class Unmarshaller.Listenertarget - parent - public Query tryApplyIngestContractRestriction(IngestContractModel ingestContract, Query query) throws InvalidCreateOperationException
InvalidCreateOperationExceptionpublic IngestContractModel loadIngestContract(String ingestContractIdentifier)
ingestContractIdentifier - Copyright © 2020 Vitam. All rights reserved.