com.ibm.commerce.order.commands
Interface SetOrderTemplateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- SetOrderTemplateCmdImpl
- public interface SetOrderTemplateCmd
- extends ControllerCommand
Use this controller command to mark/unmark orders as
orderTemplates. They can be accessed at a later
time via orderAbbreviations '*t' (orderTemplates) and
'.t' (currentOrderTemplates).
Method Summary |
void |
setGroups(SetOrderTemplateCmd.Group[] aGroups)
Set the enumerationGroups.
An enumerationGroup consists of:
public Long inMemberId - memberId to resolve orderAbbreviations in the enumerationGroup.
public Integer inStoreId - storeId to resolve orderAbbreviations in the enumerationGroup.
public Integer inUsage - 0 to mark, 1 to mark as current, -1 to unmark.br>
public String[] istrOrderAbbreviations - orderAbbreviations (e.g. |
void |
setOutOrderNames(java.lang.String[] astrOutOrderNames)
Set the names of the orderId NVPs to be appended to the redirection URL. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
CURRENT_ORDER_TEMPATE
public static final java.lang.Integer CURRENT_ORDER_TEMPATE
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
ERRCODE_ACCESS_DENIED
public static final java.lang.String ERRCODE_ACCESS_DENIED
NAME
public static final java.lang.String NAME
ORDER_TEMPLATE
public static final java.lang.Integer ORDER_TEMPLATE
SET_ORDER_TEMPLATE_ERRVIEW
public static final java.lang.String SET_ORDER_TEMPLATE_ERRVIEW
UNMARK
public static final java.lang.Integer UNMARK
setGroups
public void setGroups(SetOrderTemplateCmd.Group[] aGroups)
- Set the enumerationGroups.
An enumerationGroup consists of:
public Long inMemberId - memberId to resolve orderAbbreviations in the enumerationGroup.
public Integer inStoreId - storeId to resolve orderAbbreviations in the enumerationGroup.
public Integer inUsage - 0 to mark, 1 to mark as current, -1 to unmark.br>
public String[] istrOrderAbbreviations - orderAbbreviations (e.g. '*').
- Parameters:
aGroups
- the enumerationGroups.
setOutOrderNames
public void setOutOrderNames(java.lang.String[] astrOutOrderNames)
- Set the names of the orderId NVPs to be appended to the redirection URL.
- Parameters:
astrOutOrderNames
- the names of the orderId NVPs.