@Transactional public class PluginPropertyManagerGeneric extends Object implements PluginPropertyManager
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_PREFIX |
| Constructor and Description |
|---|
PluginPropertyManagerGeneric(PropertyDAO propertyDAO) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
findAll(String key) |
String |
getProperty(String key,
String name) |
void |
removeProperty(String key,
String name) |
void |
setProperties(String key,
Map<String,String> values)
Replaces all properties which have the given
key with a new collection. |
void |
setProperty(String key,
String name,
String value) |
public static final String KEY_PREFIX
public PluginPropertyManagerGeneric(PropertyDAO propertyDAO)
public String getProperty(String key, String name) throws ObjectNotFoundException
getProperty in interface PluginPropertyManagerObjectNotFoundExceptionpublic void setProperty(String key, String name, String value)
setProperty in interface PluginPropertyManagerpublic void setProperties(String key, Map<String,String> values)
PluginPropertyManagerkey with a new collection. What this means for
properties having the given key:
properties map will be removed.
properties map will be added.
properties map will be updated.
setProperties in interface PluginPropertyManagerkey - properties keyvalues - mapping of names to values of propertiespublic void removeProperty(String key, String name)
removeProperty in interface PluginPropertyManagerCopyright © 2024 Atlassian. All rights reserved.