|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Conduit.AbstractConduit
org.jSyncManager.API.Conduit.AbstractInstaller
org.jSyncManager.Conduit.Installer.Installer
A jConduit used to install PRC and PDB files. This jConduit allows the user to install PRC and PDB files from either a local or network filesystem, or via a specified URL.
| Field Summary |
| Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit |
CANCEL_BUTTON_PRESSED, configurationPanel, HELP_BUTTON_PRESSED, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, OK_BUTTON_PRESSED, resources |
| Constructor Summary | |
Installer()
Constructs a new instance of the Installer jConduit. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Implementation of ActionListener.actionPerformed(ActionEvent). |
protected void |
clearDatabaseList()
A method to clear the database list vector. |
protected javax.swing.JPanel |
constructConfigPanel()
Constructs a configuration panel for this jConduit. |
protected void |
exceptionInstallingDatabase(DLPDatabase db,
ConduitHandler handler,
ConduitHandlerException e)
A method to handle when an exception is encountered while trying to install a database. |
protected DLPDatabase[] |
getDatabaseList()
Returns a list of databases to be installed to the handheld at sync time. |
byte |
getPriority()
This method returns the jConduits priority byte. |
protected java.lang.String |
getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle. |
protected void |
installingDatabase(DLPDatabase db,
ConduitHandler handler)
A method to handle when a database is to be installed. |
protected boolean |
isDatabaseInstallAllowed(DLPDatabase db,
ConduitHandler handler,
DLPUserInfo user)
Determines wether or not this database should be installed. |
void |
removeDatabase(java.lang.String s)
|
protected void |
skippingDatabase(DLPDatabase db,
ConduitHandler handler)
A method to handle when a database is to be skipped (ie: not installed). |
| Methods inherited from class org.jSyncManager.API.Conduit.AbstractInstaller |
startSync |
| Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit |
doInitialization, getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, initialize, jConduitDialogActionPerformed, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Installer()
| Method Detail |
public byte getPriority()
AbstractConduit
getPriority in class AbstractConduitpublic void removeDatabase(java.lang.String s)
protected java.lang.String getResourceBundleName()
getResourceBundleName in class AbstractConduitprotected javax.swing.JPanel constructConfigPanel()
constructConfigPanel in class AbstractConduitpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - the incoming action event.
protected boolean isDatabaseInstallAllowed(DLPDatabase db,
ConduitHandler handler,
DLPUserInfo user)
throws NotConnectedException
isDatabaseInstallAllowed in class AbstractInstallerdb - the database object to be installed.handler - the ConduitHandler object for this sync (so you can check handheld data if necessary)user - the DLPUserInfo object for the currently syncing user.
NotConnectedExceptionprotected void clearDatabaseList()
clearDatabaseList in class AbstractInstaller
protected void installingDatabase(DLPDatabase db,
ConduitHandler handler)
throws NotConnectedException
installingDatabase in class AbstractInstallerdb - the database that is about to be installed.
NotConnectedException
protected void skippingDatabase(DLPDatabase db,
ConduitHandler handler)
throws NotConnectedException
skippingDatabase in class AbstractInstallerdb - the database that is about to be skipped.
NotConnectedException
protected void exceptionInstallingDatabase(DLPDatabase db,
ConduitHandler handler,
ConduitHandlerException e)
throws NotConnectedException
exceptionInstallingDatabase in class AbstractInstallerdb - the database that was being installed when the exception occurred.
NotConnectedExceptionprotected DLPDatabase[] getDatabaseList()
getDatabaseList in class AbstractInstallerDLPDatabase
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||