Class Config
java.lang.Object
be.gaudry.model.bibliobrol.config.Config
- Since:
- 1.0 Sep 17, 2008
- Author:
- Steph GAUDRY
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Provides the brol identifier of reference Mediabrol.static String
Key used to retrieve or save the EducaBrol data path with theRememberHelper
helper class.static String
Key used to retrieve or save the data path type (local or roaming) with theRememberHelper
helper class.static String
-
Method Summary
Modifier and TypeMethodDescriptionstatic RememberHelper.StorageType
Returns the preferred data path type (local or roaming).
Default value isLOCAL
.
This uses thePROP_DATA_STORAGE_TYPE
constant to retrieve the value.static String
The 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_ROOT
constant to retrieve the value.static Person
getOwner()
static PersonDisplay
static void
savePersonDisplay(PersonDisplay personDisplay)
static void
setDataLocation(String dataLocation)
static void
static void
setPersonDisplay(PersonDisplay personDisplay)
-
Field Details
-
PROP_PERSON_DISPLAY
- See Also:
- Constant Field Values
-
DEFAULT_ROLE_ID
public 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_ROOT
Key used to retrieve or save the EducaBrol data path with theRememberHelper
helper class.- See Also:
- Constant Field Values
-
PROP_DATA_STORAGE_TYPE
Key used to retrieve or save the data path type (local or roaming) with theRememberHelper
helper class.- See Also:
- Constant Field Values
-
-
Method Details
-
getOwner
-
setOwner
-
getDataLocation
The 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_ROOT
constant to retrieve the value.- Returns:
- the data directory path
-
getDAOPrefType
Returns the preferred data path type (local or roaming).
Default value isLOCAL
.
This uses thePROP_DATA_STORAGE_TYPE
constant to retrieve the value.- Returns:
- StorageType
-
setDataLocation
-
getPersonDisplay
-
setPersonDisplay
-
savePersonDisplay
-