java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.negotiation.commands.DataCryptCmdImpl
Encrypts/decrypts a value using the specified key.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.DataCryptCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
DataCryptCmdImpl() DataCryptCmdImpl default constructor. |
Method Summary | |
java.lang.String | getValue() Returns the encrypted/decrypted value |
boolean | isReadyToCallExecute() Verifies that the this command is ready to be executed. |
void | performExecute() Performs data encryption/ decryption task. |
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. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public DataCryptCmdImpl()
Method Detail |
public java.lang.String getValue()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setErrorTaskName(java.lang.String errorTaskName)
public void setKey(java.lang.String key)
public void setMode(java.lang.String mode)
public void setValue(java.lang.String value)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.