jSyncManager

org.jSyncManager.Conduit.Deleter
Class Deleter

java.lang.Object
  |
  +--org.jSyncManager.API.Conduit.AbstractConduit
        |
        +--org.jSyncManager.Conduit.Deleter.Deleter
All Implemented Interfaces:
java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable

public 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: 1.4 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $ on $Date: 2003/06/26 02:25:23 $.
See Also:
Serialized Form

Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
configurationPanel, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, resources
 
Constructor Summary
Deleter()
           
 
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.
 void setDbList(java.lang.Object[] as)
           
 void setState(boolean flag)
           
 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
getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getHandler, setHandler, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Deleter

public Deleter()
Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle.
Overrides:
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).

setDbList

public void setDbList(java.lang.Object[] as)

setState

public void setState(boolean flag)

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 class AbstractConduit
Parameters:
conduithandler - he handle to the active ConduitHandler to use for synchronization.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost.

constructConfigPanel

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

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
ItemListener interface method.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

jSyncManager

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