Class AgencyUpgradeExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.UpgradeAdapter
-
- com.openindex.openestate.tool.agency.AgencyUpgradeExtension
-
- All Implemented Interfaces:
BasicExtension
,UpgradeExtension
,org.pf4j.ExtensionPoint
@Extension(points=UpgradeExtension.class) public class AgencyUpgradeExtension extends UpgradeAdapter
AgencyUpgradeExtension.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static String
UPGRADE_CONTACTS
static String
UPGRADE_ESTATES
static String
UPGRADE_EXPORTS
static String
UPGRADE_EXPORTS_LOGS
static String
UPGRADE_EXPOSES
static String
UPGRADE_GEODB
static String
UPGRADE_GEODB_AREA
static String
UPGRADE_SEARCHES
-
Constructor Summary
Constructors Constructor Description AgencyUpgradeExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getRequiredPluginIds()
void
upgrade(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, Properties projectProps, ImmoToolTask.Callback callback)
This method is executed, when an older database is migrated.-
Methods inherited from class com.openindex.openestate.tool.extensions.UpgradeAdapter
setMessage, upgradeFinished
-
-
-
-
Field Detail
-
UPGRADE_CONTACTS
public static final String UPGRADE_CONTACTS
- See Also:
- Constant Field Values
-
UPGRADE_ESTATES
public static final String UPGRADE_ESTATES
- See Also:
- Constant Field Values
-
UPGRADE_EXPORTS
public static final String UPGRADE_EXPORTS
- See Also:
- Constant Field Values
-
UPGRADE_EXPORTS_LOGS
public static final String UPGRADE_EXPORTS_LOGS
- See Also:
- Constant Field Values
-
UPGRADE_EXPOSES
public static final String UPGRADE_EXPOSES
- See Also:
- Constant Field Values
-
UPGRADE_GEODB
public static final String UPGRADE_GEODB
- See Also:
- Constant Field Values
-
UPGRADE_GEODB_AREA
public static final String UPGRADE_GEODB_AREA
- See Also:
- Constant Field Values
-
UPGRADE_SEARCHES
public static final String UPGRADE_SEARCHES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIds
in interfaceBasicExtension
- Overrides:
getRequiredPluginIds
in classUpgradeAdapter
-
upgrade
public void upgrade(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, Properties projectProps, ImmoToolTask.Callback callback) throws SQLException
Description copied from interface:UpgradeExtension
This method is executed, when an older database is migrated.- Specified by:
upgrade
in interfaceUpgradeExtension
- Overrides:
upgrade
in classUpgradeAdapter
- Throws:
SQLException
-
-