edu.mit.sketch.system
Class BBItemHandler

java.lang.Object
  |
  +--edu.mit.sketch.system.BBItemHandler

public class BBItemHandler
extends Object

Created: Thu Feb 21 16:06:58 2002
Copyright: Copyright (C) 2001 by MIT. All rights reserved.


Constructor Summary
BBItemHandler()
           
 
Method Summary
 void addNewItem(BBItem bbi)
          Add a newly appeared BBItem to the system.
 void clear()
          Clear all the items (processed and unprocessed)
 Collection getAllItems()
           
 LinkedList getUnprocessedItems()
          Get the uncprocessed items
 boolean hasUnprocessed()
           
 void markAllProcessed()
           
 void markProcessed(Collection items)
          Mark a group of items as processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBItemHandler

public BBItemHandler()
Method Detail

addNewItem

public void addNewItem(BBItem bbi)
Add a newly appeared BBItem to the system.

getUnprocessedItems

public LinkedList getUnprocessedItems()
Get the uncprocessed items

markProcessed

public void markProcessed(Collection items)
Mark a group of items as processed.

markAllProcessed

public void markAllProcessed()

hasUnprocessed

public boolean hasUnprocessed()

getAllItems

public Collection getAllItems()

clear

public void clear()
Clear all the items (processed and unprocessed)