Class ObsoleteTermCorrectionServiceImpl
java.lang.Object
ubic.gemma.core.ontology.ObsoleteTermCorrectionServiceImpl
- All Implemented Interfaces:
ObsoleteTermCorrectionService
@Service
public class ObsoleteTermCorrectionServiceImpl
extends Object
implements ObsoleteTermCorrectionService
- See Also:
-
Field Summary
Fields inherited from interface ObsoleteTermCorrectionService
DEFERRED_URIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Collection<String> uris, boolean dryRun, long timeout, TimeUnit timeUnit) Apply the corrections.
-
Constructor Details
-
ObsoleteTermCorrectionServiceImpl
public ObsoleteTermCorrectionServiceImpl()
-
-
Method Details
-
apply
@Transactional public ObsoleteTermCorrectionResult apply(Collection<String> uris, boolean dryRun, long timeout, TimeUnit timeUnit) throws TimeoutException Description copied from interface:ObsoleteTermCorrectionServiceApply the corrections.- Specified by:
applyin interfaceObsoleteTermCorrectionService- Parameters:
uris- restrict to these obsolete term URIs; empty or null means every auto-correctable term exceptObsoleteTermCorrectionService.DEFERRED_URIS. Naming a deferred term here does act on it — that is the deliberate override.dryRun- when true, nothing is written and nothing is resynced, but the returned counts are the ones a live run would produce.timeout- budget for resolving terms against the loaded ontologies- Throws:
TimeoutException
-