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, isUsable
getAuthor, getAuthorWebsite, getProperty, getProperty, getRequiredPlugins, getResourcePath, getVersion, getWebsite, isLicensed
public static final String ID
public static final String RESOURCE_PATH
protected void doStart() throws Exception
doStart
in class org.java.plugin.Plugin
Exception
protected void doStop() throws Exception
doStop
in class org.java.plugin.Plugin
Exception
public static DbContactsExtension getDbContactsExtension()
public String getDescription()
getDescription
in class ImmoToolPlugin
public ImageIcon getIcon()
getIcon
in class ImmoToolPlugin
public String getId()
getId
in class ImmoToolPlugin
public static ContactsPlugin getInstance()
public static File getLastExportLocation()
public String getLicense()
getLicense
in class ImmoToolPlugin
public ProjectPermission[] getPermissions()
getPermissions
in class ImmoToolProjectPlugin
public String[] getRequiredProcedures()
getRequiredProcedures
in class ImmoToolProjectPlugin
public String[] getRequiredViews()
getRequiredViews
in class ImmoToolProjectPlugin
public String getTitle()
getTitle
in class ImmoToolPlugin
public String getUninstallQuery(String driverName) throws IOException
getUninstallQuery
in class ImmoToolProjectPlugin
IOException
public DbUpdateHandler getUpdateHandler(String driverName)
getUpdateHandler
in class ImmoToolProjectPlugin
public void install(Connection c, DbExtension dbExtension, String driverName, boolean importDefaultData) throws SQLException, IOException
install
in class ImmoToolProjectPlugin
SQLException
IOException
public boolean isAllowed(ImmoToolProject project)
isAllowed
in class ImmoToolProjectPlugin
public boolean isUsable(ImmoToolProject project)
isUsable
in class ImmoToolProjectPlugin
public static boolean isUserAllowedTo(ContactsPermission permission)
public static boolean isUserAllowedTo(ContactsPermission permission, ImmoToolProject project)
public static void loadSettings(ImmoToolProject project) throws SQLException, IOException
SQLException
IOException
public static void loadSettings(ImmoToolProject project, Connection c) throws SQLException, IOException
SQLException
IOException
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
repair
in class ImmoToolProjectPlugin
SQLException
public static void saveSettings(ImmoToolProject project) throws SQLException, IOException
SQLException
IOException
public static void saveSettings(ImmoToolProject project, Connection c) throws SQLException, IOException
SQLException
IOException
public static void setDbContactsExtension(DbContactsExtension dbContactsExtension)
public static void setLastExportLocation(File lastExportLocation)
public static void unloadSettings()
Copyright © 2015 OpenEstate. All rights reserved.