public class GenerateGiftListExternalIdCmdImpl extends TaskCommandImpl implements GenerateGiftListExternalIdCmd
GenerateGiftListExternalIdCmd
task command interface. The GiftListType
noun should be set
before invoking the performExecute
method. The command sets the
external identifier property of the GiftListType
noun which is
passed as the input.
The default implementation uses the gift list unique identifier itself as the
gift list external identifier. You can override this implementation to
generate the external identifier in a different way.
GenerateGiftListExternalIdCmd.setGiftListType(GiftListType)
Modifier 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 |
---|
GenerateGiftListExternalIdCmdImpl() |
Modifier and Type | Method and Description |
---|---|
GiftListType |
getGiftListType()
Returns the
GiftListType object. |
void |
performExecute()
Performs the business logic to set the gift list external identifier
The value of the XPath expression
DataArea/GiftList/GIftListIdentifier/UniqueId would be set
to
DataArea/GiftList/GIftListIdentifier/GiftListExternalIdentifier/ExternalIdentifier |
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 void performExecute() throws ECException
DataArea/GiftList/GIftListIdentifier/UniqueId
would be set
to
DataArea/GiftList/GIftListIdentifier/GiftListExternalIdentifier/ExternalIdentifier
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
super.performExecute()
public GiftListType getGiftListType()
GiftListType
object.getGiftListType
in interface GenerateGiftListExternalIdCmd
GiftListType
.public void setGiftListType(GiftListType aGiftListType)
GiftListType
object.setGiftListType
in interface GenerateGiftListExternalIdCmd
aGiftListType
- A GiftListType
object.