Package org.eclipse.pass.loader.nihms
Class NihmsTransformLoadService
java.lang.Object
org.eclipse.pass.loader.nihms.NihmsTransformLoadService
Service that takes a filepath, gets the csvs there, and transforms/loads the data according to a
list of statuses to be processed.
- Author:
- Karen Hanson
-
Constructor Summary
ConstructorsConstructorDescriptionNihmsTransformLoadService(SubmissionLoader submissionLoader, NihmsPublicationToSubmission nihmsPublicationToSubmission, CompletedPublicationsCache completedPublicationsCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidtransformAndLoadFiles(Set<NihmsStatus> statusesToProcess) Goes through list of files in directory specified and processes those that have a NihmsStatus that matches a row in statusesToProcess.
-
Constructor Details
-
NihmsTransformLoadService
public NihmsTransformLoadService(SubmissionLoader submissionLoader, NihmsPublicationToSubmission nihmsPublicationToSubmission, CompletedPublicationsCache completedPublicationsCache)
-
-
Method Details
-
transformAndLoadFiles
Goes through list of files in directory specified and processes those that have a NihmsStatus that matches a row in statusesToProcess. If statuseseToProcess is null/empty, it will process all statuses- Parameters:
statusesToProcess- if null or empty, all statuses will be processed.
-