Class AllowHtmlAttributeConverter

java.lang.Object
sk.iway.iwcm.system.jpa.AllowHtmlAttributeConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<String,String>

public class AllowHtmlAttributeConverter extends Object implements javax.persistence.AttributeConverter<String,String>
Attribute konverter pre JPA beany ktory umozni pouzit HTML kod pouzitie: k fieldu ktory ma mat povoleny HTML kod zadajte anotaciu
  • Constructor Details

    • AllowHtmlAttributeConverter

      public AllowHtmlAttributeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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