| org.kuali.core.service.KualiConfigurationService
All known Subclasses: org.kuali.core.service.impl.KualiConfigurationServiceImpl,
KualiConfigurationService | public interface KualiConfigurationService (Code) | | This interface defines methods that a KualiConfiguration Service must provide. Provides methods for getting string
resources.
|
Method Summary | |
public boolean | evaluateConstrainedValue(String namespaceCode, String detailTypeCode, String parameterName, String constrainedValue) | public Properties | getAllProperties() | public boolean | getIndicatorParameter(String namespaceCode, String detailTypeCode, String parameterName) | public Parameter | getParameter(String namespaceCode, String detailTypeCode, String parameterName) | public String | getParameterValue(String namespaceCode, String detailTypeCode, String parameterName) | public List<String> | getParameterValues(String namespaceCode, String detailTypeCode, String parameterName) This method returns a list of the parameter values split on implementation specific criteria. | public List<Parameter> | getParameters(Map<String, String> criteria) | public boolean | getPropertyAsBoolean(String key) Given a property name (key), returns the "booleanized" value associated with that key. | public String | getPropertyString(String key) Given a property name (key), returns the value associated with that key, or null if none is available. | public boolean | isProductionEnvironment() Returns whether this instance is production based on the configuration options. |
evaluateConstrainedValue | public boolean evaluateConstrainedValue(String namespaceCode, String detailTypeCode, String parameterName, String constrainedValue)(Code) | | This method determines whether the parameter values list constains the specified constrainedValue
|
getAllProperties | public Properties getAllProperties()(Code) | | Properties instance containing all (key,value) pairs known to the service |
getIndicatorParameter | public boolean getIndicatorParameter(String namespaceCode, String detailTypeCode, String parameterName)(Code) | | This method retrieves a parameter expected to have a Yes / no value and converts to a boolean for convenience
|
getParameter | public Parameter getParameter(String namespaceCode, String detailTypeCode, String parameterName)(Code) | | This method retrieves a parameter based on the primary key
|
getParameterValue | public String getParameterValue(String namespaceCode, String detailTypeCode, String parameterName)(Code) | | This method returns the value of the specified parameter
|
getParameterValues | public List<String> getParameterValues(String namespaceCode, String detailTypeCode, String parameterName)(Code) | | This method returns a list of the parameter values split on implementation specific criteria.
For the default KualiConfigurationServiceImpl, the split is on a semi-colon.
|
getPropertyAsBoolean | public boolean getPropertyAsBoolean(String key)(Code) | | Given a property name (key), returns the "booleanized" value associated with that key.
true, yes, on, or 1 are translated into true - all other values result in false
Parameters: key - String associated with the given key throws: IllegalArgumentException - if the key is null |
getPropertyString | public String getPropertyString(String key)(Code) | | Given a property name (key), returns the value associated with that key, or null if none is available.
Parameters: key - String associated with the given key throws: IllegalArgumentException - if the key is null |
isProductionEnvironment | public boolean isProductionEnvironment()(Code) | | Returns whether this instance is production based on the configuration options.
|
|
|