public class GenerateGiftRegistryAccessKeyCmdImpl extends BusinessObjectDocumentCmdImpl implements GenerateGiftRegistryAccessKeyCmd
GenerateGiftRegistryAccessKeyCmd
. Each time, a 128bit UUID will
be generated. Overwrite this command to provide your own access key. Each time the access key has to
be unique. If a request BOD is in place, GiftRegistryVO
will be expected to be in
the BOD, and both the GuestAccessKey and RegistrantAccessKey fields of all the GiftRegistryVO
will be updated with a unique accesss key. Note that getAccessKey()
will always return a
different key than what's been set in request BOD, if any.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
Name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
GenerateGiftRegistryAccessKeyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessKey() |
void |
performExecute()
This method performs the business logic for this command.
|
getResultBOD, setRequestBOD
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResultBOD, setRequestBOD
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public GenerateGiftRegistryAccessKeyCmdImpl()
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
super.performExecute()
public java.lang.String getAccessKey()
getAccessKey
in interface GenerateGiftRegistryAccessKeyCmd