eu.etaxonomy.cdm.database.update
Interface ITermUpdater
- All Superinterfaces:
- IUpdater<ITermUpdater>
- All Known Implementing Classes:
- TermUpdater_24_25, TermUpdater_25_30, TermUpdater_30_31, TermUpdater_31_311, TermUpdater_311_312, TermUpdater_312_313, TermUpdater_313_314, TermUpdater_314_315, TermUpdaterBase
public interface ITermUpdater
- extends IUpdater<ITermUpdater>
- Author:
- a.mueller
invoke
boolean invoke(ICdmDataSource datasource,
IProgressMonitor monitor)
throws Exception
- Invokes this CDM term updater and updates the schema up to the current CDM
term version. Throws an exception if this updaters target version does
not equal the current CDM schema version.
- Specified by:
invoke in interface IUpdater<ITermUpdater>
- Parameters:
datasource - monitor -
- Returns:
-
- Throws:
Exception
invoke
boolean invoke(String targetVersion,
ICdmDataSource datasource,
IProgressMonitor monitor)
throws Exception
- Invokes this CDM term updater and updates the terms up to the given
target version. Throws an exception if this updaters target version does
not equal the given target version.
- Specified by:
invoke in interface IUpdater<ITermUpdater>
- Parameters:
targetVersion - datasource - monitor -
- Returns:
-
- Throws:
Exception
getTargetVersion
String getTargetVersion()
Copyright © 2007-2013 EDIT. All Rights Reserved.