jSyncManager

org.jSyncManager.Conduit.Deleter
Class Deleter

java.lang.Object
  extended byorg.jSyncManager.API.Conduit.AbstractConduit
      extended byorg.jSyncManager.Conduit.Deleter.Deleter
All Implemented Interfaces:
java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable

public final class Deleter
extends AbstractConduit
implements java.awt.event.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.

Version:
$Revision: 3.2 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $ on $Date: 2004/07/14 04:31:15 $.
See Also:
Serialized Form

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
Deleter()
          Constructs a new instance of the Deleter jConduit.
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs the configuration panel for this jConduit.
 byte getPriority()
          Returns the Deleter jConduits priority byte (-126).
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the class to use as the Conduits Resource Bundle.
 void itemStateChanged(java.awt.event.ItemEvent e)
          ItemListener interface method.
(package private)  void setDbList(java.lang.Object[] as)
          Sets the database list set for use during synchronization.
 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
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

Deleter

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

Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle.

Specified by:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

getPriority

public byte getPriority()
Returns the Deleter jConduits priority byte (-126).

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

startSync

public void startSync(ConduitHandler conduithandler,
                      DLPUserInfo user)
               throws NotConnectedException
This method is called when this jConduit is given the opportunity to synchronize.

Specified by:
startSync in class AbstractConduit
Parameters:
conduithandler - he handle to the active ConduitHandler to use for synchronization.
user - the user information object for the handhelds owner.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost.

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Constructs the configuration panel for this jConduit.

Specified by:
constructConfigPanel in class AbstractConduit
Returns:
a JPanel containing the configuration widgets for the Deleter jConduit.

setDbList

void setDbList(java.lang.Object[] as)
Sets the database list set for use during synchronization.

Parameters:
as - the database list set to use during synchronization.

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
ItemListener interface method.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Parameters:
e - the ItemEvent to be processed.

jSyncManager

Copyright (c) 1999 - 2004 Brad BARCLAY and others. All Rights Reserved.