Class JythonDataSetRegistrationServiceV2<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
- java.lang.Object
-
- ch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T>
-
- ch.systemsx.cisd.etlserver.registrator.api.v2.JythonTopLevelDataSetHandlerV2.JythonDataSetRegistrationService<T>
-
- ch.systemsx.cisd.etlserver.registrator.api.v2.JythonDataSetRegistrationServiceV2<T>
-
- All Implemented Interfaces:
ch.systemsx.cisd.etlserver.registrator.v2.DataSetStorageAlgorithmRunner.IPrePostRegistrationHook<T>
- Direct Known Subclasses:
DataSetRegistrationServiceV2
public class JythonDataSetRegistrationServiceV2<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation> extends JythonTopLevelDataSetHandlerV2.JythonDataSetRegistrationService<T>
-
-
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.api.v2.JythonTopLevelDataSetHandlerV2.JythonDataSetRegistrationService
cleanAfterRegistrationIfNecessary, getInterpreter
-
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
-
-
-
-
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
-
getTransaction
public DataSetRegistrationTransaction<T> getTransaction()
-
rollbackAndForgetTransaction
public void rollbackAndForgetTransaction()
rolls back the existing transaction
-
commit
public void commit()
Commit any scheduled changes.- Overrides:
commit
in classch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
-
logDssRegistrationResult
protected void logDssRegistrationResult()
- Overrides:
logDssRegistrationResult
in classch.systemsx.cisd.etlserver.registrator.v2.DataSetRegistrationService<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
-
-