Interface IConfiguration
- All Superinterfaces:
IElement
,Serializable
ICatalog
object.- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Catalog scope keysstatic interface
The common keysstatic interface
Project scope keysstatic interface
Server keysstatic interface
Deprecated.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.boolean
getBooleanProperty
(String key) Retrieves a standard property by passing its key.boolean
getBooleanProperty
(String key, boolean defaultValue) Retrieves a standard property by passing its key.boolean
Retrieves a specific property by passing its key.boolean
getBooleanUserProperty
(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.double
getDoubleProperty
(String key) Retrieves a standard property by passing its key.double
getDoubleProperty
(String key, double defaultValue) Retrieves a standard property by passing its key.double
Retrieves a specific property by passing its key.double
getDoubleUserProperty
(String key, double defaultValue) Retrieves a specific property by passing its key.float
getFloatProperty
(String key) Retrieves a standard property by passing its key.float
getFloatProperty
(String key, float defaultValue) Retrieves a standard property by passing its key.float
Retrieves a specific property by passing its key.float
getFloatUserProperty
(String key, float defaultValue) Retrieves a specific property by passing its key.int
getIntegerProperty
(String key) Retrieves a standard property by passing its key.int
getIntegerProperty
(String key, int defaultValue) Retrieves a standard property by passing its key.int
Retrieves a specific property by passing its key.int
getIntegerUserProperty
(String key, int defaultValue) Retrieves a specific property by passing its key.long
getLongProperty
(String key) Retrieves a standard property by passing its key.long
getLongProperty
(String key, long defaultValue) Retrieves a standard property by passing its key.long
Retrieves a specific property by passing its key.long
getLongUserProperty
(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
String
objects.
-
getProperties
Properties getProperties()Retrieves all standard properties- Returns:
- A
Properties
object
-
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
Properties
object
-
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
-