com.ibm.commerce.orderquotation.commands
Interface GetCredentialsCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
GetCredentialsCmdImpl

public interface GetCredentialsCmd
extends TaskCommand

Interface for the command used to get the credentials for a shopper.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
          The full class name for this interface file.
 
Method Summary
 java.lang.String getPasswordForCredentials()
          Get the password to use on the credentials.
 java.lang.String getUserIdForCredentials()
          Get the user id to use on the credentials.
 void setPassword(java.lang.String thePassword)
          Set the user's password.
 void setReferralStoreId(java.lang.Integer theStoreId)
          Set the referral store id for the credentials.
 void setUserId(java.lang.String theUserId)           Set the user id.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The full class name for this interface file.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.
Method Detail

setUserId

public void setUserId(java.lang.String theUserId)
Set the user id.
Parameters:
theUserId - (Optional) The user id. If not specified the "UserDistributorUserId" attribute of the commandContext user profile will be used.

setPassword

public void setPassword(java.lang.String thePassword)
Set the user's password.
Parameters:
thePassword - (Optional) The password. If not specified the "UserDistributorPasswordEncrypted" attribute (unencrypted) of the commandContext user profile will be used.

setReferralStoreId

public void setReferralStoreId(java.lang.Integer theStoreId)
Set the referral store id for the credentials.
Parameters:
theStoreId - The distributor's store id.

getUserIdForCredentials

public java.lang.String getUserIdForCredentials()
Get the user id to use on the credentials.
Returns:
The user id to use on the credentials.

getPasswordForCredentials

public java.lang.String getPasswordForCredentials()
Get the password to use on the credentials.
Returns:
The password to use on the credentials.