public abstract class ImmoToolProject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmoToolProject.Type |
| Modifier | Constructor and Description |
|---|---|
protected |
ImmoToolProject() |
public static ImmoToolProject create(File projectDir, ImmoToolProject.Type projectType) throws IOException
projectDir - project directoryprojectName - project nameprojectType - type of projectIOException - IO-errorpublic ImmoToolAgent getAgent()
public File getAgentLogo()
public static ImmoToolProject getAppInstance()
public final Connection getDbConnection() throws SQLException
SQLExceptionpublic final Connection getDbConnection(Properties props) throws SQLException
SQLExceptionpublic abstract AbstractDbDriver getDbDriver()
public final DbExtension getDbExtension()
public final DbPlugin[] getDbPlugins()
public final String[] getDbPluginNames()
public final File getDirectory()
public final String[] getIncompatiblePlugins()
public final String getName()
public final Properties getProperties()
public final File getTempDirectory()
public abstract ImmoToolProject.Type getType()
public final DbUser getUser()
protected void init()
throws IOException
IOExceptionpublic final boolean isLocalProject()
public final boolean isPluginEnabled(String pluginId)
public final boolean isPluginIncompatible(String pluginId)
public final boolean isPluginInstalled(String pluginId)
public final boolean isPluginUsable(String pluginId)
public final boolean isRemoteProject()
public static boolean isValidProjectDirectory(File dir)
dir - Verzeichnispublic void load(Connection c, DbUser user) throws SQLException, IOException
SQLExceptionIOExceptionpublic static String lookupProjectType(Properties props)
public static ImmoToolProject open(File projectDir) throws IOException, ImmoToolException
projectDir - Projekt-Verzeichnis.IOException - IO-FehlerImmoToolProjectException - interner Fehler.ImmoToolExceptionpublic static Properties openProjectProperties(File projectDir) throws IOException
IOExceptionpublic final void reloadAgent()
throws SQLException
SQLExceptionpublic final void reloadAgent(Connection c) throws SQLException
SQLExceptionpublic final void reloadAgentLogo()
throws SQLException,
IOException
SQLExceptionIOExceptionpublic final void reloadAgentLogo(Connection c) throws SQLException, IOException
SQLExceptionIOExceptionpublic final void reloadPlugins()
throws SQLException
SQLExceptionpublic final void reloadPlugins(Connection c) throws SQLException
SQLExceptionpublic final void save()
throws IOException
IOException - IO-Fehlerpublic final void saveAgent()
throws SQLException
SQLExceptionpublic final void saveAgentLogo(BufferedImage image) throws SQLException, IOException
SQLExceptionIOExceptionpublic void setDirectory(File directory)
protected void setProperties(Properties props)
public void unload()
throws IOException
IOExceptionCopyright © 2015 OpenEstate. All rights reserved.