|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.bugbase.domain.MasterDataProvider
MasterData Provider. Created: Wed Jan 10 16:49:20 2001
Constructor Summary | |
MasterDataProvider(IMasterDataService service)
Creates a new MasterDataProvider instance with
the system's default locale. |
|
MasterDataProvider(IMasterDataService service,
java.util.Locale locale)
Creates a new MasterDataProvider instance. |
Method Summary | |
java.util.Vector |
getErrorLevelKeys()
Convienience method accessing the keys from MasterDataService.ERRORLEVELS . |
java.util.Vector |
getErrorLevels()
Convienience method accessing the master data from MasterDataService.ERRORLEVELS . |
java.util.Vector |
getErrorLevelValues()
Convienience method accessing the values from MasterDataService.ERRORLEVELS . |
java.util.Locale |
getLocale()
Get the used locale. |
java.util.Vector |
getMasterData(java.lang.String type)
Get the master data for the given type. |
IMasterData |
getMasterData(java.lang.String type,
java.lang.String key)
Get the master data for the given key from type in the set locale. |
java.lang.String |
getMasterDataText(java.lang.String type,
java.lang.String key)
Return the value of the masterdata of given type and given key. |
IMasterDataService |
getService()
Get the value of service. |
java.util.Vector |
getYesNoDefault()
Convienience method accessing the master data from MasterDataService.YES_NO_DEFAULT . |
java.util.Vector |
getYesNoDefaultKeys()
Convienience method accessing the keys from MasterDataService.YES_NO_DEFAULT . |
java.util.Vector |
getYesNoDefaultValues()
Convienience method accessing the values from MasterDataService.YES_NO_DEFAULT . |
void |
setLocale(java.util.Locale v)
Set the locale, for which master data will be returned. |
void |
setService(IMasterDataService v)
Set the value of service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MasterDataProvider(IMasterDataService service, java.util.Locale locale)
MasterDataProvider
instance.service
- a master data servicelocale
- the used localepublic MasterDataProvider(IMasterDataService service)
MasterDataProvider
instance with
the system's default locale.service
- a master data serviceMethod Detail |
public java.util.Vector getMasterData(java.lang.String type)
getMasterData
in interface IMasterDataProvider
type
- type of master datapublic IMasterData getMasterData(java.lang.String type, java.lang.String key)
getMasterData
in interface IMasterDataProvider
type
- type of master datakey
- master data key.public java.lang.String getMasterDataText(java.lang.String type, java.lang.String key)
type
- masterdata typekey
- masterdata keypublic java.util.Vector getYesNoDefault()
MasterDataService.YES_NO_DEFAULT
.public java.util.Vector getYesNoDefaultValues()
MasterDataService.YES_NO_DEFAULT
.public java.util.Vector getYesNoDefaultKeys()
MasterDataService.YES_NO_DEFAULT
.public java.util.Vector getErrorLevels()
MasterDataService.ERRORLEVELS
.public java.util.Vector getErrorLevelValues()
MasterDataService.ERRORLEVELS
.public java.util.Vector getErrorLevelKeys()
MasterDataService.ERRORLEVELS
.public IMasterDataService getService()
public void setService(IMasterDataService v)
v
- Value to assign to service.public java.util.Locale getLocale()
public void setLocale(java.util.Locale v)
v
- Value to assign to locale.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |