Class ConfigJsonConverter

java.lang.Object
org.alfresco.event.gateway.ConfigJsonConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<Map<String,String>,String>

public class ConfigJsonConverter extends Object implements javax.persistence.AttributeConverter<Map<String,String>,String>
Json converter of configuration data of Subscription
  • Constructor Details

    • ConfigJsonConverter

      public ConfigJsonConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(Map<String,String> configAsMap)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Map<String,String>,String>
    • convertToEntityAttribute

      public Map<String,String> convertToEntityAttribute(String configAsString)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<Map<String,String>,String>