All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----semper.commerce.Deal
|
+----semper.commerce.ActiveDeal
|
+----semper.commerce.InitiatorDeal
RespondentDeal
object. A deal cannot be created or reactivated if this session cannot
be established.
When the deal is activated it can be inspected and new transactions can be added to it. A business application that is only going to inspect a deal should open the deal in suspended mode if possible.
public InitiatorDeal(String peerName,
String peerAddress,
String serviceName) throws AssociationException, QualityException
RespondentDeal object, and the peer will be authenticated.
This method will attempt to reactivate an existing deal. The user will be given the choice to reactivate any deal with this peer or to create a new deal. The business application cannot require that an old deal must be reactivated or influence which deal is reactivated.
This is a confirmed service, and successfull instantiation of this class is a confirmation that the deal is successfully activated. The constructor will throw an exception if the deal cannot be activated.
This service is not yet implemented. Using this service will result in an exception being thrown.
public InitiatorDeal(String peerAddress,
String peerName,
String serviceName,
String myName,
DealQuality quality) throws AssociationException, QualityException, DealException
RespondentDeal object, and the
peer will be authenticated.
The business application requesting this service specifies its required deal quality attributes as a parameter to the constructor. The actual deal quality attributes will be a combination of the quality attributes required by the business application and the user. The user's requirements are managed by the commerce layer.
The distinguished name of the initiator must be specified. An
initiator may operate under different identities or pseudonyms, and
the distinguished name identifies which identity to use for this
particular deal. A null value indicates that the default
name for this user should be used. A certificate on the specified name
must be accessible.
Deal activation is a confirmed service. The constructor throws an exception if deal activation is not successfull.
null
if the peer name is unknown.
public InitiatorDeal(String peerAddress,
String serviceName,
String myName,
DealQuality quality) throws AssociationException, QualityException, DealException
RespondentDeal object. Use
this service when the distinguished name of the peer is unknown.
null for the default name.
All Packages Class Hierarchy This Package Previous Next Index