Class PluginPropertyManagerGeneric
java.lang.Object
com.atlassian.crowd.manager.property.PluginPropertyManagerGeneric
- All Implemented Interfaces:
PluginPropertyManager
@Transactional
public class PluginPropertyManagerGeneric
extends Object
implements PluginPropertyManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key, String name) void
removeProperty
(String key, String name) void
setProperties
(String key, Map<String, String> values) Replaces all properties which have the givenkey
with a new collection.void
setProperty
(String key, String name, String value)
-
Field Details
-
KEY_PREFIX
- See Also:
-
-
Constructor Details
-
PluginPropertyManagerGeneric
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in interfacePluginPropertyManager
- Throws:
ObjectNotFoundException
-
setProperty
- Specified by:
setProperty
in interfacePluginPropertyManager
-
setProperties
Description copied from interface:PluginPropertyManager
Replaces all properties which have the givenkey
with a new collection. What this means for properties having the givenkey
:- All properties which are not present in the
properties
map will be removed. - New properties from the
properties
map will be added. - Existing properties which are also present in the
properties
map will be updated.
- Specified by:
setProperties
in interfacePluginPropertyManager
- Parameters:
key
- properties keyvalues
- mapping of names to values of properties
- All properties which are not present in the
-
removeProperty
- Specified by:
removeProperty
in interfacePluginPropertyManager
-
findAll
- Specified by:
findAll
in interfacePluginPropertyManager
-