com.ibm.commerce.negotiation.commands
Interface DataCryptCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
DataCryptCmdImpl

public interface DataCryptCmd
extends TaskCommand

Data Encryption/Decryption Interface.


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 getValue()
          Returns the encrypted/decrypted value
 void setErrorTaskName(java.lang.String errorTaskName)
          Set error task name that will be returned by the exceptions.
 void setKey(java.lang.String key)
          Sets the key to be used for encrypting/decrypting the value.
 void setMode(java.lang.String mode)
          Sets the mode for either encryption or decryption.
 void setValue(java.lang.String value)           Sets the value to be encrypted/decrypted.
 

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.
See Also:
Constant Field Values

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.
See Also:
Constant Field Values
Method Detail

getValue

public java.lang.String getValue()
Returns the encrypted/decrypted value
Returns:
String - The encryption/decryption value

setErrorTaskName

public void setErrorTaskName(java.lang.String errorTaskName)
Set error task name that will be returned by the exceptions.
Parameters:
errorTaskName - java.lang.String

setKey

public void setKey(java.lang.String key)
Sets the key to be used for encrypting/decrypting the value.
Parameters:
key - java.lang.String

setMode

public void setMode(java.lang.String mode)
Sets the mode for either encryption or decryption.
Parameters:
mode - String - Encrypt or decrypt.

setValue

public void setValue(java.lang.String value)
Sets the value to be encrypted/decrypted.
Parameters:
value - java.lang.String