|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.masterdata.DefaultMasterDataService
This is a default implementation for a Master Data service. Creation date: (09.09.00 22:00:17)
Constructor Summary | |
DefaultMasterDataService()
Constructor |
Method Summary | |
void |
addMasterDataContainer(java.lang.String type,
IMasterDataContainer container)
Insert the method's description here. |
IMasterDataContainer |
getMasterData(java.lang.String type,
java.lang.String language)
Passes Master Data of the specified type and a given language to the Master Data Provider. |
static java.util.Hashtable |
getMasterDataCache()
Return contents of field masterDataCache |
void |
initialize()
Initialize the Master Data cache Must be subclassed to provide some master data. |
static void |
setMasterDataCache(java.util.Hashtable newValue)
Set contents of field masterDataCache to the given value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultMasterDataService()
Method Detail |
public void addMasterDataContainer(java.lang.String type, IMasterDataContainer container)
type
- java.lang.Stringcontainer
- openfuture.masterdata.IMasterDataContainerpublic IMasterDataContainer getMasterData(java.lang.String type, java.lang.String language)
getMasterData
in interface IMasterDataService
type
- java.lang.Stringlanguage
- java.lang.Stringpublic static java.util.Hashtable getMasterDataCache()
public void initialize()
You might want to create an instance of this class or subclass at start-up of your (server) application and initialize is in order to fetch some data, e.g. from a legacy system or interface. Creation date: (10.09.00 09:38:20)
initialize
in interface IMasterDataService
public static void setMasterDataCache(java.util.Hashtable newValue)
newValue
- (Hashtable) new value for field masterDataCache
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |