Class JythonTopLevelDataSetHandlerV2.JythonDataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>

  • All Implemented Interfaces:
    ch.systemsx.cisd.etlserver.registrator.v2.DataSetStorageAlgorithmRunner.IPrePostRegistrationHook<T>
    Direct Known Subclasses:
    JythonDataSetRegistrationServiceV2
    Enclosing class:
    JythonTopLevelDataSetHandlerV2<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>

    public static class JythonTopLevelDataSetHandlerV2.JythonDataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
    extends ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T>
    • Field Summary

      • Fields inherited from class ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService

        dssRegistrationLog, encounteredErrors, transaction, userSessionToken
    • Constructor Summary

      Constructors 
      Constructor Description
      JythonDataSetRegistrationService​(ch.systemsx.cisd.etlserver.registrator.v2.AbstractProgrammableTopLevelDataSetHandler<T> registrator, DataSetFile incomingDataSetFile, ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation userProvidedDataSetInformationOrNull, ch.systemsx.cisd.common.action.IDelegatedActionWithResult<java.lang.Boolean> globalCleanAfterwardsAction, ch.systemsx.cisd.etlserver.ITopLevelDataSetRegistratorDelegate delegate, ch.systemsx.cisd.common.jython.IJythonInterpreter interpreter, TopLevelDataSetRegistratorGlobalState globalState)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanAfterRegistrationIfNecessary()  
      ch.systemsx.cisd.common.jython.IJythonInterpreter getInterpreter()  
      • Methods inherited from class ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService

        abort, commit, createStorageAlgorithm, createStorageAlgorithmWithIdentifiedStrategy, createStorageAlgorithmWithStrategy, createTransaction, didEncounterSecondaryTransactionErrors, didErrorsArise, didRollbackTransaction, executeGlobalCleanAfterwardsAction, executePostCommit, executePostRegistration, executePreRegistration, getDataSetRegistrationDetailsFactory, getDssRegistrationLog, getEncounteredErrors, getEntityRegistrationService, getIncomingDataSetFile, getRegistrator, getRegistratorContext, logDssRegistrationResult, moveIncomingToError, registerNonFatalError, setUserSessionToken, shouldUsePrestaging, transaction, transaction
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JythonDataSetRegistrationService

        public JythonDataSetRegistrationService​(ch.systemsx.cisd.etlserver.registrator.v2.AbstractProgrammableTopLevelDataSetHandler<T> registrator,
                                                DataSetFile incomingDataSetFile,
                                                ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation userProvidedDataSetInformationOrNull,
                                                ch.systemsx.cisd.common.action.IDelegatedActionWithResult<java.lang.Boolean> globalCleanAfterwardsAction,
                                                ch.systemsx.cisd.etlserver.ITopLevelDataSetRegistratorDelegate delegate,
                                                ch.systemsx.cisd.common.jython.IJythonInterpreter interpreter,
                                                TopLevelDataSetRegistratorGlobalState globalState)
    • Method Detail

      • getInterpreter

        public ch.systemsx.cisd.common.jython.IJythonInterpreter getInterpreter()
      • cleanAfterRegistrationIfNecessary

        public void cleanAfterRegistrationIfNecessary()
        Overrides:
        cleanAfterRegistrationIfNecessary in class ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>