com.ibm.commerce.giftcenter.commands
Interface GenerateGiftRegistryAccessKeyCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- GenerateGiftRegistryAccessKeyCmdImpl
public interface GenerateGiftRegistryAccessKeyCmd extends TaskCommand
The task command interface to generate a unique key that can be used along with the GiftList external identifier to provide access to the GiftList. Set the gift list type using thesetGiftListType
method provided. The command implementation should update theRegistrantAccessKey
andGuestAccessKey
fields of theGiftListType
noun
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The internal copyright field.static java.lang.String
defaultCommandClassName
The default implementation classstatic java.lang.String
NAME
The name of this interface
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.String
getAccessKey()
Returns the access keyGiftListType
getGiftListType()
Returns theGiftListType
object.void
setGiftListType(GiftListType giftListType)
Sets theGiftListType
.-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The internal copyright field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of this interface- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessKey
java.lang.String getAccessKey()
Returns the access key- Returns:
- The access key
-
setGiftListType
void setGiftListType(GiftListType giftListType)
Sets theGiftListType
.- Parameters:
giftListType
- The inputGiftListType
object.
-
getGiftListType
GiftListType getGiftListType()
Returns theGiftListType
object.- Returns:
- The
GiftListType
object.
-
-