public interface DbPluginHandler
void downloadPluginFile(Connection c, long fileId, OutputStream output) throws SQLException, IOException
SQLException
IOException
DbPlugin getPlugin(Connection c, long id) throws SQLException
SQLException
DbPlugin getPlugin(Connection c, String name) throws SQLException
SQLException
DbPlugin[] getPlugins(Connection c) throws SQLException
SQLException
DbPlugin[] getPlugins(Connection c, Boolean enabled) throws SQLException
SQLException
DbPlugin[] getPlugins(Connection c, long[] ids) throws SQLException
SQLException
DbPlugin[] getPlugins(Connection c, String[] names) throws SQLException
SQLException
long getPluginId(Connection c, String name) throws SQLException
SQLException
long[] getPluginIds(Connection c) throws SQLException
SQLException
long[] getPluginIds(Connection c, Boolean enabled) throws SQLException
SQLException
long[] getPluginIds(Connection c, String[] names) throws SQLException
SQLException
DbPluginFile getPluginFile(Connection c, long pluginId, String fileNames) throws SQLException
SQLException
DbPluginFile getPluginFile(Connection c, String pluginName, String fileNames) throws SQLException
SQLException
DbPluginFile[] getPluginFiles(Connection c, long pluginId) throws SQLException
SQLException
DbPluginFile[] getPluginFiles(Connection c, String pluginName) throws SQLException
SQLException
DbPluginFile[] getPluginFiles(Connection c, long pluginId, String[] fileNames) throws SQLException
SQLException
DbPluginFile[] getPluginFiles(Connection c, String pluginName, String[] fileNames) throws SQLException
SQLException
long getPluginFileId(Connection c, long pluginId, String fileName) throws SQLException
SQLException
long[] getPluginFileIds(Connection c) throws SQLException
SQLException
long[] getPluginFileIds(Connection c, long pluginId) throws SQLException
SQLException
long[] getPluginFileIds(Connection c, long pluginId, String[] fileNames) throws SQLException
SQLException
String[] getPluginFileNames(Connection c, long pluginId) throws SQLException
SQLException
String[] getPluginFileNames(Connection c, String pluginName) throws SQLException
SQLException
String[] getPluginNames(Connection c) throws SQLException
SQLException
String[] getPluginNames(Connection c, Boolean enabled) throws SQLException
SQLException
DbPluginRelation getPluginRelation(Connection c, String name) throws SQLException
SQLException
DbPluginRelation[] getPluginRelations(Connection c, String[] names) throws SQLException
SQLException
DbPluginRelation[] getPluginRelations(Connection c, long pluginId) throws SQLException
SQLException
DbPluginRelation[] getPluginRelations(Connection c, long[] pluginIds) throws SQLException
SQLException
String getPluginRelationUninstallQuery(Connection c, String name) throws SQLException
SQLException
Map<String,String> getPluginSettings(Connection c, long id, String prefix) throws SQLException
SQLException
Map<String,String> getPluginSettings(Connection c, String name, String prefix) throws SQLException
SQLException
String getPluginUninstallQuery(Connection c, long pluginId) throws SQLException
SQLException
String getPluginUninstallQuery(Connection c, String pluginName) throws SQLException
SQLException
void loadPluginPermissions(Connection c, DbUserHandler userHandler, DbPlugin plugin) throws SQLException
SQLException
void loadPluginSettings(Connection c, DbPlugin plugin) throws SQLException
SQLException
void loadPluginSettings(Connection c, DbPlugin[] plugins) throws SQLException
SQLException
void removePlugin(Connection c, long id) throws SQLException
SQLException
void removePlugin(Connection c, String name) throws SQLException
SQLException
void removePlugins(Connection c, String[] names) throws SQLException
SQLException
void removePlugins(Connection c, long[] ids) throws SQLException
SQLException
void removePluginFile(Connection c, long pluginId, String fileName) throws SQLException
SQLException
void removePluginFile(Connection c, String pluginName, String fileName) throws SQLException
SQLException
void removePluginFile(Connection c, long id) throws SQLException
SQLException
void removePluginFiles(Connection c, long pluginId, String[] fileNames) throws SQLException
SQLException
void removePluginFiles(Connection c, String pluginName, String[] fileNames) throws SQLException
SQLException
void removePluginFiles(Connection c, long[] ids) throws SQLException
SQLException
void removePluginRelation(Connection c, String name) throws SQLException
SQLException
void removePluginRelations(Connection c, String[] names) throws SQLException
SQLException
void savePlugin(Connection c, DbPlugin plugin) throws SQLException
SQLException
void savePlugin(Connection c, DbUserHandler userHandler, DbPlugin plugin) throws SQLException
SQLException
void savePluginFile(Connection c, DbPluginFile file, File content) throws SQLException, IOException
SQLException
IOException
void savePluginRelation(Connection c, DbPluginRelation relation) throws SQLException, IOException
SQLException
IOException
void setPluginEnabled(Connection c, long id, boolean enabled) throws SQLException
SQLException
void setPluginEnabled(Connection c, String name, boolean enabled) throws SQLException
SQLException
void setPluginsEnabled(Connection c, String[] names, boolean enabled) throws SQLException
SQLException
void setPluginsEnabled(Connection c, long[] ids, boolean enabled) throws SQLException
SQLException
void setPluginRelationUninstallQuery(Connection c, String name, String uninstallQuery) throws SQLException
SQLException
void setPluginUninstallQuery(Connection c, long id, String uninstallQuery) throws SQLException
SQLException
void setPluginUninstallQuery(Connection c, String name, String uninstallQuery) throws SQLException
SQLException
Copyright © 2015 OpenEstate. All rights reserved.