public abstract class RecentConfig extends ConfigurationObject implements java.io.Serializable
ARRAY_DELIMITER, cloned, configuration, DEFAULT_PROPERTY_VALUE_MAP, ERROR_MISSING_KEY, fromTenant, KEY_DELIMITER, LIST_ESC_CHAR, LIST_SEPARATOR, MODIFIER, PLACEHOLDER_SECRET, properties, returnCopyFromCache| Constructor and Description |
|---|
RecentConfig(org.apache.commons.configuration.Configuration configuration,
java.lang.String idPrefix,
java.lang.String objectId) |
| Modifier and Type | Method and Description |
|---|---|
void |
load()
Retrieves the latest version from the configuration store.
|
void |
save()
Saves the object back to the configuration store.
|
void |
setValues(com.ibm.json.java.JSONObject json,
boolean forceUpdate,
boolean isJSONModel) |
com.ibm.json.java.JSONObject |
toJSON()
Convert this configuration object to JSON object to be stream back to client.
|
void |
validateObjectId() |
addIdNameToJSONModel, addValueToList, arrayToString, arrayToString, clone, covertEmptyStringtoNull, createJSONModelField, createJSONModelToggleField, createJSONModelValidationField, delete, dump, fromJSONModel, getBooleanPropertyValue, getConfigurationObject, getDataType, getDataTypeValue, getDoublePropertyValue, getIdPrefix, getIntPropertyValue, getKey, getList, getLongPropertyValue, getMap, getName, getObjectId, getObjectIdAlias, getObjectType, getPropertyNames, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, hasProperties, isEmpty, isNew, performSyncedUpdate, propertiesToString, removeValuesFromList, removeValuesFromList, resetNonTenantSettings, returnCopyFromCache, setDefaultValue, setProperties, setProperty, setValues, setValues, setValues, skipThisPropertyWhenSaving, stringToArray, stringToList, toJSON, toJSONModel, toString, validate, writeConfigurationToFilepublic RecentConfig(org.apache.commons.configuration.Configuration configuration,
java.lang.String idPrefix,
java.lang.String objectId)
configuration - idPrefix - objectId - public void validateObjectId()
validateObjectId in class ConfigurationObjectpublic void load()
ConfigurationObjectload in class ConfigurationObjectpublic void save()
throws org.apache.commons.configuration.ConfigurationException
ConfigurationObjectsave in class ConfigurationObjectorg.apache.commons.configuration.ConfigurationExceptionpublic void setValues(com.ibm.json.java.JSONObject json,
boolean forceUpdate,
boolean isJSONModel)
setValues in class ConfigurationObjectpublic com.ibm.json.java.JSONObject toJSON()
ConfigurationObjecttoJSON in class ConfigurationObject