This site level command displays all the catalog entries and items in the specified interest item list or lists.
Use this command with SSL (Secure Sockets Layer) to ensure that the customer's logon password and personal information are encrypted. To do so type the command with the HTTPS secure protocol.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- langId
- Sets or resets the preferred language for the duration of the session. The supported languages for a store are found in the STORELANG table.
- forUser
- The logon ID of the user on whose behalf the command will be run. Only a person with the authority to process orders can specify this parameter.
- forUserId
- Same logon ID as forUser, but identifies the user by the internal user ID, as found in the USERS table.
- storeId
- The store reference number under which this command is run. If the value for this parameter is carried from the previous command, storeId is not required, otherwise, specify storeId.
- listMemberId
- The reference number of the member whose interest item list is being displayed.
- listId
- Specifies the interest item list from which catalog entries should be
displayed; abbreviations may be used
- If this parameter is missing, the command behaves as if "." were specified.
- If "." is specified, the GetCurrentIIListsCmd task command is invoked to obtain the customer's current interest item list, and the command behaves as if the current interest item list had been specified. If the GetCurrentIIListsCmd task command determines that there is no current interest item list, the most recently updated list is used.
- If "*" is specified, the command behaves as if all the customer's interest item lists were specified.
- listIdName
- Specifies the names of name-value pairs to be accessible by the view command that invokes a JSP file to generate the output for this command. The values of the added name-value pairs are the reference numbers of the lists that are being displayed. This is provided to make it possible to obtain the reference numbers of the interest item when listId is specified as "." or "*". This parameter can be repeated.
Example
This example displays a list of all the products and items in the customer's order:
https://host_name/webapp/wcs/stores/servlet/InterestItemDisplay
Behavior
- Calls the GetCurrentIIListsCmd task command to determine the interest item list from which to display catalog entries when either the listId parameter is specified as "." or it is omitted.
- Calls the AuthIIListAccessCmd task command to verify read permission for each of the specified interest item lists.
- For each catalog entry in the specified interest item list, calls the GetBaseUnitPriceCmd task command to obtain the current price, and updates the record in the IITEM table.
- Sets the InterestItemDisplayView view command to display an interest item list page.
Exception conditions
- If the task command assigned to the AuthIIListAccessCmd task command fails, the AuthIIListAccessErr exception task handles the error.
- If the task command assigned to the GetBaseUnitPriceCmd task command fails, a generic error command handles the error.
- If no price can be found for any of the interest items, the command throws the ECApplicationException exception specifying the RetrievePriceErrorView error view command.