72
ATG C om merce P ro gra mm in g G ui d e
46 0
19 - I n ven t or y Fram ewo rk
If the
useCache
property is set to false, the inventory data in the repository is
provided.
If the
useCache
property is set to true, the cached data is provided.
The GSA can provide more complex types of caching. If appropriate, you can configure two instances of
the
InventoryRepository
GSA, one with no caching and one with distributed caching (set cache-
mode=distributed). You can configure one instance of the
RepositoryInventoryManager
to use the
uncached GSA, and another instance of the
RepositoryInventoryManager
to use the cached GSA. For
more information on distributed caching, see the SQL Repository Caching chapter in the ATG Repository
Guide.
Inventory Repository Administration
You can use the repository editor to administer the inventory system. Because the
RepositoryInventoryManager
is implemented as a front-end to a repository, you can use the
repository editor to edit the
RepositoryInventoryManager
backend. The disadvantage to using the
repository editor is that the
InventoryManager
does not know when the Repository has changed.
Therefore, it cannot perform actions like sending notifications about a pending order upon receipt of
additional inventory.
ATG Commerce includes a very simple user interface for administration of the Inventory Manager. You
can access the interface through the Dynamo Administration pages, as long as the Dynamo
Administration UI is included in your application. Access the Inventory Manager UI using the URL
appropriate for your application server. For example, the default URL on JBoss is:
http://
hostname
:8080/dyn/admin/atg/commerce/admin/inventory/index.jhtml
See the ATG Installation and Configuration Guide to find the default URL.
This page allows an administrator to view the results of the inventory query operations, to manipulate the
various properties of each item, and to notify the system of inventory updates. Out-of-the-box, the
interface allows the administrator to set, increase, or decrease the
stockLevel
,
backorderLevel
, and
preorderLevel
of any item in the inventory. This page also allows the administrator to set the
stockThreshold
,
backorderThreshold
,
preorderThreshold
,
availabilityStatus
, and
availabilityDate
for each item. is configured through The properties files of the servlet beans
described below configure the updated inventory.
The following Dynamo Server Pages manage the inventory:
Dynamo Server Page
Description
index.jhtml
This page allows you to administer the
InventoryManager
. Provides
access to the functionality mentioned above.