org.jSyncManager.Conduit.Deleter

Class Deleter

Implemented Interfaces:
ItemListener, Serializable

public final class Deleter
extends AbstractConduit
implements ItemListener

The Deleter jConduit. This jConduit allows the user to delete selected databases. It is particularily useful in deleting the data databases for ROM based application, which are otherwise non-deletable.

Field Summary

Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit

CANCEL_BUTTON_PRESSED, HELP_BUTTON_PRESSED, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, OK_BUTTON_PRESSED, configurationPanel, resources

Constructor Summary

Deleter()
Constructs a new instance of the Deleter jConduit.

Method Summary

protected JPanel
constructConfigPanel()
Constructs the configuration panel for this jConduit.
byte
getPriority()
Returns the Deleter jConduits priority byte (-126).
protected String
getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle.
void
itemStateChanged(ItemEvent e)
ItemListener interface method.
void
startSync(ConduitHandler conduithandler, DLPUserInfo user)
This method is called when this jConduit is given the opportunity to synchronize.

Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit

constructConfigPanel, doInitialization, getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getPriority, getResourceBundleName, initialize, jConduitDialogActionPerformed, startSync, toString

Constructor Details

Deleter

public Deleter()
Constructs a new instance of the Deleter jConduit.

Method Details

constructConfigPanel

protected JPanel constructConfigPanel()
Constructs the configuration panel for this jConduit.
Overrides:
constructConfigPanel in interface AbstractConduit
Returns:
a JPanel containing the configuration widgets for the Deleter jConduit.

getPriority

public byte getPriority()
Returns the Deleter jConduits priority byte (-126).
Overrides:
getPriority in interface AbstractConduit
Returns:
the Deleter jConduits priority byte (-126).

getResourceBundleName

protected String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle.
Overrides:
getResourceBundleName in interface AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

itemStateChanged

public void itemStateChanged(ItemEvent e)
ItemListener interface method.
Parameters:
e - the ItemEvent to be processed.

startSync

public void startSync(ConduitHandler conduithandler,
                      DLPUserInfo user)
            throws NotConnectedException
This method is called when this jConduit is given the opportunity to synchronize.
Overrides:
startSync in interface AbstractConduit
Parameters:
conduithandler - he handle to the active ConduitHandler to use for synchronization.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost.