|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.manage.DatabaseManagerBase
public class DatabaseManagerBase
This is the base class that is able to read the properties from the user preferences file and write them down. The class requires another class that implements the user interface. The idea is that the user interface can be implemented in several programming languages while this class can be reused in the different GUI frameworks.
| Nested Class Summary | |
|---|---|
static class |
DatabaseManagerBase.DatabaseConfigurationInformationStatus
|
| Field Summary | |
|---|---|
static java.lang.String |
defaultPropertiesFileName
This is the default file name for the XBRLRepository configuration |
| Constructor Summary | |
|---|---|
DatabaseManagerBase(boolean bCreateDefault,
boolean bHasGUI)
Creates an instance of the DatabaseManagerBase using the default configuration file name |
|
DatabaseManagerBase(boolean bCreateDefault,
boolean bHasGUI,
java.lang.String propertiesFileName)
Creates an instance of the DatabaseManagerBase using the indicated file name |
|
| Method Summary | |
|---|---|
java.util.Properties |
getProperties()
Access back to the properties object. |
DatabaseManagerBase.DatabaseConfigurationInformationStatus |
getStatus()
|
void |
loadProperties(boolean bCreateDefault,
boolean bHasGUI)
If the parameter is true, a new file will be created with default values if the file is not found. |
void |
setProperties(java.util.Properties p)
Sets the properties to be used. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String defaultPropertiesFileName
| Constructor Detail |
|---|
public DatabaseManagerBase(boolean bCreateDefault,
boolean bHasGUI)
bCreateDefault - bHasGUI -
public DatabaseManagerBase(boolean bCreateDefault,
boolean bHasGUI,
java.lang.String propertiesFileName)
propertiesFileName - bCreateDefault - bHasGUI - | Method Detail |
|---|
public void loadProperties(boolean bCreateDefault,
boolean bHasGUI)
bCreateDefault - public DatabaseManagerBase.DatabaseConfigurationInformationStatus getStatus()
public java.util.Properties getProperties()
public void setProperties(java.util.Properties p)
p -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||