Class PluginPropertyManagerGeneric

java.lang.Object
com.atlassian.crowd.manager.property.PluginPropertyManagerGeneric
All Implemented Interfaces:
PluginPropertyManager

public class PluginPropertyManagerGeneric extends Object implements PluginPropertyManager
  • Field Details

  • Constructor Details

    • PluginPropertyManagerGeneric

      public PluginPropertyManagerGeneric(com.atlassian.crowd.dao.property.InternalPropertyDAO propertyDAO, org.springframework.transaction.PlatformTransactionManager transactionManager)
  • Method Details

    • getProperty

      @Transactional(readOnly=true) public String getProperty(String key, String name) throws com.atlassian.crowd.exception.ObjectNotFoundException
      Specified by:
      getProperty in interface PluginPropertyManager
      Throws:
      com.atlassian.crowd.exception.ObjectNotFoundException
    • setProperty

      public void setProperty(String key, String name, String value)
      Specified by:
      setProperty in interface PluginPropertyManager
    • setProperties

      @Transactional public void setProperties(String key, Map<String,String> values)
      Description copied from interface: PluginPropertyManager
      Replaces all properties which have the given key with a new collection. What this means for properties having the given key:
      • 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 interface PluginPropertyManager
      Parameters:
      key - properties key
      values - mapping of names to values of properties
    • removeProperty

      @Transactional public void removeProperty(String key, String name)
      Specified by:
      removeProperty in interface PluginPropertyManager
    • findAll

      @Transactional(readOnly=true) public Map<String,String> findAll(String key)
      Specified by:
      findAll in interface PluginPropertyManager