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

    • Field Summary

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

        dssRegistrationLog, encounteredErrors, transaction, userSessionToken
    • Constructor Summary

      Constructors 
      Constructor Description
      JythonDataSetRegistrationServiceV2​(ch.systemsx.cisd.etlserver.registrator.v2.AbstractProgrammableTopLevelDataSetHandler<T> registrator, ch.systemsx.cisd.etlserver.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, ch.systemsx.cisd.etlserver.TopLevelDataSetRegistratorGlobalState globalState)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commit()
      Commit any scheduled changes.
      DataSetRegistrationTransaction<T> getTransaction()  
      protected void logDssRegistrationResult()  
      void rollbackAndForgetTransaction()
      rolls back the existing transaction
      • Methods inherited from class ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService

        abort, createStorageAlgorithm, createStorageAlgorithmWithIdentifiedStrategy, createStorageAlgorithmWithStrategy, createTransaction, didEncounterSecondaryTransactionErrors, didErrorsArise, didRollbackTransaction, executeGlobalCleanAfterwardsAction, executePostCommit, executePostRegistration, executePreRegistration, getDataSetRegistrationDetailsFactory, getDssRegistrationLog, getEncounteredErrors, getEntityRegistrationService, getIncomingDataSetFile, getRegistrator, getRegistratorContext, 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

      • JythonDataSetRegistrationServiceV2

        public JythonDataSetRegistrationServiceV2​(ch.systemsx.cisd.etlserver.registrator.v2.AbstractProgrammableTopLevelDataSetHandler<T> registrator,
                                                  ch.systemsx.cisd.etlserver.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,
                                                  ch.systemsx.cisd.etlserver.TopLevelDataSetRegistratorGlobalState globalState)
    • Method Detail

      • rollbackAndForgetTransaction

        public void rollbackAndForgetTransaction()
        rolls back the existing transaction
      • commit

        public void commit()
        Commit any scheduled changes.
        Overrides:
        commit in class ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
      • logDssRegistrationResult

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