rjw.dc.processes
Class AmazonUpdate

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--rjw.dc.processes.AmazonUpdate
All Implemented Interfaces:
java.lang.Runnable

public class AmazonUpdate
extends java.lang.Thread

Updates a set of records by contacting the online database. The process uses the AmazonSearchForm to get input from the user.

Since:
1.3
Version:
DC0.50
Author:
Robert-Jan van der Waals

Field Summary
static boolean running
          Specifies whether the process is running
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AmazonUpdate(java.lang.Object[][] data, java.lang.Object sender)
          Initializes the process.
 
Method Summary
 void run()
          Starts the process
 void searchAmazon(java.lang.Object[][] data)
          Opens a result form for every Imdb request so the user can select the most likely one
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

running

public static boolean running
Specifies whether the process is running

Constructor Detail

AmazonUpdate

public AmazonUpdate(java.lang.Object[][] data,
                    java.lang.Object sender)
Initializes the process. All preferences are set

Method Detail

run

public void run()
Starts the process

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

searchAmazon

public void searchAmazon(java.lang.Object[][] data)
Opens a result form for every Imdb request so the user can select the most likely one