com.ibm.commerce.marketing.commands
Interface ResolvePromotionCodeTaskCmd
-
- 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:
- AbstractResolvePromotionCodeTaskCmdImpl, ResolvePromotionCodeCOTaskCmdImpl, ResolvePromotionCodeTaskCmdImpl
public interface ResolvePromotionCodeTaskCmd extends TaskCommand
Resolve Promotion Code Task Command Interface.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The copyright information.static java.lang.String
defaultCommandClassName
The default implementation class.static java.lang.String
NAME
The name of the Command Interface class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Short
getPromotionCodeType()
This method returns the implementation type that is used for promotion code.PromotionKey[]
getPromotionKeys()
This is the method declaration to get the PromotionKey array.void
setPromotionCode(java.lang.String promotionCode)
This is the method declaration to Set Promotion Code.void
setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.void
setPromotionStatus(java.util.List listPromotionStatus)
This is the method declaration to Set Promotion Status.void
setSeparator(java.lang.String separator)
This is the method declaration to Set Separator.void
setStoreId(java.lang.Integer storeId)
This is the method declaration to Set Store Id.-
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 copyright information.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of the Command Interface class.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class.- See Also:
- Constant Field Values
-
-
Method Detail
-
setPromotionCode
void setPromotionCode(java.lang.String promotionCode)
This is the method declaration to Set Promotion Code.- Parameters:
promotionCode
- A String representing the promotion code to be used in the command.
-
setStoreId
void setStoreId(java.lang.Integer storeId)
This is the method declaration to Set Store Id.- Parameters:
storeId
- A String representing the store id information to be used in the command.
-
setPromotionCodeType
void setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code. 1 indicates the promotion code is implemented with unique promotion code framework.- Parameters:
promotionCodeType
- A Short representing the promotion code implementation type to be used in the command.
-
setPromotionStatus
void setPromotionStatus(java.util.List listPromotionStatus)
This is the method declaration to Set Promotion Status.- Parameters:
listPromotionStatus
- A List representing the allowed promotion status.
-
setSeparator
void setSeparator(java.lang.String separator)
This is the method declaration to Set Separator.- Parameters:
separator
- The delimiter used to separate different codes.
-
getPromotionKeys
PromotionKey[] getPromotionKeys()
This is the method declaration to get the PromotionKey array.- Returns:
- An PromotionKey array representing the resolved promotions' key information.
-
getPromotionCodeType
java.lang.Short getPromotionCodeType()
This method returns the implementation type that is used for promotion code. 1 indicates the promotion code is implemented with unique promotion code framework.- Returns:
- A Short value.
-
-