Persisting, retrieving, updating, or deleting an item to or from a local item store

Various collaboration objects used in the Product Information Management for Retailers solution can initiate the storage, retrieval, updating, or deletion of a business object to or from an item store.

Related collaboration templates and business objects

See the following related collaboration templates for more information: See the following related business object for more information:

Description

The ItemValidation and ItemDispatcher collaboration objects' LocalItemStore ports, and the ItemCollector and Process_Reviewed_Item collaboration objects' local_store ports, are all bound to a persistence mechanism. In the context of the Product Information Management for Retailers solution, this mechanism is an ItemStore collaboration object.

The ItemStore collaboration object receives the business object on its From port and, through a series of interactions with the IBM® WebSphere® Business Integration Data Handler for XML (which are detailed per command in ItemStore collaboration template), stores, retrieves, updates, or deletes the item. When the collaboration object retrieves an item, it returns it to the calling collaboration object. The key to this record in the item store is saved in the internals.correlationID attribute of the Retail_Item business object.

Note: If the item has not been stored by another collaboration object and therefore does not have to be deleted, set the Process_Reviewed_Item collaboration object's property DELETE_FROM_LOCAL_STORE to false.

Parent topic: Using identifier, message, and item stores