com.ibm.commerce.catalog.facade.server.commands

Class FetchCatalogEntryByPartNumberTaskCmdImpl

  • All Implemented Interfaces:
    FetchCatalogEntryCmd, AbstractFetchNounCmd, com.ibm.websphere.command.Command, java.io.Serializable


    public class FetchCatalogEntryByPartNumberTaskCmdImpl
    extends AbstractFetchCatalogEntrySOICmdImpl
    This fetch command retrieves the catalog entry for a given part number and store. The part number is passed as a parameter in xpath expression and the store id is retrieved from the BaseContext using ,getStoreId() method in the CatalogComponentHelper helper classs. This command also checks if the current user is entitled to see retrieved catalog entry. If current user is entitled to the given Catalog Entry, data is returned otherwise an empty Show BOD is returned to the client.
    Following is the xpath expression used to invoke this command:
    '/CatalogEntry[CatalogEntryIdentifier[ExternalIdentifier[(PartNumber=)]]]'
    PartNumber : valid sku code for which catalog entry data has to be retrieved.
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchCatalogEntryByPartNumberTaskCmdImpl

        public FetchCatalogEntryByPartNumberTaskCmdImpl()
        The default constructor for this class. This constructor just calls the superclass constructor.