public interface GenericConfigManager
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_DATA_KEY |
static String |
ENTITY_DATA_TYPE |
static String |
ENTITY_ID |
static String |
ENTITY_TABLE_NAME |
static String |
ENTITY_XML_VALUE |
Modifier and Type | Method and Description |
---|---|
void |
create(String dataType,
String key,
Object obj)
Stores a new entry for the config manager.
|
void |
remove(String dataType,
String key)
Removes a generic config value.
|
Object |
retrieve(String dataType,
String key)
Retrieves a particular entry.
|
void |
update(String dataType,
String key,
Object obj)
Updates an entry.
|
static final String ENTITY_TABLE_NAME
static final String ENTITY_ID
static final String ENTITY_DATA_TYPE
static final String ENTITY_DATA_KEY
static final String ENTITY_XML_VALUE
void create(String dataType, String key, @Nullable Object obj)
dataType
- The datatype for which to store the generic config (e.g.: DefaultValue)key
- A key that identifies the element (e.g.: 10000)obj
- The actual object to store.void update(String dataType, String key, @Nullable Object obj)
dataType
- The datatype for which to store the generic config (e.g.: DefaultValue)key
- A key that identifies the element (e.g.: 10000)obj
- The actual object to store.Object retrieve(String dataType, String key)
dataType
- The datatype for which to store the generic config (e.g.: DefaultValue)key
- A key that identifies the element (e.g.: 10000)Copyright © 2002-2015 Atlassian. All Rights Reserved.