com.ibm.commerce.orderquotation.commands
Interface OrderQuotationDisplayCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
OrderQuotationDisplayCmdImpl

public interface OrderQuotationDisplayCmd
extends ControllerCommand

Display a shopcart and its associated quotation information.


Field Summary
static java.lang.String COPYRIGHT
          The IBM copyright string.
static java.lang.String DEFAULT_ORDERQUOTATIONREL_ID
          The default value of the orderQuotationRelId parameter.
static java.lang.String DEFAULT_OUT_ORDERQUOTATIONREL_ID_NAME
          The default value of the outOrderQuotationRelIdName parameter.
static java.lang.String DEFAULT_VIEWNAME
          The default value of the viewName parameter.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String NAME
          The name of this command.
static java.lang.String VIEWNAME_PREFIX
          The view name prefix.
 
Method Summary
 void setOrderQuotationRelAbbreviations(java.lang.String[] astrOrderQuotationRelAbbreviations)
          Sets the OrderQuotationRel objects whose quotation Orders should be displayed.
 void setOutOrderQuotationRelIdNames(java.lang.String[] astrOutOrderQuotationRelIdNames)
          Sets the names of name value pairs that should be provided to the View.
 void setViewName(java.lang.String astrViewName)
          Sets the View to be invoked.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
The IBM copyright string.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation of this command.
See Also:
Constant Field Values

DEFAULT_ORDERQUOTATIONREL_ID

public static final java.lang.String DEFAULT_ORDERQUOTATIONREL_ID
The default value of the orderQuotationRelId parameter.
See Also:
Constant Field Values

DEFAULT_VIEWNAME

public static final java.lang.String DEFAULT_VIEWNAME
The default value of the viewName parameter.
See Also:
Constant Field Values

DEFAULT_OUT_ORDERQUOTATIONREL_ID_NAME

public static final java.lang.String DEFAULT_OUT_ORDERQUOTATIONREL_ID_NAME
The default value of the outOrderQuotationRelIdName parameter.
See Also:
Constant Field Values

VIEWNAME_PREFIX

public static final java.lang.String VIEWNAME_PREFIX
The view name prefix.
See Also:
Constant Field Values
Method Detail

setOrderQuotationRelAbbreviations

public void setOrderQuotationRelAbbreviations(java.lang.String[] astrOrderQuotationRelAbbreviations)
Sets the OrderQuotationRel objects whose quotation Orders should be displayed.
Parameters:
astrOrderQuotationRelAbbreviations - the OrderQuotationRel abbreviations. Default is new String[] { "*parent." }.

setViewName

public void setViewName(java.lang.String astrViewName)
Sets the View to be invoked. The name of the View must start with "OrderQuotationDisplay" (in order to prevent a malicious user from executing an arbitrary View while still allowing a Store developer to define as many Views as may be required).
Parameters:
astrViewName - the view name. Default is "OrderQuotationDisplayView".

setOutOrderQuotationRelIdNames

public void setOutOrderQuotationRelIdNames(java.lang.String[] astrOutOrderQuotationRelIdNames)
Sets the names of name value pairs that should be provided to the View. The values of the added name value pairs are the identifiers of the OrderQuotationRel objects whose parent and child Orders should be displayed.
Parameters:
astrOutOrderQuotationRelIdNames - the names of the output orderQuotationRelId name-value pairs. Default is new String[] { "orderQuotationRelId" }.