com.ibm.commerce.orderquotation.commands

Interface GetCredentialsCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    GetCredentialsCmdImpl


    public interface GetCredentialsCmd
    extends TaskCommand
    Interface for the command used to get the credentials for a shopper.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
      • NAME

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

        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

        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

        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

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

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

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