Class Config
java.lang.Object
be.gaudry.model.bibliobrol.config.Config
- Since:
- 1.0 Sep 17, 2008
- Author:
- Steph GAUDRY
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic intProvides the brol identifier of reference Mediabrol.static StringKey used to retrieve or save the EducaBrol data path with theRememberHelperhelper class.static StringKey used to retrieve or save the data path type (local or roaming) with theRememberHelperhelper class.static String
- 
Method SummaryModifier and TypeMethodDescriptionstatic RememberHelper.StorageTypeReturns the preferred data path type (local or roaming).
 Default value isLOCAL.
 This uses thePROP_DATA_STORAGE_TYPEconstant to retrieve the value.static StringThe application uses this directory path to store some data, and the persistent storage system if we choose to use an embed system (like xml, Derby database or Ms Access).
 Default value is the an "bibliobrol" directory into the application executable file directory.
 This uses thePROP_DATA_ROOTconstant to retrieve the value.static PersongetOwner()static PersonDisplaystatic voidsavePersonDisplay(PersonDisplay personDisplay)static voidsetDataLocation(String dataLocation)static voidstatic voidsetPersonDisplay(PersonDisplay personDisplay)
- 
Field Details- 
PROP_PERSON_DISPLAY- See Also:
- Constant Field Values
 
- 
DEFAULT_ROLE_IDpublic static final int DEFAULT_ROLE_IDProvides the brol identifier of reference Mediabrol. This Mediabrol is used to store default roles for the persons.- See Also:
- Constant Field Values
 
- 
PROP_DATA_ROOTKey used to retrieve or save the EducaBrol data path with theRememberHelperhelper class.- See Also:
- Constant Field Values
 
- 
PROP_DATA_STORAGE_TYPEKey used to retrieve or save the data path type (local or roaming) with theRememberHelperhelper class.- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
getOwner
- 
setOwner
- 
getDataLocationThe application uses this directory path to store some data, and the persistent storage system if we choose to use an embed system (like xml, Derby database or Ms Access).
 Default value is the an "bibliobrol" directory into the application executable file directory.
 This uses thePROP_DATA_ROOTconstant to retrieve the value.- Returns:
- the data directory path
 
- 
getDAOPrefTypeReturns the preferred data path type (local or roaming).
 Default value isLOCAL.
 This uses thePROP_DATA_STORAGE_TYPEconstant to retrieve the value.- Returns:
- StorageType
 
- 
setDataLocation
- 
getPersonDisplay
- 
setPersonDisplay
- 
savePersonDisplay
 
-