All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.DealDirectory

java.lang.Object
   |
   +----semper.commerce.DealDirectory

public final class DealDirectory
extends Object
implements Serializable
This class encapsulates the directory of all deals maintained by the user. An object of this type will be stored in the SEMPER archive and will serve as the index to all the deals stored.

Applications get access to the deal directory by calling the static method Deal.getDirectory.

Version:
$Id: DealDirectory.java,v 1.4 1998/06/02 12:40:35 semper Exp $
Author:
Rolf Michelsen, Stig Mj°lsnes
See Also:
getDirectory

Method Index

 o get()
Returns an array of all the deals stored in the archive.
 o get(String)
Returns an array of all the deals stored in the archive that are with a given peer.
 o getDealCount()
Returns the number of elements in the deal directory.

Methods

 o get
 public DealID[] get()
Returns an array of all the deals stored in the archive.

Returns:
An array of all deals in the archive.
 o get
 public DealID[] get(String peerName)
Returns an array of all the deals stored in the archive that are with a given peer.

Returns:
An array of deals.
 o getDealCount
 public int getDealCount()
Returns the number of elements in the deal directory.

Returns:
The number of elements in the deal directory.

All Packages  Class Hierarchy  This Package  Previous  Next  Index