public class GenerateGiftRegistryAccessKeyCmdImpl extends TaskCommandImpl implements GenerateGiftRegistryAccessKeyCmd
GenerateGiftRegistryAccessKeyCmd
task command interface. The
GiftListType
noun should be set before invoking the
performExecute
method. A unique 128bit UUID is
generated for every command invocation as the access key.
The command sets the access key appropriately into the model object. Note
that the getAccessKey()
method always returns a different key
than the key set in the request BODModifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Constants for logging and tracing.
|
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()
Returns the generated access key.
|
GiftListType |
getGiftListType()
Return the
GiftListType object. |
void |
performExecute()
Performs the business logic to set the guest access key and registered
access key for the gift list.
|
void |
setGiftListType(GiftListType aGiftListType)
Sets the
GiftListType object. |
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
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 CLASSNAME
public GenerateGiftRegistryAccessKeyCmdImpl()
public void performExecute() throws ECException
DataArea/GiftList/AccessSpecifier/GuestAccessKey
and the
registry access key is set to XPath
DataArea/GiftList/AccessSpecifier/RegistryAccessKey
.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
super.performExecute()
,
getAccessKey()
public java.lang.String getAccessKey()
getAccessKey
in interface GenerateGiftRegistryAccessKeyCmd
public GiftListType getGiftListType()
GiftListType
object.getGiftListType
in interface GenerateGiftRegistryAccessKeyCmd
GiftListType
object.public void setGiftListType(GiftListType aGiftListType)
GiftListType
object.setGiftListType
in interface GenerateGiftRegistryAccessKeyCmd
aGiftListType
- A GiftListType
object