Interface AuditConversionService

All Known Implementing Classes:
AuditConversionServiceImpl

public interface AuditConversionService
Used for current time conversion from Date to CreatedDate, LastModifiedDate and DeletedDate field types.

Also converts current user to CreatedBy, LastModifiedBy and DeletedBy field types

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canConvert(Class<?> sourceType, Class<?> targetType)
     
    <T> T
    convert(Object source, Class<T> targetType)
     
  • Method Details

    • canConvert

      boolean canConvert(@Nullable Class<?> sourceType, Class<?> targetType)
      See Also:
      • ConversionService.canConvert(Class, Class)
    • convert

      @Nullable <T> T convert(@Nullable Object source, Class<T> targetType)
      See Also:
      • ConversionService.convert(Object, Class)