public class DBCacheHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
needToUpdateDBCache(InventoryAvailabilityType aInventoryAvailability,
Invcnf aInventoryConfiguration)
This method checks whether it needs to update database cache.
|
static void |
updateDatabaseCache(java.util.List listNouns)
This method updates the database cache according to the inventory
availability in external Order Management System.
|
public static final java.lang.String COPYRIGHT
public static void updateDatabaseCache(java.util.List listNouns) throws AbstractApplicationException
listNouns
- the list of InventoryAvailability Nouns got from external, which is InventoryAvailabilityType
.
Order Management SystemAbstractApplicationException
public static boolean needToUpdateDBCache(InventoryAvailabilityType aInventoryAvailability, Invcnf aInventoryConfiguration)
aInventoryAvailability
- the InventoryAvailability logical noun.aInventoryConfiguration
- the inventory configuration.