Interface IConfiguration
- All Superinterfaces:
IElement,Serializable
ICatalog object.- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCatalog scope keysstatic interfaceThe common keysstatic interfaceProject scope keysstatic interfaceServer keysstatic interfaceDeprecated.Use ServerKeys instead -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a standard property by passing its key.getBigDecimalProperty(String key, BigDecimal defaultValue) Retrieves a standard property by passing its key.Retrieves a specific property by passing its key.getBigDecimalUserProperty(String key, BigDecimal defaultValue) Retrieves a specific property by passing its key.booleangetBooleanProperty(String key) Retrieves a standard property by passing its key.booleangetBooleanProperty(String key, boolean defaultValue) Retrieves a standard property by passing its key.booleanRetrieves a specific property by passing its key.booleangetBooleanUserProperty(String key, boolean defaultValue) Retrieves a specific property by passing its key.getCustomFile(String... path) give read access to a file inside the vdoc.ear/vdoc.war/WEB-INF/storage/customgetCustomFolder(String... path) Deprecated.doublegetDoubleProperty(String key) Retrieves a standard property by passing its key.doublegetDoubleProperty(String key, double defaultValue) Retrieves a standard property by passing its key.doubleRetrieves a specific property by passing its key.doublegetDoubleUserProperty(String key, double defaultValue) Retrieves a specific property by passing its key.floatgetFloatProperty(String key) Retrieves a standard property by passing its key.floatgetFloatProperty(String key, float defaultValue) Retrieves a standard property by passing its key.floatRetrieves a specific property by passing its key.floatgetFloatUserProperty(String key, float defaultValue) Retrieves a specific property by passing its key.intgetIntegerProperty(String key) Retrieves a standard property by passing its key.intgetIntegerProperty(String key, int defaultValue) Retrieves a standard property by passing its key.intRetrieves a specific property by passing its key.intgetIntegerUserProperty(String key, int defaultValue) Retrieves a specific property by passing its key.longgetLongProperty(String key) Retrieves a standard property by passing its key.longgetLongProperty(String key, long defaultValue) Retrieves a standard property by passing its key.longRetrieves a specific property by passing its key.longgetLongUserProperty(String key, long defaultValue) Retrieves a specific property by passing its key.Retrieves a specific property by passing its key.getObjectUserProperty(String key, Object defaultValue) Retrieves a specific property by passing its key.Retrieves all standard propertiesgetProperty(String key) Deprecated.use getStringProperty() method instead.String[]Retrieves standard property values by passing its key.getStringProperty(String key) Retrieves a standard property by passing its key.getStringProperty(String key, String defaultValue) Retrieves a standard property by passing its key.Retrieves a specific property by passing its key.getStringUserProperty(String key, String defaultValue) Retrieves a specific property by passing its key.Retreves all specific propertiesgetUserProperty(String key) Deprecated.use getStringUserProperty() method instead.Deprecated.
-
Method Details
-
getProperty
Deprecated.use getStringProperty() method instead.Retrieves a standard property by passing its keyThe system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A string value
-
getBooleanProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A boolean value
-
getBooleanProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A bool value
-
getDoubleProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A double value
-
getDoubleProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A double value
-
getBigDecimalProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A BigDecimal value
-
getBigDecimalProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A BigDecimal value
-
getFloatProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A float value
-
getFloatProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A float value
-
getIntegerProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A int value
-
getIntegerProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A int value
-
getLongProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A long value
-
getLongProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A long value
-
getStringProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key string- Returns:
- A String value
-
getStringProperty
Retrieves a standard property by passing its key.The system will search, first on the server level, and finally in the *.properties files.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A String value
-
getStringArrayProperty
Retrieves standard property values by passing its key.- Parameters:
key- The key string.- Returns:
- An array of
Stringobjects.
-
getProperties
Properties getProperties()Retrieves all standard properties- Returns:
- A
Propertiesobject
-
getUserProperty
Deprecated.use getStringUserProperty() method instead.Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A string value
-
getBooleanUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A bool value
-
getBooleanUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A bool value
-
getDoubleUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A double value
-
getDoubleUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A double value
-
getBigDecimalUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A BigDecimal value
-
getBigDecimalUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A BigDecimal value
-
getFloatUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A float value
-
getFloatUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A float value
-
getIntegerUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A int value
-
getIntegerUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A int value
-
getLongUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A long value
-
getLongUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A long value
-
getObjectUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A Object value
-
getObjectUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A Object value
-
getStringUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key string- Returns:
- A String value
-
getStringUserProperty
Retrieves a specific property by passing its key.The properties can be specified in the 'User parameters' either on the server or a catalog.
The system will search, first on the catalog level, then on the server level.
- Parameters:
key- The key stringdefaultValue- The default value- Returns:
- A String value
-
getUserProperties
Properties getUserProperties()Retreves all specific properties- Returns:
- A
Propertiesobject
-
getCustomFile
give read access to a file inside the vdoc.ear/vdoc.war/WEB-INF/storage/custom- Parameters:
path- the custom folder sub paths- Returns:
- An input stream for reading the resource, or null if the resource could not be found
- Throws:
IOException- IOException
-
getWARFolder
Deprecated.get the WAR folder absolute path.
This is deprecated because JEE specification don't allow Java file API.- Returns:
- the WAR folder absolute path
-
getCustomFolder
Deprecated.get a custom sub folder absolute path.
This is deprecated because JEE specification don't allow Java file API.- Parameters:
path- the custom folder sub paths- Returns:
- the custom sub folder absolute path
-
getProductVersion
IVersion getProductVersion()- Returns:
- an IVersion corresponding to the running moovapps-process version
-