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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluginPropertyManagerGeneric(com.atlassian.crowd.dao.property.PropertyDAO propertyDAO) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key, String name) voidremoveProperty(String key, String name) voidsetProperties(String key, Map<String, String> values) Replaces all properties which have the givenkeywith a new collection.voidsetProperty(String key, String name, String value)
-
Field Details
-
KEY_PREFIX
- See Also:
-
-
Constructor Details
-
PluginPropertyManagerGeneric
public PluginPropertyManagerGeneric(com.atlassian.crowd.dao.property.PropertyDAO propertyDAO)
-
-
Method Details
-
getProperty
public String getProperty(String key, String name) throws com.atlassian.crowd.exception.ObjectNotFoundException - Specified by:
getPropertyin interfacePluginPropertyManager- Throws:
com.atlassian.crowd.exception.ObjectNotFoundException
-
setProperty
- Specified by:
setPropertyin interfacePluginPropertyManager
-
setProperties
Description copied from interface:PluginPropertyManagerReplaces all properties which have the givenkeywith a new collection. What this means for properties having the givenkey:- All properties which are not present in the
propertiesmap will be removed. - New properties from the
propertiesmap will be added. - Existing properties which are also present in the
propertiesmap will be updated.
- Specified by:
setPropertiesin interfacePluginPropertyManager- Parameters:
key- properties keyvalues- mapping of names to values of properties
- All properties which are not present in the
-
removeProperty
- Specified by:
removePropertyin interfacePluginPropertyManager
-
findAll
- Specified by:
findAllin interfacePluginPropertyManager
-