Package de.hsh.graja.transform
Class TransformBetweenProformaSubmissionAndStarter
java.lang.Object
de.hsh.graja.transform.TransformBetweenProformaSubmissionAndStarter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FrontendGrajaRequestTOconvertToFrontendGrajaRequest(FrontendRequestTO frontendRequest, Path workspace) extractProformaSubmissionZip(String pathToSubmissionZip, Path workspace) static FrontendGrajaRequestTOgenerateFrontendRequestFromProformaSubmission(String pathToProformaSubmissionZip, Path tmpdir) static SubmissionTypestatic SubmissionTypereadProformaSubmissionXml(Path pathToSubmissionXml)
-
Constructor Details
-
TransformBetweenProformaSubmissionAndStarter
public TransformBetweenProformaSubmissionAndStarter()
-
-
Method Details
-
convertToFrontendGrajaRequest
public static FrontendGrajaRequestTO convertToFrontendGrajaRequest(FrontendRequestTO frontendRequest, Path workspace) throws Exception - Throws:
Exception
-
generateFrontendRequestFromProformaSubmission
public static FrontendGrajaRequestTO generateFrontendRequestFromProformaSubmission(String pathToProformaSubmissionZip, Path tmpdir) throws IllegalArgumentException, IOException, javax.xml.bind.JAXBException - Throws:
IllegalArgumentExceptionIOExceptionjavax.xml.bind.JAXBException
-
extractProformaSubmissionZip
public static ProformaSubmissionZipExtracted extractProformaSubmissionZip(String pathToSubmissionZip, Path workspace) throws IllegalArgumentException, IOException, javax.xml.bind.JAXBException - Throws:
IllegalArgumentExceptionIOExceptionjavax.xml.bind.JAXBException
-
readProformaSubmissionXml
public static SubmissionType readProformaSubmissionXml(Path pathToSubmissionXml) throws javax.xml.bind.JAXBException, IOException - Throws:
javax.xml.bind.JAXBExceptionIOException
-
readProformaSubmissionXml
public static SubmissionType readProformaSubmissionXml(InputStream in) throws javax.xml.bind.JAXBException, IOException - Throws:
javax.xml.bind.JAXBExceptionIOException
-