Interface IConfiguration
- All Superinterfaces:
- IElement,- Serializable
ICatalog object.- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCatalog scope keysstatic interfaceThe common keysstatic interfaceProject scope keysstatic interfaceServer keysstatic interfaceDeprecated.Use ServerKeys instead
- 
Method SummaryModifier 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- 
getPropertyDeprecated.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
 
- 
getBooleanPropertyRetrieves 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
 
- 
getBooleanPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A bool value
 
- 
getDoublePropertyRetrieves 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
 
- 
getDoublePropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A double value
 
- 
getBigDecimalPropertyRetrieves 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
 
- 
getBigDecimalPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A BigDecimal value
 
- 
getFloatPropertyRetrieves 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
 
- 
getFloatPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A float value
 
- 
getIntegerPropertyRetrieves 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
 
- 
getIntegerPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A int value
 
- 
getLongPropertyRetrieves 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
 
- 
getLongPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A long value
 
- 
getStringPropertyRetrieves 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
 
- 
getStringPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A String value
 
- 
getStringArrayPropertyRetrieves standard property values by passing its key.- Parameters:
- key- The key string.
- Returns:
- An array of Stringobjects.
 
- 
getPropertiesProperties getProperties()Retrieves all standard properties- Returns:
- A Propertiesobject
 
- 
getUserPropertyDeprecated.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
 
- 
getBooleanUserPropertyRetrieves 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
 
- 
getBooleanUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A bool value
 
- 
getDoubleUserPropertyRetrieves 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
 
- 
getDoubleUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A double value
 
- 
getBigDecimalUserPropertyRetrieves 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
 
- 
getBigDecimalUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A BigDecimal value
 
- 
getFloatUserPropertyRetrieves 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
 
- 
getFloatUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A float value
 
- 
getIntegerUserPropertyRetrieves 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
 
- 
getIntegerUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A int value
 
- 
getLongUserPropertyRetrieves 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
 
- 
getLongUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A long value
 
- 
getObjectUserPropertyRetrieves 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
 
- 
getObjectUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A Object value
 
- 
getStringUserPropertyRetrieves 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
 
- 
getStringUserPropertyRetrieves 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
- defaultValue- The default value
- Returns:
- A String value
 
- 
getUserPropertiesProperties getUserProperties()Retreves all specific properties- Returns:
- A Propertiesobject
 
- 
getCustomFilegive 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
 
- 
getWARFolderDeprecated.get the WAR folder absolute path.
 This is deprecated because JEE specification don't allow Java file API.- Returns:
- the WAR folder absolute path
 
- 
getCustomFolderDeprecated.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
 
- 
getProductVersionIVersion getProductVersion()- Returns:
- an IVersion corresponding to the running moovapps-process version
 
 
-