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
-
get()
- Returns an array of all the deals stored in the archive.
-
get(String)
- Returns an array of all the deals stored in the archive that are with a given
peer.
-
getDealCount()
- Returns the number of elements in the deal directory.
get
public DealID[] get()
- Returns an array of all the deals stored in the archive.
- Returns:
- An array of all deals in the archive.
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.
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