|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationMgrIf
ConfigurationMgrIf Interface which an implementation of this manager must adhere to.
| Method Summary | |
|---|---|
void |
editConfiguration(java.lang.String key,
java.lang.String value)
Sets a Configuration Value for the specified key |
KKConfiguration |
getConfiguration(java.lang.String key)
Returns a Configuration object referenced by the key passed in as a parameter |
KKConfiguration[] |
getConfigurations()
Returns an array of Configuration objects containing all configurations that have been defined in the system. |
java.lang.String |
getConfigurationValue(java.lang.String key)
Returns a Configuration Value for the key passed in as a parameter |
java.math.BigDecimal |
getConfigurationValueAsBigDecimal(java.lang.String key)
Returns a Configuration Value as a BigDecimal for the key passed in as a parameter |
java.math.BigDecimal |
getConfigurationValueAsBigDecimal(java.lang.String key,
java.math.BigDecimal def)
Returns a Configuration Value as a BigDecimal for the key passed in as a parameter |
java.lang.Boolean |
getConfigurationValueAsBool(java.lang.String key,
java.lang.Boolean def)
Returns a Configuration Value as a Boolean for the key passed in as a parameter |
int |
getConfigurationValueAsInt(java.lang.String key)
Returns a Configuration Value as an integer for the key passed in as a parameter |
int |
getConfigurationValueAsInt(java.lang.String key,
int def)
Returns a Configuration Value as an integer for the key passed in as a parameter |
| Method Detail |
|---|
KKConfiguration[] getConfigurations()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKConfiguration getConfiguration(java.lang.String key)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
KKException
key -
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKException
java.lang.String getConfigurationValue(java.lang.String key)
throws KKException
key - the Configuration Key
KKException
int getConfigurationValueAsInt(java.lang.String key)
throws KKException
key - the Configuration Key
KKException - if there is a problem converting the configuration value into an integer.
int getConfigurationValueAsInt(java.lang.String key,
int def)
throws KKException
key - the Configuration Keydef - default value to return if the key isn't found.
KKException - if there is a problem converting the configuration value into an integer.
java.math.BigDecimal getConfigurationValueAsBigDecimal(java.lang.String key)
throws KKException
key - the Configuration Key
KKException - if there is a problem converting the configuration value into a BigDecimal.
java.math.BigDecimal getConfigurationValueAsBigDecimal(java.lang.String key,
java.math.BigDecimal def)
throws KKException
key - the Configuration Keydef - default value to use if the key doesn't exist.
KKException - if there is a problem converting the configuration value into a BigDecimal.
java.lang.Boolean getConfigurationValueAsBool(java.lang.String key,
java.lang.Boolean def)
throws KKException
key - the Configuration Keydef - the default value to be returned if there's a problem
KKException
void editConfiguration(java.lang.String key,
java.lang.String value)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
KKException
key - key whose value will be setvalue - value to set
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||