public final class ContactsPlugin extends ImmoToolProjectPlugin
ImmoToolPlugin.| Modifier and Type | Class and Description |
|---|---|
static class |
ContactsPlugin.BulkLetterDialogAction
Show dialog for bulk letter creation.
|
static class |
ContactsPlugin.EntryExportAction
Export addressbook entries.
|
static class |
ContactsPlugin.EntryFormAction
Show tab for an addressbook entry.
|
static class |
ContactsPlugin.EntryImportFromCsvAction
Import addressbook entries from a CSV file.
|
static class |
ContactsPlugin.EntryImportFromVcardAction
Import addressbook entries from a vCard file.
|
static class |
ContactsPlugin.EntryTableAction
Show table with addressbook entries.
|
static class |
ContactsPlugin.GroupDialogAction
Show dialog for an address group.
|
static class |
ContactsPlugin.GroupRemoveAction
Remove an address group.
|
static class |
ContactsPlugin.SidebarRefreshAction
Refresh contacts view in sidebar.
|
static class |
ContactsPlugin.SidebarSelectAction
Show contacts view in sidebar.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
RESOURCE_PATH |
| Constructor and Description |
|---|
ContactsPlugin() |
getApiVersion, isAllowed, isUsablegetAuthor, getAuthorWebsite, getProperty, getProperty, getRequiredPlugins, getResourcePath, getVersion, getWebsite, isLicensedpublic static final String ID
public static final String RESOURCE_PATH
protected void doStart()
throws Exception
doStart in class org.java.plugin.PluginExceptionprotected void doStop()
throws Exception
doStop in class org.java.plugin.PluginExceptionpublic static DbContactsExtension getDbContactsExtension()
public String getDescription()
getDescription in class ImmoToolPluginpublic ImageIcon getIcon()
getIcon in class ImmoToolPluginpublic String getId()
getId in class ImmoToolPluginpublic static ContactsPlugin getInstance()
public static File getLastExportLocation()
public String getLicense()
getLicense in class ImmoToolPluginpublic ProjectPermission[] getPermissions()
getPermissions in class ImmoToolProjectPluginpublic String[] getRequiredProcedures()
getRequiredProcedures in class ImmoToolProjectPluginpublic String[] getRequiredViews()
getRequiredViews in class ImmoToolProjectPluginpublic String getTitle()
getTitle in class ImmoToolPluginpublic String getUninstallQuery(String driverName) throws IOException
getUninstallQuery in class ImmoToolProjectPluginIOExceptionpublic DbUpdateHandler getUpdateHandler(String driverName)
getUpdateHandler in class ImmoToolProjectPluginpublic void install(Connection c, DbExtension dbExtension, String driverName, boolean importDefaultData) throws SQLException, IOException
install in class ImmoToolProjectPluginSQLExceptionIOExceptionpublic boolean isAllowed(ImmoToolProject project)
isAllowed in class ImmoToolProjectPluginpublic boolean isUsable(ImmoToolProject project)
isUsable in class ImmoToolProjectPluginpublic static boolean isUserAllowedTo(ContactsPermission permission)
public static boolean isUserAllowedTo(ContactsPermission permission, ImmoToolProject project)
public static void loadSettings(ImmoToolProject project) throws SQLException, IOException
SQLExceptionIOExceptionpublic static void loadSettings(ImmoToolProject project, Connection c) throws SQLException, IOException
SQLExceptionIOExceptionpublic void repair(Connection c, AbstractDbDriver driver) throws SQLException
repair in class ImmoToolProjectPluginSQLExceptionpublic static void saveSettings(ImmoToolProject project) throws SQLException, IOException
SQLExceptionIOExceptionpublic static void saveSettings(ImmoToolProject project, Connection c) throws SQLException, IOException
SQLExceptionIOExceptionpublic static void setDbContactsExtension(DbContactsExtension dbContactsExtension)
public static void setLastExportLocation(File lastExportLocation)
public static void unloadSettings()
Copyright © 2015 OpenEstate. All rights reserved.